Package: dvmisc 1.1.5

dvmisc: Convenience Functions, Moving Window Statistics, and Graphics

Collection of functions for running and summarizing statistical simulation studies, creating visualizations (e.g. CART Shiny app, histograms with fitted probability mass/density functions), calculating moving-window statistics efficiently, and performing common computations.

Authors:Dane R. Van Domelen

dvmisc_1.1.5.tar.gz
dvmisc_1.1.5.zip(r-4.5)dvmisc_1.1.5.zip(r-4.4)dvmisc_1.1.5.zip(r-4.3)
dvmisc_1.1.5.tgz(r-4.4-x86_64)dvmisc_1.1.5.tgz(r-4.4-arm64)dvmisc_1.1.5.tgz(r-4.3-x86_64)dvmisc_1.1.5.tgz(r-4.3-arm64)
dvmisc_1.1.5.tar.gz(r-4.5-noble)dvmisc_1.1.5.tar.gz(r-4.4-noble)
dvmisc_1.1.5.tgz(r-4.4-emscripten)dvmisc_1.1.5.tgz(r-4.3-emscripten)
dvmisc.pdf |dvmisc.html
dvmisc/json (API)

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

Peer review:

Bug tracker:https://github.com/vandomed/dvmisc/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

aicbmihistogramsmiscellaneous

6.14 score 1 stars 8 packages 115 scripts 649 downloads 63 exports 92 dependencies

Last updated 4 years agofrom:a4c5a9094a. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-win-x86_64NOTENov 04 2024
R-4.5-linux-x86_64NOTENov 04 2024
R-4.4-win-x86_64NOTENov 04 2024
R-4.4-mac-x86_64NOTENov 04 2024
R-4.4-mac-aarch64NOTENov 04 2024
R-4.3-win-x86_64NOTENov 04 2024
R-4.3-mac-x86_64NOTENov 04 2024
R-4.3-mac-aarch64NOTENov 04 2024

Exports:bmi3bmi4cart_appclean_glmcleancutcreate_qgroupscreate_qgroups_svycut_decreasingdots_barsexpand_gridgammaregget_msegg_facebookgg_quicksavegg_twitterheadtailhistoinsideinterval_groupsiteratelist_overridelogit_problognormalreglogodds_graphmax_nmean_imeans_graphmin_nmle_gammamle_gamma_lnormmle_lnormmle_lnorm_lnormmoving_meann_2t_equaln_2t_unequalodds_probplot_llpooled_varpower_2t_equalpower_2t_unequalprob_logitprob_oddsquant_groupsquant_groups_svyralreverse_cutsliding_corsliding_covsnipsum_isumsimtrimtruerangewhich_max_imwhich_max_ivwhich_max_nmwhich_max_nvwhich_min_imwhich_min_ivwhich_min_nmwhich_min_nvwhich.max2which.min2

Dependencies:base64encbitopsbslibcachemclicolorspacecommonmarkcpp11crayoncubaturedata.tabledatawizardDBIdigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhtmltoolshttpuvinsightisobandjquerylibjsonlitekableExtraknitrlabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimeminqamitoolsmunsellmvtnormnlmenumDerivpillarpkgconfigpracmapromisespurrrR6rappdirsrattlerbenchmarkRColorBrewerRcppRcppArmadillorlangrmarkdownrpartrpart.plotrstudioapisassscalesshinysjlabelledsourcetoolsstringistringrsurveysurvivalsvglitesystemfontstabtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunXMLxml2xtableyaml

Convenience Functions, Moving Window Statistics, and Graphics

Rendered fromdvmisc.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2018-03-24
Started: 2018-03-21

Readme and manuals

Help Manual

Help pageTopics
Convert Continuous BMI Values into 3-Level Factorbmi3
Convert Continuous BMI Values into 4-Level Factorbmi4
Shiny App Interface with rpart::rpartcart_app
Create a Clean Summary Table from a glm Objectclean_glm
Convert Numeric to Factor with Convenient Interfacecleancut
Create Quantile Groupscreate_qgroups
Create Quantile Groups (Complex Survey Data)create_qgroups_svy
Cut with Decreasing Factor Levelscut_decreasing
Plot Points +/- Error Barsdots_bars
Convenience Functions, Moving Window Statistics, and Graphicsdvmisc
Similar to expand.grid but with Sequences Reversed and Ability to Treat Variables as Setsexpand_grid
Constant-Scale Gamma Model for Y vs. Covariates with Y Potentially Subject to Multiplicative Lognormal Errorsgammareg
Extract Mean Squared Error (MSE) from Fitted Regression Modelget_mse
Quickly Format and Save a ggplot Object for Posting to Facebookgg_facebook
Quickly Format and Save a ggplot Object with Reasonable Defaultsgg_quicksave
Quickly Format and Save a ggplot Object for Posting to Twittergg_twitter
Return the First and Last Part of an Objectheadtail
Histogram with Added Optionshisto
Check Whether Numeric Value Falls Inside Two Other Numeric Valuesinside
Split Continuous Variable into Equal-Width Groupsinterval_groups
Iterate Function Over All Combinations of User-Specified Inputs, Potentially Multiple Timesiterate
Add Elements of Second List to First List, Replacing Elements with Same Namelist_override
Convert Logit to Probabilitylogit_prob
Linear Regression of log(Y) vs. Covariates with Y Potentially Subject to Multiplicative Lognormal Errorslognormalreg
Graph Log-Odds of Binary Variable Across A Grouping Variablelogodds_graph
Maximum of Numeric Valuesmax_n
Mean of Integer Valuesmean_i
Graph Means Across a Grouping Variablemeans_graph
Minimum of Numeric Valuesmin_n
Maximum Likelihood Estimation for X[1], ..., X[n] ~ Gamma(alpha, beta)mle_gamma
Maximum Likelihood Estimation for X[1], ..., X[n] ~ Gamma(alpha, beta) Lognormal(mu, sigsq)mle_gamma_lnorm
Maximum Likelihood Estimation for X[1], ..., X[n] ~ Lognormal(mu, sigsq)mle_lnorm
Maximum Likelihood Estimation for X[1], ..., X[n] ~ Lognormal(mu1, sigsq1) Lognormal(mu2, sigsq2)mle_lnorm_lnorm
Moving Averagesmoving_mean
Calculate Per-Group Sample Size for Two-Sample Equal Variance T-Testn_2t_equal
Calculate Per-Group Sample Size for Two-Sample Unequal Variance T-Testn_2t_unequal
Convert Odds to Probabilityodds_prob
Plot Log-Likelihood vs. Values of One Parameterplot_ll
Pooled Sample Variancepooled_var
Calculate Power for Two-Sample Equal Variance T-Testpower_2t_equal
Calculate Power for Two-Sample Unequal Variance T-Testpower_2t_unequal
Convert Probability to Logitprob_logit
Convert Probability to Oddsprob_odds
Split Continuous Variable into Quantile Groupsquant_groups
Split Continuous Variable into Quantile Groups (Survey Version)quant_groups_svy
Remove All Labelsral
Reverse Cutreverse_cut
Moving Correlations as Short Vector Slides Across Long Vectorsliding_cor
Moving Covariance as Short Vector Slides Across Long Vectorsliding_cov
Prep for Snipping or Copy/Pasting out of Rsnip
Sum of Integer Valuessum_i
Summarize Simulation Resultssumsim
Trim Tail Values off of a Vectortrim
Range of a Vector (Not Min/Max!)truerange
Return (Row, Column) Index of (First) Maximum of an Integer Matrixwhich_max_im
Return Index of (First) Maximum of an Integer Vectorwhich_max_iv
Return (Row, Column) Index of (First) Maximum of a Numeric Matrixwhich_max_nm
Return Index of (First) Maximum of a Numeric Vectorwhich_max_nv
Return (Row, Column) Index of (First) Minimum of an Integer Matrixwhich_min_im
Return Index of (First) Minimum of an Integer Vectorwhich_min_iv
Return (Row, Column) Index of (First) Minimum of a Numeric Matrixwhich_min_nm
Return Index of (First) Minimum of a Numeric Vectorwhich_min_nv
Return Index of (First) Maximum of a Vectorwhich.max2
Return Index of (First) Minimum of a Vectorwhich.min2