validGoinitObject {gogarch}R Documentation

Validation function for objects of class Goinit

Description

This function validates objects of class Goinit.

Usage

validGoinitObject(object)

Arguments

object

Object of class Goinit.

Details

This function is utilized by validObject(). It is tested whether object@V, object@P, object@Dsqr are square matrices; object@V coincides with the singular value decomposition.

Value

TRUE

Logical, TRUE if the object passes the validation, otherwise an informative error message is returned.

Author(s)

Bernhard Pfaff

See Also

Goinit, goinit

Examples

data(VDW)
go <- goinit(VDW)
validObject(go)

[Package gogarch version 0.7-5 Index]