Common R Scripts and Utilities Used by the Statnet Project Software


[Up] [Top]

Documentation for package ‘statnet.common’ version 4.2.0

Help Pages

A B C D E F I L M N O P R S T U V W misc

-- A --

all.rle RLE utilities
all_identical Test if all items in a vector or a list are identical.
any.rle RLE utilities
append.rhs.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
append_rhs.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
as.linwmatrix A data matrix with row weights
as.linwmatrix.linwmatrix A data matrix with row weights
as.linwmatrix.logwmatrix A data matrix with row weights
as.linwmatrix.matrix A data matrix with row weights
as.logwmatrix A data matrix with row weights
as.logwmatrix.linwmatrix A data matrix with row weights
as.logwmatrix.logwmatrix A data matrix with row weights
as.logwmatrix.matrix A data matrix with row weights
as.rle Coerce to 'rle' if not already an 'rle' object.
as.rle.default Coerce to 'rle' if not already an 'rle' object.
as.rle.rle Coerce to 'rle' if not already an 'rle' object.

-- B --

binop.rle RLE utilities

-- C --

c.rle RLE utilities
check.control.class Check if the class of the control list is one of those that can be used by the calling function
colMeans.mcmc.list Utility operations for 'mcmc.list' objects
compact.rle RLE utilities
compress.data.frame "Compress" a data frame.
compress_rows A generic function to compress a row-weighted table
compress_rows.linwmatrix A data matrix with row weights
compress_rows.logwmatrix A data matrix with row weights
control.list.accessor Named element accessor for ergm control lists
control.remap Overwrite control parameters of one configuration with another.

-- D --

decompress.data.frame "Compress" a data frame.
decompress_rows A generic function to compress a row-weighted table
decompress_rows.wmatrix A data matrix with row weights
deprecation-utilities Utilities to help with deprecating functions.
despace A one-line function to strip whitespace from its argument.

-- E --

ERRVL Return the first argument passed (out of any number) that is not a 'try-error' (result of 'try' encountering an error.
eval_lhs.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.

-- F --

filter_rhs.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
forkTimeout Evaluate an R expression with a hard time limit by forking a process
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.

-- I --

is.linwmatrix A data matrix with row weights
is.logwmatrix A data matrix with row weights
is.na.rle RLE utilities
is.wmatrix A data matrix with row weights

-- L --

lapply.mcmc.list Utility operations for 'mcmc.list' objects
length.rle RLE utilities
linwmatrix A data matrix with row weights
list_rhs.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
list_summands.call Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
logspace.utils Utilities for performing calculations on logarithmic scale.
logwmatrix A data matrix with row weights
log_mean_exp Utilities for performing calculations on logarithmic scale.
log_sum_exp Utilities for performing calculations on logarithmic scale.
lrowweights Set or extract weighted matrix row weights
lrowweights.linwmatrix Set or extract weighted matrix row weights
lrowweights.logwmatrix Set or extract weighted matrix row weights
lrowweights<- Set or extract weighted matrix row weights
lrowweights<-.linwmatrix Set or extract weighted matrix row weights
lrowweights<-.logwmatrix Set or extract weighted matrix row weights
lrowweights<-.matrix Set or extract weighted matrix row weights
lweighted.mean Utilities for performing calculations on logarithmic scale.
lweighted.var Utilities for performing calculations on logarithmic scale.

-- M --

mcmc-utilities Utility operations for 'mcmc.list' objects
mean.rle RLE utilities
message_print 'print' objects to the 'message' output.

-- N --

nonsimp.update.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
nonsimp_update.formula Functions for Querying, Validating and Extracting from Formulas A suite of utilities for handling model formulas of the style used in Statnet packages.
NVL Convenience functions for handling 'NULL' objects.
NVL2 Convenience functions for handling 'NULL' objects.
NVL3 Convenience functions for handling 'NULL' objects.
NVL<- Convenience functions for handling 'NULL' objects.

-- O --

opttest Optionally test code depending on environment variable.
order Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order.
order.data.frame Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order.
order.default Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order.
order.matrix Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order.

-- P --

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
print.linwmatrix A data matrix with row weights
print.logwmatrix A data matrix with row weights
print.wmatrix A data matrix with row weights

-- R --

rep.rle RLE utilities
rle.utils RLE utilities
rowweights Set or extract weighted matrix row weights
rowweights.linwmatrix Set or extract weighted matrix row weights
rowweights.logwmatrix Set or extract weighted matrix row weights
rowweights<- Set or extract weighted matrix row weights
rowweights<-.linwmatrix Set or extract weighted matrix row weights
rowweights<-.logwmatrix Set or extract weighted matrix row weights
rowweights<-.matrix Set or extract weighted matrix row weights

-- S --

set.control.class Set the class of the control list
sort.data.frame Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order.
statnet.cite 'CITATION' file utilities for Statnet packages (DEPRECATED)
statnet.cite.foot 'CITATION' file utilities for Statnet packages (DEPRECATED)
statnet.cite.head 'CITATION' file utilities for Statnet packages (DEPRECATED)
statnet.cite.pkg 'CITATION' file utilities for Statnet packages (DEPRECATED)
statnetStartupMessage Construct a "standard" startup message to be printed when the package is loaded.
sum.rle RLE utilities
sweep.mcmc.list Utility operations for 'mcmc.list' objects
sweep_cols.matrix Suptract a elements of a vector from respective columns of a matrix

-- T --

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

-- U --

ult Extract or replace the _ult_imate (last) element of a vector or a list, or an element counting from the end.
ult<- Extract or replace the _ult_imate (last) element of a vector or a list, or an element counting from the end.
unwhich Construct a logical vector with 'TRUE' in specified positions.

-- V --

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

-- W --

wmatrix A data matrix with row weights
wmatrix_weights Set or extract weighted matrix row weights

-- misc --

!.rle RLE utilities
!=.rle RLE utilities
$.control.list Named element accessor for ergm control lists
%%.rle RLE utilities
%/%.rle RLE utilities
&.rle RLE utilities
*.rle RLE utilities
+.rle RLE utilities
-.rle RLE utilities
.Deprecate_method Utilities to help with deprecating functions.
.Deprecate_once Utilities to help with deprecating functions.
/.rle RLE utilities
<.rle RLE utilities
<=.rle RLE utilities
==.rle RLE utilities
>.rle RLE utilities
>=.rle RLE utilities
[.wmatrix A data matrix with row weights
[<-.wmatrix A data matrix with row weights
^.rle RLE utilities
|.rle RLE utilities