validGoinitObject: Validation function for objects of class Goinit

View source: R/Validation.R

validGoinitObjectR 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)

gogarch documentation built on April 28, 2022, 3 p.m.