Package: simdata 0.4.0

Michael Kammer

simdata: Generate Simulated Datasets

Generate simulated datasets from an initial underlying distribution and apply transformations to obtain realistic data. Implements the 'NORTA' (Normal-to-anything) approach from Cario and Nelson (1997) and other data generating mechanisms. Simple network visualization tools are provided to facilitate communicating the simulation setup.

Authors:Michael Kammer [aut, cre]

simdata_0.4.0.tar.gz
simdata_0.4.0.zip(r-4.5)simdata_0.4.0.zip(r-4.4)simdata_0.4.0.zip(r-4.3)
simdata_0.4.0.tgz(r-4.4-any)simdata_0.4.0.tgz(r-4.3-any)
simdata_0.4.0.tar.gz(r-4.5-noble)simdata_0.4.0.tar.gz(r-4.4-noble)
simdata_0.4.0.tgz(r-4.4-emscripten)simdata_0.4.0.tgz(r-4.3-emscripten)
simdata.pdf |simdata.html
simdata/json (API)
NEWS

# Install 'simdata' in R:
install.packages('simdata', repos = c('https://matherealize.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/matherealize/simdata/issues

On CRAN:

data-generationregressionsimulationstatistics

5.98 score 7 stars 1 packages 6 scripts 147 downloads 28 exports 12 dependencies

Last updated 4 months agofrom:e017f4aa0c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:as_function_listcolapply_functionscontains_constantcor_from_uppercor_to_covcor_to_upperdo_processingestimate_final_correlationfunction_listget_from_function_listget_names_from_function_listis_collinearis_cor_matrixoptimize_cor_matpartialplot_cor_networkplot_estimated_cor_networkprocess_truncate_by_iqrprocess_truncate_by_thresholdquantile_function_from_densityquantile_function_from_quantilesquantile_functions_from_datasimdesignsimdesign_discunifsimdesign_mvtnormsimdesign_nortasimulate_datasimulate_data_conditional

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixmvtnormpkgconfigrlangvctrs

simdata: A package for creating simulated datasets

Rendered fromDemo.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2024-06-26
Started: 2019-11-26

simdata: NORTA based simulation designs

Rendered fromNORTA_demo.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2024-06-26
Started: 2021-07-05

simdata: Technical documentation

Rendered fromTechnical_documentation.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2021-07-05
Started: 2021-07-05

Readme and manuals

Help Manual

Help pageTopics
Helper to apply functionsapply_array
Create 'function_list' object from list of functionsas_function_list
Apply list of functions to column of objectcolapply_functions
Check if matrix contains constant column(s)contains_constant
Build correlation matrixcor_from_upper
Convert correlation matrix to covariance matrixcor_to_cov
Convert correlation matrix to specification used by 'cor_from_upper'cor_to_upper
Post-processing of datamatrixdo_processing
Estimate correlation matrix via simulationestimate_final_correlation
Apply list of functions to inputfunction_list
Extract individual functions from 'function_list'get_from_function_list
Extract names of individual functions from 'function_list'get_names_from_function_list
Check if matrix is collinearis_collinear
Check if matrix is a correlation matrixis_cor_matrix
Find pairwise initial correlation for NORTA from target correlationoptimize_cor_for_pair
Find initial correlation matrix for NORTA from target correlationoptimize_cor_mat
Define partial functionpartial
Visualize fixed correlation structure as a networkplot_cor_network plot_cor_network.default plot_cor_network.simdesign_mvtnorm
Visualize estimated correlation matrix as a networkplot_estimated_cor_network
Truncate columns of datamatrix at datamatrix specific thresholdsprocess_truncate_by_iqr
Truncate columns of datamatrix at specified thresholdsprocess_truncate_by_threshold
Helper to estimate quantile functions from data for NORTAquantile_functions_from_data quantile_function_from_density quantile_function_from_quantiles
Design specification for simulating datasetssimdesign
Uniform disc sampling design specificationsimdesign_discunif
Multivariate normal design specificationsimdesign_mvtnorm
NORTA-based design specificationsimdesign_norta
Simulate design matrixsimulate_data simulate_data.default simulate_data.simdesign
Simulate data which satisfies certain conditionssimulate_data_conditional