Learn R Programming

graphpcor (version 0.1.12)

treepcor-class: Set a tree whose nodes represent the two kind of variables: children and parent.

Description

Set a tree whose nodes represent the two kind of variables: children and parent.

Usage

# S3 method for treepcor
print(x, ...)

# S3 method for treepcor summary(object, ...)

# S3 method for treepcor dim(x, ...)

# S4 method for treepcor drop1(object)

# S4 method for treepcor edges(object, which, ...)

# S4 method for treepcor,ANY plot(x, y, ...)

# S3 method for treepcor prec(model, ...)

etreepcor2precision(d.el)

# S4 method for treepcor vcov(object, ...)

etreepcor2variance(d.el)

Arguments

x

treepcor object

...

usde to pass theta as a numeric vector with the model parameters

object

treepcor

which

not used (TO DO: )

y

not used

model

treepcor

d.el

list of the first n edges of a treepcor.

Methods (by generic)

  • drop1(treepcor): The drop1 method for a treepcor

  • edges(treepcor): Extract the edges of a treepcor to be used for plot

  • plot(x = treepcor, y = ANY): The plot method for a treepcor

  • vcov(treepcor): The vcov method for a treepcor

Functions

  • print(treepcor): The print method for a treepcor

  • summary(treepcor): The summary method for a treepcor

  • dim(treepcor): The dim for a treepcor

  • prec(treepcor): The prec for a treepcor

  • etreepcor2precision(): Internal function to extract elements to build the precision from the treepcor edges.

  • etreepcor2variance(): Internal function to extract elements to build the covariance matrix from a treepcor.