as.ghype

0th

Percentile

Map list to ghype object

Manually map a list to a ghype object

Usage
as.ghype(object, ...)

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

# S3 method for 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)

  • list: Map list to ghype

  • nrm: Map list to ghype

Aliases
  • as.ghype
  • as.ghype.list
  • as.ghype.nrm
Examples
# NOT RUN {
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)

# }
Documentation reproduced from package ghypernet, version 1.0.0, License: AGPL-3

Community examples

Looks like there are no examples yet.