as.ghype: Map list to ghype object

Description Usage Arguments Value Methods (by class) Examples

View source: R/ghype.R

Description

Manually map a list to a ghype object

Usage

1
2
3
4
5
6
7
as.ghype(object, ...)

## S3 method for class 'list'
as.ghype(object, ...)

## S3 method for class 'nrm'
as.ghype(object, ...)

Arguments

object

list object to map to ghype.

...

additional arguments to be passed to logl function.

Value

an object of class "ghype"

Methods (by class)

Examples

1
2
3
4
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)

ghypernet documentation built on Jan. 8, 2021, 2:05 a.m.