as.ghype | R Documentation |
Manually map a list to a ghype object
as.ghype(object, ...)
## S3 method for class 'list'
as.ghype(object, ...)
## S3 method for class 'nrm'
as.ghype(object, ...)
object |
list object to map to ghype. |
... |
additional arguments to be passed to logl function. |
an object of class "ghype"
as.ghype(list)
: Map list to ghype
as.ghype(nrm)
: Map list to ghype
ll <- list(call = NULL, 'adj' = NULL, 'xi'= matrix(36,4,4), 'omega' = matrix(1,4,4),
'n' = 4, 'm' = 12, 'directed' = TRUE, 'selfloops' = TRUE,
'regular' = TRUE, 'unbiased' = TRUE, 'df' = 1)
model <- as.ghype(ll)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.