Description Usage Arguments Details Value
Convert a character vector (a comma-separated string) specifying the parents of a response to a 'bvsresponse' object.
1 2 3 | ## S3 method for class 'character'
as.bvsresponse(x, response, nNodes,
...)
|
x |
A character string (possibly vector), a comma-separated list of the parents of the response. |
response |
An integer of length 1 specifying which node is the response. |
nNodes |
An integer of length 1 specifying the number of nodes in the variable selection. |
... |
Further arguments (unused) |
For example, as.bvsresponse("1,2,3", 4, 5) returns a 'bvsresponse' object with 5 nodes, with node 4 as response, and nodes 1, 2 and 3 as its parents.
If length(x) == 1: An object of class 'bvsresponse'. If length(x) > 1: A list of class "bvsresponse.list" containing a number of 'bvsresponse' objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.