Skip to contents

Distribution

These functions help to work with distributions.

Functional

These functions help to work with functions.

function_arguments()
Get function arguments
function_body()
Extract function body
function_defaults()
Get default function arguments
quiet()
Silence R code
try_silent()
Try an expression silently
variable_name()
Determine variable name

Indexing

These functions help to index objects.

Dictionary
Dictionary R6 Object
Storage
Storage R6 Object
map_indices()
Map indices
match_numerics()
Best-possible match of two numeric vectors
matrix_diagonal_indices()
Get indices of matrix diagonal
matrix_indices()
Get matrix indices
permutations()
Build permutations
subsets()
Generate vector subsets
vector_occurrence()
Find the positions of first or last occurrence of unique vector elements

Packaging

These functions help to build a package.

input_check_response()
Standardized response to input check
match_arg()
Argument matching
package_logo()
Creating a basic logo for an R package
print_data.frame()
Print (abbreviated) data.frame
print_matrix()
Print (abbreviated) matrix
unexpected_error()
Handling of an unexpected error

Simulation

These functions help to simulate something.

correlated_regressors()
Simulate correlated regressor values
do.call_timed()
Measure computation time
sample_correlation_matrix()
Sample correlation matrix
sample_covariance_matrix()
Sample covariance matrix
sample_transition_probability_matrix()
Sample transition probability matrices
simulate_markov_chain()
Simulate Markov chain
timed()
Interrupt long evaluations

Transformation

These functions help to transform an input.

chunk_vector()
Split a vector into chunks
cov_to_chol() chol_to_cov() unique_chol()
Cholesky root of covariance matrix
delete_columns_data.frame()
Deleting data.frame columns
diff_cov() undiff_cov() delta() M()
Difference and un-difference covariance matrix
group_data.frame()
Grouping of a data.frame
insert_matrix_column()
Insert column in matrix
insert_vector_entry()
Insert entry in vector
merge_lists()
Merge named lists
round_data.frame()
Round numeric columns of a data.frame
split_vector_at()
Split a vector at positions
stationary_distribution()
Stationary distribution

Validation

These functions help to validate an input.