Package: wisclabmisc 0.1.0

wisclabmisc: Tools to Support the 'WiscLab'

A collection of 'R' functions for use (and re-use) across 'WiscLab' projects. These are analysis or presentation oriented functions--that is, they are not for data reading or data cleaning.

Authors:Tristan Mahr [aut, cre]

wisclabmisc_0.1.0.tar.gz
wisclabmisc_0.1.0.zip(r-4.5)wisclabmisc_0.1.0.zip(r-4.4)wisclabmisc_0.1.0.zip(r-4.3)
wisclabmisc_0.1.0.tgz(r-4.4-any)wisclabmisc_0.1.0.tgz(r-4.3-any)
wisclabmisc_0.1.0.tar.gz(r-4.5-noble)wisclabmisc_0.1.0.tar.gz(r-4.4-noble)
wisclabmisc_0.1.0.tgz(r-4.4-emscripten)wisclabmisc_0.1.0.tgz(r-4.3-emscripten)
wisclabmisc.pdf |wisclabmisc.html
wisclabmisc/json (API)

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

Peer review:

Bug tracker:https://github.com/tjmahr/wisclabmisc/issues

Datasets:

On CRAN:

28 exports 0.61 score 68 dependencies 4 scripts

Last updated 4 months agofrom:2d2df5af2e. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-winNOTESep 10 2024
R-4.5-linuxNOTESep 10 2024
R-4.4-winNOTESep 10 2024
R-4.4-macNOTESep 10 2024
R-4.3-winNOTESep 10 2024
R-4.3-macNOTESep 10 2024

Exports:%>%check_sample_centileschrono_agecompute_empirical_roccompute_predictive_value_from_ratescompute_smooth_density_rocfit_beta_gamlssfit_beta_gamlss_sefit_gen_gamma_gamlssfit_gen_gamma_gamlss_sefit_kmeansformat_year_month_ageimpute_values_by_lengthjoin_to_splitlogitnorm_meanmem_gamlssoptimize_beta_gamlss_slopepartial_trapezoid_aucpivot_centiles_longerpredict_beta_gamlsspredict_centilespredict_gen_gamma_gamlsstocs_itemtocs_lengthtocs_typetrapezoid_aucuniroot_beta_gamlssweight_lengths_with_ordinal_model

Dependencies:askpassclicliprcodetoolscpp11crayoncredentialscurldescdigestdplyrfansifsfurrrfuturegamlssgamlss.datagamlss.distgenericsgertghgitcredsglobalsgluehttr2inijsonlitelatticelifecyclelistenvmagrittrMASSMatrixnlmenumDerivopensslordinalparallellypillarpkgconfigplyrpROCpurrrR6rappdirsRcpprlangrprojrootrsamplerstudioapisessioninfosliderstringistringrsurvivalsystibbletidyrtidyselectucminfusethisutf8vctrswarpwhiskerwithryamlzip

Tools for GAMLSS models

Rendered fromgamlss-tools.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-02-11
Started: 2022-02-11

Tools for ROC curves

Rendered fromroc.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-02-11
Started: 2022-02-11

Readme and manuals

Help Manual

Help pageTopics
Compute the percentage of points under each centile linecheck_sample_centiles
Compute chronological age in monthschrono_age
Create an ROC curve from observed datacompute_empirical_roc
Compute positive and negative predictive valuecompute_predictive_value_from_rates
Create an ROC curve from smoothed densitiescompute_smooth_density_roc
Simulated intelligibility scores by utterance lengthdata_example_intelligibility_by_length
Fake intelligibility datadata_fake_intelligibility
Fake speaking rate datadata_fake_rates
Phonetic features of consonants and vowelsdata_features_consonants data_features_vowels
Fit a beta regression model (for intelligibility)fit_beta_gamlss fit_beta_gamlss_se optimize_beta_gamlss_slope predict_beta_gamlss uniroot_beta_gamlss
Fit a generalized gamma regression model (for speaking rate)fit_gen_gamma_gamlss fit_gen_gamma_gamlss_se predict_gen_gamma_gamlss
Run (scaled) k-means on a dataset.fit_kmeans
Convert age in months to years;monthsformat_year_month_age
Staged imputationimpute_values_by_length
Join data onto resampled IDsjoin_to_split
Compute the mean of logit-normal distribution(s)logitnorm_mean
Fit a gamlss model but store user datamem_gamlss
Predict and tidy centiles from a GAMLSS modelpivot_centiles_longer predict_centiles
Extract the TOCS details from a string (usually a filename)tocs_item tocs_length tocs_type
Compute AUCs using the trapezoid methodpartial_trapezoid_auc trapezoid_auc
Weight utterance lengths by using an ordinal regression modelweight_lengths_with_ordinal_model