Learn R Programming

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

statnet.common (version 4.4.1)

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

4.4.1

License

GPL-3 + file LICENSE

Maintainer

Pavel N. Krivitsky

Last Published

October 3rd, 2020

Functions in statnet.common (4.4.1)

check.control.class

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

Utilities to help with deprecating functions.
compress_rows

A generic function to compress a row-weighted table
deInf

Truncate values of high magnitude in a vector.
all_identical

Test if all items in a vector or a list are identical.
control.list.accessor

Named element accessor for ergm control lists
control.remap

Overwrite control parameters of one configuration with another.
ERRVL

compress_rows.data.frame

"Compress" a data frame.
forkTimeout

Evaluate an R expression with a hard time limit by forking a process
opttest

Optionally test code depending on environment variable.
formula.utilities

Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
despace

A one-line function to strip whitespace from its argument.
set.control.class

Set the class of the control list
unwhich

Construct a logical vector with TRUE in specified positions.
rle-reexport

Functions reexported from rle They will no longer be reexported after the next release. Some Ops group methods are exported as well, since as of version 4.0.2, R's NextMethod() does not appear to be able to dispatch from a group member method to a group method.
ult

Extract or replace the ultimate (last) element of a vector or a list, or an element counting from the end.
persistEval

Evaluate an expression, restarting on error
mcmc-utilities

paste.and

Concatenates the elements of a vector (optionaly enclosing them in quotation marks or parentheses) adding appropriate punctuation and conjunctions.
print.control.list

Pretty print the control list
sweep_cols.matrix

Suptract a elements of a vector from respective columns of a matrix
logspace.utils

Utilities for performing calculations on logarithmic scale.
message_print

print objects to the message output.
NVL

trim_env

Make a copy of an environment with just the selected objects.
once

Evaluate a function once for a given input.
diff.control.list

Identify and the differences between two control lists.
order

Implement the sort and order methods for data.frame and matrix, sorting it in lexicographic order.
split.array

A split() method for array and matrix types on a margin.
wmatrix_weights

Set or extract weighted matrix row weights
statnet.cite

CITATION file utilities for Statnet packages (DEPRECATED)
vector.namesmatch

reorder vector v into order determined by matching the names of its elements to a vector of names
wmatrix

A data matrix with row weights
statnetStartupMessage

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