Learn R Programming

pnea (version 1.2.4)

print.pnea: Print method of pnea

Description

print method for class "pnea".

Usage

"print"(x, nrows=10, ...)

Arguments

x
An object of class "pnea"
nrows
Maximum number of results to print (default is 10). It can be either an integer number or "ALL"
...
Further arguments passed to or from other methods

Value

nrows tests contained in a pnea object.

See Also

pnea, plot.pnea, summary.pnea

Examples

Run this code
A = matrix(0, nrow=7, ncol=7)
A[1,c(2,3)]=1; A[2,c(5,7)]=1;A[3,c(1,4)]=1;A[4,c(2,5,7)]=1;A[6,c(2,5)]=1;A[7,4]=1

labels = letters[1:7]
set1 = c('a','e')
set2 = c('c','g')
set3 = c('d','f')
alist = list('set 1' = set1, 'set 2' = set2)
blist = list('set 3' = set3)

test = pnea(alist, blist, network=A, nettype='directed', nodes=labels, alpha=0.05)
print(test)

Run the code above in your browser using DataLab