Learn R Programming

⚠️There's a newer version (4.11.0) of this package.Take me there.

statnet.common (version 3.2.3)

Common R Scripts and Utilities Used by the Statnet Project Software

Description

Non-statistical utilities used by the software developed by the Statnet Project. They may also be of use to others.

Copy Link

Version

Install

install.packages('statnet.common')

Monthly Downloads

26,669

Version

3.2.3

License

GPL-3 + file LICENSE

Maintainer

Pavel N Krivitsky

Last Published

August 5th, 2015

Functions in statnet.common (3.2.3)

compress.data.frame

"Compress" a data frame
$.control.list

Named element accessor for ergm control lists
set.control.class

Set the class of the control list
statnet.cite

CITATION file utilities for Statnet packages
paste.and

Concatenates the elements of a vector (optionaly enclosing them in quotation marks or parentheses) adding appropriate punctuation and unions.
sort.data.frame

Implements a sort method for data.frame, sorting it in lexicographic order.
opttest

Optionally test code depending on environment variable.
ERRVL

print.control.list

Pretty print the control list
check.control.class

Check if the class of the control list is one of those that can be used by the calling function
statnetStartupMessage

Construct a "standard" startup message to be printed when the package is loaded.
NVL

Return the first argument passed (out of any number) that is not NULL.