Common R Scripts and Utilities Used by the Statnet Project Software


[Up] [Top]

Documentation for package ‘statnet.common’ version 3.3.0

Help Pages

$.control.list Named element accessor for ergm control lists
append.rhs.formula Functions for Querying, Validating and Extracting from ERGM Formulas
check.control.class Check if the class of the control list is one of those that can be used by the calling function
compress.data.frame "Compress" a data frame
ERRVL Return the first argument passed (out of any number) that is not a 'try-error' (result of 'try' encountering an error.
nonsimp.update.formula Functions for Querying, Validating and Extracting from ERGM Formulas
NVL Return the first argument passed (out of any number) that is not 'NULL'.
opttest Optionally test code depending on environment variable.
paste.and Concatenates the elements of a vector (optionaly enclosing them in quotation marks or parentheses) adding appropriate punctuation and unions.
print.control.list Pretty print the control list
set.control.class Set the class of the control list
sort.data.frame Implements a 'sort' method for 'data.frame', sorting it in lexicographic order.
statnet.cite.foot 'CITATION' file utilities for Statnet packages
statnet.cite.head 'CITATION' file utilities for Statnet packages
statnet.cite.pkg 'CITATION' file utilities for Statnet packages
statnetStartupMessage Construct a "standard" startup message to be printed when the package is loaded.
term.list.formula Functions for Querying, Validating and Extracting from ERGM Formulas
vector.namesmatch reorder vector v into order determined by matching the names of its elements to a vector of names