Package: lvmisc 0.1.2

lvmisc: Veras Miscellaneous

Contains a collection of useful functions for basic data computation and manipulation, wrapper functions for generating 'ggplot2' graphics, including statistical model diagnostic plots, methods for computing statistical models quality measures (such as AIC, BIC, r squared, root mean squared error) and general utilities.

Authors:Lucas Veras [aut, cre]

lvmisc_0.1.2.tar.gz
lvmisc_0.1.2.zip(r-4.5)lvmisc_0.1.2.zip(r-4.4)lvmisc_0.1.2.zip(r-4.3)
lvmisc_0.1.2.tgz(r-4.4-any)lvmisc_0.1.2.tgz(r-4.3-any)
lvmisc_0.1.2.tar.gz(r-4.5-noble)lvmisc_0.1.2.tar.gz(r-4.4-noble)
lvmisc_0.1.2.tgz(r-4.4-emscripten)lvmisc_0.1.2.tgz(r-4.3-emscripten)
lvmisc.pdf |lvmisc.html
lvmisc/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/verasls/lvmisc/issues

On CRAN:

5.37 score 6 stars 1 packages 13 scripts 242 downloads 59 exports 47 dependencies

Last updated 10 months agofrom:6f27a153c6. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:%!in%abort_argument_classabort_argument_diff_lengthabort_argument_lengthabort_argument_typeabort_argument_valueabort_column_not_foundabort_no_method_for_classabort_package_not_installedaccuracyas_percentbiasbmibmi_catcenter_variableclclean_observationscompare_accuracycreate_projdivide_by_quantileerrorerror_abserror_abs_pcterror_pcterror_sqrget_cv_fixed_effget_cv_r2is_outlieris_percentlelnaloaloo_cvltluniquemean_errormean_error_absmean_error_abs_pctmean_error_pctmean_error_sqrmean_error_sqr_rootpapercentpercent_changeplot_bland_altmanplot_histplot_lineplot_modelplot_model_cooks_distanceplot_model_multicollinearityplot_model_qqplot_model_residual_fittedplot_model_scale_locationplot_qqplot_scatterr2repeat_baseline_valuestbvif

Dependencies:clicodetoolscolorspacecowplotcpp11digestdplyrfansifarverfurrrfuturegenericsggplot2globalsgluegtableisobandlabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellnlmeparallellypillarpkgconfigpurrrR6RColorBrewerrlangrsamplescalessliderstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewarpwithr

Accuracy indices

Rendered fromaccuracy_indices.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-01-28
Started: 2020-06-09

Working with models

Rendered fromworking_with_models.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-02-16
Started: 2021-01-28

Readme and manuals

Help Manual

Help pageTopics
Abort based on issues with function argumentabort_argument abort_argument_class abort_argument_diff_length abort_argument_length abort_argument_type abort_argument_value
Abort based on column not being found in a data frameabort_column_not_found
Abort method if class is not implementedabort_no_method_for_class
Abort if required package is not installedabort_package_not_installed
Model accuracyaccuracy accuracy.default accuracy.lm accuracy.lmerMod accuracy.lvmisc_cv
Biasbias
Compute body mass index (BMI)bmi
Classify body mass index (BMI) categorybmi_cat
Center variablecenter_variable
Clear the consolecl
Clean observationsclean_observations
Compare models accuracycompare_accuracy
Create a projectcreate_proj
Divide variable based on quantilesdivide_by_quantile
Errorerror
Absolute errorerror_abs
Absolute percent errorerror_abs_pct
Percent errorerror_pct
Squared errorerror_sqr
Extract information from the trained models from a cross-validationget_cv_fixed_eff get_cv_r2
Check whether value is outlieris_outlier
Limits of agreementloa
Leave-one-out cross-validationloo_cv loo_cv.default loo_cv.lm loo_cv.lmerMod
Last errorle lt
Number of elements in a vector.lna lunique
Mean errormean_error
Mean absolute errormean_error_abs
Mean absolute percent errormean_error_abs_pct
Mean percent errormean_error_pct
Mean square errormean_error_sqr
Root mean square errormean_error_sqr_root
Value matching%!in% notin
Print all rows of a data frame or tibblepa
'percent' vectoras_percent is_percent percent
Computes the percent changepercent_change
Create a Bland-Altman plotplot_bland_altman
Plot model diagnosticsplot_model plot_model_cooks_distance plot_model_multicollinearity plot_model_qq plot_model_residual_fitted plot_model_scale_location
Quick plottingplots plot_hist plot_line plot_qq plot_scatter
Compute R squaredr2 r2.default r2.lm r2.lmerMod
Repeat baseline levelsrepeat_baseline_values
Capture a backtracetb
Variance inflation factorvif vif.default vif.lm vif.lmerMod