Package: simpr 0.2.6
simpr: Flexible 'Tidyverse'-Friendly Simulations
A general, 'tidyverse'-friendly framework for simulation studies, design analysis, and power analysis. Specify data generation, define varying parameters, generate data, fit models, and tidy model results in a single pipeline, without needing loops or custom functions.
Authors:
simpr_0.2.6.tar.gz
simpr_0.2.6.zip(r-4.5)simpr_0.2.6.zip(r-4.4)simpr_0.2.6.zip(r-4.3)
simpr_0.2.6.tgz(r-4.4-any)simpr_0.2.6.tgz(r-4.3-any)
simpr_0.2.6.tar.gz(r-4.5-noble)simpr_0.2.6.tar.gz(r-4.4-noble)
simpr_0.2.6.tgz(r-4.4-emscripten)simpr_0.2.6.tgz(r-4.3-emscripten)
simpr.pdf |simpr.html✨
simpr/json (API)
NEWS
# Install 'simpr' in R: |
install.packages('simpr', repos = c('https://statisfactions.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/statisfactions/simpr/issues
Last updated 4 months agofrom:bc63a84f46. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | OK | Nov 14 2024 |
R-4.5-linux | OK | Nov 14 2024 |
R-4.4-win | OK | Nov 14 2024 |
R-4.4-mac | OK | Nov 14 2024 |
R-4.3-win | OK | Nov 14 2024 |
R-4.3-mac | OK | Nov 14 2024 |
Exports:%>%add_countanti_joinapply_fitsarrangearrange_as.tblauto_copycollectcompletecomplete_computecountdefinedistinctdistinct_dodo_dplyr_col_modifydplyr_reconstructdplyr_row_slicedrop_nadrop_na_expandexpand_extractextract_fillfill_filterfilter_fitfull_joinfurrr_optionsgathergather_generateglance_fitsgroup_bygroup_by_group_datagroup_indicesgroup_indices_group_keysgroup_mapgroup_modifygroup_nestgroup_sizegroup_splitgroup_trimgroup_varsgroupsinner_joinintersectis.simpr_specleft_joinmutatemutate_n_groupsnestnest_bynest_joinnest_legacynew_simpr_specper_simpivot_longerpivot_widerpullrelocaterenamerename_rename_withreplace_naright_joinrows_deleterows_insertrows_patchrows_updaterows_upsertrowwisesame_srcsample_fracsample_nselectselect_semi_joinseparateseparate_separate_rowsseparate_rows_setdiffsetequalsliceslice_slice_headslice_maxslice_minslice_sampleslice_tailspecifyspreadspread_summarisesummarise_tallytbl_varstidy_fitstransmutetransmute_ungroupunionunion_alluniteunite_unnestunnest_legacywhole_tibble
Dependencies:backportsbroomclicodetoolscpp11digestdplyrfansifurrrfuturegenericsglobalsgluelifecyclelistenvmagrittrparallellypillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Managing simulation errors
Rendered fromsimulation-errors.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2022-01-08
Started: 2022-01-04
Optimization
Rendered fromoptimization.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2022-01-08
Started: 2022-01-06
Reproducing simulations
Rendered fromreproducibility.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2022-01-09
Started: 2022-01-06
simpr
Rendered fromsimpr.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2022-01-08
Started: 2022-01-06
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Run a given function or formula expression on a simpr_mod object and tidy the output. | apply_fits |
Define metaparameters to vary in simulation | define |
Fit models to the simulated data | fit.simpr_spec fit.simpr_tibble |
Generate simulated data from specification | generate.simpr_spec |
Create tibble of model "glances" (summaries) | glance_fits |
Work directly with simulation results with dplyr and tidyr | per_sim simpr_sims |
Methods for simpr_spec class | is.simpr_spec new_simpr_spec print.simpr_spec |
Specify data-generating mechanisms | specify.formula |
Tidy fits into a tidy tibble | tidy_fits |
Simpr methods for tidyverse verbs | add_count.simpr_sims add_count.simpr_spec anti_join.simpr_sims anti_join.simpr_spec arrange.simpr_sims arrange.simpr_spec arrange_.simpr_sims arrange_.simpr_spec as.tbl.simpr_sims as.tbl.simpr_spec auto_copy.simpr_sims auto_copy.simpr_spec collect.simpr_sims collect.simpr_spec complete.simpr_sims complete.simpr_spec complete_.simpr_sims complete_.simpr_spec compute.simpr_sims compute.simpr_spec count.simpr_sims count.simpr_spec distinct.simpr_sims distinct.simpr_spec distinct_.simpr_sims distinct_.simpr_spec do.simpr_sims do.simpr_spec do_.simpr_sims do_.simpr_spec dplyr_col_modify.simpr_sims dplyr_col_modify.simpr_spec dplyr_reconstruct.simpr_sims dplyr_reconstruct.simpr_spec dplyr_row_slice.simpr_sims dplyr_row_slice.simpr_spec drop_na.simpr_sims drop_na.simpr_spec drop_na_.simpr_sims drop_na_.simpr_spec expand.simpr_sims expand.simpr_spec expand_.simpr_sims expand_.simpr_spec extract.simpr_sims extract.simpr_spec extract_.simpr_sims extract_.simpr_spec fill.simpr_sims fill.simpr_spec fill_.simpr_sims fill_.simpr_spec filter.simpr_sims filter.simpr_spec filter_.simpr_sims filter_.simpr_spec full_join.simpr_sims full_join.simpr_spec gather.simpr_sims gather.simpr_spec gather_.simpr_sims gather_.simpr_spec groups.simpr_sims groups.simpr_spec group_by.simpr_sims group_by.simpr_spec group_by_.simpr_sims group_by_.simpr_spec group_data.simpr_sims group_data.simpr_spec group_indices.simpr_sims group_indices.simpr_spec group_indices_.simpr_sims group_indices_.simpr_spec group_keys.simpr_sims group_keys.simpr_spec group_map.simpr_sims group_map.simpr_spec group_modify.simpr_sims group_modify.simpr_spec group_nest.simpr_sims group_nest.simpr_spec group_size.simpr_sims group_size.simpr_spec group_split.simpr_sims group_split.simpr_spec group_trim.simpr_sims group_trim.simpr_spec group_vars.simpr_sims group_vars.simpr_spec inner_join.simpr_sims inner_join.simpr_spec intersect.simpr_sims intersect.simpr_spec left_join.simpr_sims left_join.simpr_spec mutate.simpr_sims mutate.simpr_spec mutate_.simpr_sims mutate_.simpr_spec nest.simpr_sims nest.simpr_spec nest_by.simpr_sims nest_by.simpr_spec nest_join.simpr_sims nest_join.simpr_spec nest_legacy.simpr_sims nest_legacy.simpr_spec n_groups.simpr_sims n_groups.simpr_spec pivot_longer.simpr_sims pivot_longer.simpr_spec pivot_wider.simpr_sims pivot_wider.simpr_spec pull.simpr_sims pull.simpr_spec relocate.simpr_sims relocate.simpr_spec rename.simpr_sims rename.simpr_spec rename_.simpr_sims rename_.simpr_spec rename_with.simpr_sims rename_with.simpr_spec replace_na.simpr_sims replace_na.simpr_spec right_join.simpr_sims right_join.simpr_spec rows_delete.simpr_sims rows_delete.simpr_spec rows_insert.simpr_sims rows_insert.simpr_spec rows_patch.simpr_sims rows_patch.simpr_spec rows_update.simpr_sims rows_update.simpr_spec rows_upsert.simpr_sims rows_upsert.simpr_spec rowwise.simpr_sims rowwise.simpr_spec same_src.simpr_sims same_src.simpr_spec sample_frac.simpr_sims sample_frac.simpr_spec sample_n.simpr_sims sample_n.simpr_spec select.simpr_sims select.simpr_spec select_.simpr_sims select_.simpr_spec semi_join.simpr_sims semi_join.simpr_spec separate.simpr_sims separate.simpr_spec separate_.simpr_sims separate_.simpr_spec separate_rows.simpr_sims separate_rows.simpr_spec separate_rows_.simpr_sims separate_rows_.simpr_spec setdiff.simpr_sims setdiff.simpr_spec setequal.simpr_sims setequal.simpr_spec slice.simpr_sims slice.simpr_spec slice_.simpr_sims slice_.simpr_spec slice_head.simpr_sims slice_head.simpr_spec slice_max.simpr_sims slice_max.simpr_spec slice_min.simpr_sims slice_min.simpr_spec slice_sample.simpr_sims slice_sample.simpr_spec slice_tail.simpr_sims slice_tail.simpr_spec spread.simpr_sims spread.simpr_spec spread_.simpr_sims spread_.simpr_spec summarise.simpr_sims summarise.simpr_spec summarise_.simpr_sims summarise_.simpr_spec tally.simpr_sims tally.simpr_spec tbl_vars.simpr_sims tbl_vars.simpr_spec tidyverse_verbs transmute.simpr_sims transmute.simpr_spec transmute_.simpr_sims transmute_.simpr_spec ungroup.simpr_sims ungroup.simpr_spec union.simpr_sims union.simpr_spec union_all.simpr_sims union_all.simpr_spec unite.simpr_sims unite.simpr_spec unite_.simpr_sims unite_.simpr_spec unnest.simpr_sims unnest.simpr_spec unnest_legacy.simpr_sims unnest_legacy.simpr_spec |
Convert a simpr_sims object back to a simpr_tibble | simpr_tibble whole_tibble |