is.valid.bvs: Check validity.

Description Usage Arguments Value

View source: R/class.R

Description

Checks whether the supplied 'bvs' is valid. Tests that the parents are sorted correctly, are of storage.mode() == "integer". Additionally tests that there is a unique response.

Usage

1
2
  ## S3 method for class 'bvs'
 is.valid(x)

Arguments

x

A object of class 'bvs'

Value

A logical of length 1 indicating whether x is a valid 'bvs' object.


rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.