as.gRapHD {gRapHD}R Documentation

Coerce to an object of type "gRapHD".

Description

Methods for class gRapHD.

Usage

  ## S3 method for class 'gRapHD':
  as(object,...)

Arguments

object list of edges: NULL, or integer with dimension (k,2).
... further arguments passed to or from other methods.

Details

... can have:
p - number of variables (vertices) in the model.
stat - measure used (LR, AIC, or BIC).
statSeq - vector with -2(log-likelihood) for each edge.
varType - vector indicating the type of each variable: 0 if continuous, or 1 if discrete.
numCat - vector with number of levels for each variable (0 if continuous).
homog - TRUE if the covariance is homogeneous.
numP - vector with number of estimated parameters for each edge.

Author(s)

Gabriel Coelho Goncalves de Abreu (Gabriel.Abreu@agrsci.dk)
Rodrigo Labouriau (Rodrigo.Labouriau@agrsci.dk)
David Edwards (David.Edwards@agrsci.dk)

Examples

  as.gRapHD(NULL)
  as.gRapHD(matrix(integer(0),,2))
  as.gRapHD(matrix(integer(0),,2),p=10,stat="BIC",homog=FALSE)

[Package gRapHD version 0.1.0 Index]