Learn R Programming

multiplex (version 2.3)

pacnet: Read Output from Pacnet

Description

A function to read output files from the Pacnet program with the full factorization option.

Usage

pacnet(file, toarray = FALSE, uniq = FALSE, transp = FALSE, prsep)

Arguments

file
character vector containing a file name or path
toarray
(logical) should the induced inclusions be transformed into arrays?
uniq
(logical) should only be considered the induced inclusions that are unique?
transp
(logical) should the partially ordered structures be transposed?
prsep
(optional) pair separator

Value

An object of the `Pacnet' class with items:

Details

This function is used to read the output file from the Pacnet program, which typically has the .out extension. By default the result is given in a list format, but it is possible to transform the pair lists into arrays. Note that the options in the Pacnet program should include the full factorization in the output; otherwise the object will be NULL.

References

Pattison, P., S. Wasserman, G. Robins and A.M. Kanfer `Statistical Evaluation of Algebraic Constraints for Social Networks,' Journal of Mathematical Psychology, 44, 536-568. 2000

See Also

pi.rels, cngr, decomp, write.dat