graph_prop: Graph Prop

Description Usage Arguments Value Examples

View source: R/Graph.R

Description

Computes the value of boolean property on an estimated conditional independence graph.

Usage

1
2
3
4
graph_prop(x, sigmaHat, thetaHat, prop = c("connectivity", "longest_chain",
  "max_degree", "largest_clique", "chromatic_number", "num_singletons", "girth",
  "matching", "planarity", "bipartite", "acyclic"), k = 1, numB = 1000,
  alpha = 0.05)

Arguments

x

A sample of data

sigmaHat

A sample covariance matrix for x

thetaHat

A sample precision matrix estimated from sigmaHat

prop

The monotone graph property to examine

k

The value to threshold numeric tests at

numB

The number of bootstrap samples to take Default: 1000

alpha

The significance level for the property test Default: 0.05

Value

The value of prop with sig. level alpha

Examples

1
2
data(Xs,cov.hat,t.hat)
graph_prop(x=Xs,sigmaHat=cov.hat,thetaHat=t.hat,prop="conn",k=5)

GraphKit documentation built on May 29, 2017, 5:56 p.m.