Package index
-
ERRVL()ERRVL2()ERRVL3() - Attempt a series of statements and return the first one that is not an error.
-
NVL()NVL2()NVL3()EVL()EVL2()EVL3()`NVL<-`()`EVL<-`() - Convenience functions for handling
NULLobjects. -
Welford()update(<Welford>) - A Welford accumulator for sample mean and variance
-
all_identical() - Test if all items in a vector or a list are identical.
-
arr_from_coo()arr_to_coo() - Conveniently covert between coordinate-value and array representations
-
as.control.list() - Convert to a control list.
-
attr() - A wrapper for base::attr which defaults to exact matching.
-
check.control.class() - Ensure that the class of the control list is one of those that can be used by the calling function
-
compress_rows()decompress_rows() - A generic function to compress a row-weighted table
-
compress_rows(<data.frame>)decompress_rows(<compressed_rows_df>) - "Compress" a data frame.
-
`$`(<control.list>) - Named element accessor for ergm control lists
-
control.remap() - Overwrite control parameters of one configuration with another.
-
deInf() - Truncate values of high magnitude in a vector.
-
default_options() - Set
options()according to a named list, skipping those already set. -
.Deprecate_once().Deprecate_method() - Utilities to help with deprecating functions.
-
despace() - A one-line function to strip whitespace from its argument.
-
diff(<control.list>)print(<diff.control.list>) - Identify and the differences between two control lists.
-
empty_env()base_env() - Replace an object's environment with a simple, static environment.
-
enlist() - Wrap an object into a singleton list if not already a list
-
envir()`envir<-`() - A generic for querying and setting an object's environment
-
fixed.pval() - Format a p-value in fixed notation.
-
forkTimeout() - Evaluate an R expression with a hard time limit by forking a process
-
append_rhs.formula()append.rhs.formula()filter_rhs.formula()nonsimp_update.formula()nonsimp.update.formula()term.list.formula()list_summands.call()list_rhs.formula()eval_lhs.formula() - Functions for Querying, Validating and Extracting from Formulas
-
handle.controls() - Handle standard
control.*()function semantics. -
is.SPD() - Test if the object is a matrix that is symmetric and positive definite
-
locate_function()locate_prefixed_function() - Locate a function with a given name and return it and its environment.
-
log_sum_exp()log_mean_exp()lweighted.mean()lweighted.var()lweighted.cov()log1mexp() - Utilities for performing calculations on logarithmic scale.
-
match_names() - Construct a named vector with semantics useful for parameter vectors
-
colMeans.mcmc.list()var.mcmc.list()sweep.mcmc.list()lapply.mcmc.list() - Utility operations for
mcmc.listobjects -
message_print() printobjects to themessageoutput.-
modify_in_place() - Modify the argument in the calling environment of the calling function
-
once() - Evaluate a function once for a given input.
-
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 conjunctions.
-
persistEval()persistEvalQ() - Evaluate an expression, restarting on error
-
print(<control.list>) - Pretty print the control list
-
replace()`replace<-`() - Replace values in a vector according to functions
-
set.control.class() - Set the class of the control list
-
set_diag() - Return the matrix with diagonal set to a specified value
-
`sign<-`() - A generic for setting the sign of an object
-
simplify_simple() - Convert a list to an atomic vector if it consists solely of atomic elements of length 1.
-
skip_if_not_checking() - Skip a test if not called via
R CMDcheck -
snctrl_names()update_snctrl()collate_controls()UPDATE_MY_SCTRL_EXPRCOLLATE_ALL_MY_CONTROLS_EXPR - Helper functions used by packages to facilitate
snctrlupdating. -
snctrl() - Statnet Control
-
order()sort(<data.frame>) - Implement the
sortandordermethods fordata.frameandmatrix, sorting it in lexicographic order. -
split(<array>)split(<matrix>) - A
split()method forarrayandmatrixtypes on a margin. -
split_len() - Split a list or some other
split()-able object by lengths -
ssolve()sginv()ginv_eigen()xTAx_seigen()srcond()snearPD()xTAx_ssolve()xTAx_qrssolve()sandwich_ssolve()qrssolve()qrsolve()sandwich_qrssolve()sandwich_qrsolve() - Wrappers around matrix algebra functions that pre-scale their arguments
-
statnet.cite.head()statnet.cite.foot()statnet.cite.pkg() CITATIONfile utilities for Statnet packages (DEPRECATED)-
statnetStartupMessage() - Construct a "standard" startup message to be printed when the package is loaded.
-
sweep_cols.matrix() - Suptract a elements of a vector from respective columns of a matrix
-
term_list()as.term_list()c(<term_list>)`[`(<term_list>)print(<term_list>)sign(<term_list>)`sign<-`(<term_list>)envir(<term_list>)`envir<-`(<term_list>) - A helper class for list of terms in an formula
-
trim_env() - Make a copy of an environment with just the selected objects.
-
ult()`ult<-`() - Extract or replace the ultimate (last) element of a vector or a list, or an element counting from the end.
-
unused_dots_warning() - An error handler for
rlang::check_dots_used()that issues a warning that only lists argument names. -
unwhich() - Construct a logical vector with
TRUEin specified positions. -
vector.namesmatch() - reorder vector v into order determined by matching the names of its elements to a vector of names
-
which_top_n() - Top or bottom
nelements of a vector -
logwmatrix()linwmatrix()is.wmatrix()is.logwmatrix()is.linwmatrix()as.linwmatrix()as.logwmatrix()print(<wmatrix>)print(<logwmatrix>)print(<linwmatrix>)compress_rows(<logwmatrix>)compress_rows(<linwmatrix>)decompress_rows(<wmatrix>)`[`(<wmatrix>)`[<-`(<wmatrix>) - A data matrix with row weights
-
rowweights()lrowweights()`rowweights<-`()`lrowweights<-`() - Set or extract weighted matrix row weights
-
xTAx()xAxT()xTAx_solve()xTAx_qrsolve()sandwich_solve()xTAx_eigen()sandwich_sginv()sandwich_ginv() - Common quadratic forms