as.bvsresponse.bvs: Convert a 'bvs' object to a 'bvsresponse' object.

Description Usage Arguments Value

View source: R/convert.R

Description

A 'bvs' object is a full 'parental' object, whereas a 'bvsresponse' object is smaller object designed specifically for fast MCMC iterations.

Usage

1
2
  ## S3 method for class 'bvs'
 as.bvsresponse(x, response, ...)

Arguments

x

An object of class 'bvsresponse'

response

An integer of length 1 specifying which node is the response. This is not required, except for the empty graph.

...

Further arguments (unused)

Value

An object of class 'bvsresponse'.


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