Test if all items in a vector or a list are identical. | all_identical |
Convert to a control list. | as.control.list as.control.list.control.list as.control.list.list |
A wrapper for base::attr which defaults to exact matching. | attr |
Ensure that the class of the control list is one of those that can be used by the calling function | check.control.class |
A generic function to compress a row-weighted table | compress_rows decompress_rows |
"Compress" a data frame. | compress_rows.data.frame decompress_rows.compressed_rows_df |
Named element accessor for ergm control lists | $.control.list control.list.accessor |
Overwrite control parameters of one configuration with another. | control.remap |
Set 'options()' according to a named list, skipping those already set. | default_options |
Truncate values of high magnitude in a vector. | deInf |
Utilities to help with deprecating functions. | .Deprecate_method .Deprecate_once deprecation-utilities |
A one-line function to strip whitespace from its argument. | despace |
Identify and the differences between two control lists. | diff.control.list print.diff.control.list |
Replace an object's environment with a simple, static environment. | base_env empty_env |
Return the first argument passed (out of any number) that is not a 'try-error' (result of 'try' encountering an error. | ERRVL |
Format a p-value in fixed notation. | fixed.pval |
Evaluate an R expression with a hard time limit by forking a process | forkTimeout |
Functions for Querying, Validating and Extracting from Formulas | append.rhs.formula append_rhs.formula eval_lhs.formula filter_rhs.formula formula.utilities list_rhs.formula list_summands.call nonsimp.update.formula nonsimp_update.formula term.list.formula |
Handle standard control.*() function semantics. | handle.controls |
Test if the object is a matrix that is symmetric and positive definite | is.SPD |
Locate a function with a given name and return it and its environment. | locate_function locate_prefixed_function |
Utilities for performing calculations on logarithmic scale. | logspace.utils log_mean_exp log_sum_exp lweighted.cov lweighted.mean lweighted.var |
Utility operations for 'mcmc.list' objects | colMeans.mcmc.list lapply.mcmc.list mcmc-utilities sweep.mcmc.list var.mcmc.list |
'print' objects to the 'message' output. | message_print |
Convenience functions for handling 'NULL' objects. | EVL EVL2 EVL3 EVL<- NVL NVL2 NVL3 NVL<- |
Evaluate a function once for a given input. | once |
Optionally test code depending on environment variable. | opttest |
Implement the 'sort' and 'order' methods for 'data.frame' and 'matrix', sorting it in lexicographic order. | order order.data.frame order.default order.matrix sort.data.frame |
Concatenates the elements of a vector (optionaly enclosing them in quotation marks or parentheses) adding appropriate punctuation and conjunctions. | paste.and |
Evaluate an expression, restarting on error | persistEval persistEvalQ |
Pretty print the control list | print.control.list |
Set the class of the control list | set.control.class |
Convert a list to an atomic vector if it consists solely of atomic elements of length 1. | simplify_simple |
Statnet Control | snctrl |
Helper functions used by packages to facilitate 'snctrl' updating. | COLLATE_ALL_MY_CONTROLS_EXPR collate_controls snctrl-API snctrl_names UPDATE_MY_SCTRL_EXPR update_snctrl |
A 'split()' method for 'array' and 'matrix' types on a margin. | split.array split.matrix |
Wrappers around matrix algebra functions that pre-_s_cale their arguments | ginv_eigen sandwich_ssolve sginv snearPD srcond ssolve xTAx_qrssolve xTAx_seigen xTAx_ssolve |
'CITATION' file utilities for Statnet packages (DEPRECATED) | statnet.cite statnet.cite.foot statnet.cite.head statnet.cite.pkg |
Construct a "standard" startup message to be printed when the package is loaded. | statnetStartupMessage |
Suptract a elements of a vector from respective columns of a matrix | sweep_cols.matrix |
A helper class for list of terms in an formula | as.term_list as.term_list.default as.term_list.term_list c.term_list print.term_list term_list [.term_list |
Make a copy of an environment with just the selected objects. | trim_env trim_env.default trim_env.environment |
Extract or replace the _ult_imate (last) element of a vector or a list, or an element counting from the end. | ult ult<- |
An error handler for 'rlang::check_dots_used()' that issues a warning that only lists argument names. | unused_dots_warning |
Construct a logical vector with 'TRUE' in specified positions. | unwhich |
reorder vector v into order determined by matching the names of its elements to a vector of names | vector.namesmatch |
A Welford accumulator for sample mean and variance | update.Welford Welford |
A data matrix with row weights | as.linwmatrix as.linwmatrix.linwmatrix as.linwmatrix.logwmatrix as.linwmatrix.matrix as.logwmatrix as.logwmatrix.linwmatrix as.logwmatrix.logwmatrix as.logwmatrix.matrix compress_rows.linwmatrix compress_rows.logwmatrix decompress_rows.wmatrix is.linwmatrix is.logwmatrix is.wmatrix linwmatrix logwmatrix print.linwmatrix print.logwmatrix print.wmatrix wmatrix [.wmatrix [<-.wmatrix |
Set or extract weighted matrix row weights | lrowweights lrowweights.linwmatrix lrowweights.logwmatrix lrowweights<- lrowweights<-.linwmatrix lrowweights<-.logwmatrix lrowweights<-.matrix rowweights rowweights.linwmatrix rowweights.logwmatrix rowweights<- rowweights<-.linwmatrix rowweights<-.logwmatrix rowweights<-.matrix wmatrix_weights |
Common quadratic forms | sandwich_solve xAxT xTAx xTAx_eigen xTAx_qrsolve xTAx_solve |