Package: nestedmodels 1.1.0.9000

nestedmodels: Tidy Modelling for Nested Data

A modelling framework for nested data using the 'tidymodels' ecosystem. Specify how to nest data using the 'recipes' package, create testing and training splits using 'rsample', and fit models to this data using the 'parsnip' and 'workflows' packages. Allows any model to be fit to nested data.

Authors:Ashby Thorpe [aut, cre], Hadley Wickham [ctb]

nestedmodels_1.1.0.9000.tar.gz
nestedmodels_1.1.0.9000.zip(r-4.5)nestedmodels_1.1.0.9000.zip(r-4.4)nestedmodels_1.1.0.9000.zip(r-4.3)
nestedmodels_1.1.0.9000.tgz(r-4.4-any)nestedmodels_1.1.0.9000.tgz(r-4.3-any)
nestedmodels_1.1.0.9000.tar.gz(r-4.5-noble)nestedmodels_1.1.0.9000.tar.gz(r-4.4-noble)
nestedmodels_1.1.0.9000.tgz(r-4.4-emscripten)nestedmodels_1.1.0.9000.tgz(r-4.3-emscripten)
nestedmodels.pdf |nestedmodels.html
nestedmodels/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/ashbythorpe/nestedmodels/issues

Pkgdown site:https://ashbythorpe.github.io

Datasets:

On CRAN:

5.53 score 12 stars 14 scripts 449 downloads 13 exports 74 dependencies

Last updated 1 years agofrom:54207bb4eb. Checks:5 OK, 2 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 22 2025
R-4.5-winNOTEJan 22 2025
R-4.5-linuxNOTEJan 22 2025
R-4.4-winOKJan 22 2025
R-4.4-macOKJan 22 2025
R-4.3-winOKJan 22 2025
R-4.3-macOKJan 22 2025

Exports:%>%augmentextract_inner_modelfitfit_xyfit_xy.nested_modelglanceglance_nestedis_nestednestednested_resamplesstep_nesttidy

Dependencies:classcliclockcodetoolscolorspacecpp11data.tablediagramdigestdplyrfansifarverforeachfurrrfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvmunsellnlmennetnumDerivparallellyparsnippillarpkgconfigprettyunitsprodlimprogressrpurrrR6RColorBrewerRcpprecipesrlangrpartrsamplescalesshapesliderSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewarpwithr

Getting started with nestedmodels

Rendered fromnestedmodels.Rmdusingknitr::rmarkdownon Jan 22 2025.

Last update: 2023-03-16
Started: 2022-09-19

Nestedmodels Limitations

Rendered fromnestedmodels-limitations.Rmdusingknitr::rmarkdownon Jan 22 2025.

Last update: 2022-10-06
Started: 2022-09-28

Readme and manuals

Help Manual

Help pageTopics
Augment data with predictionsaugment.nested_model_fit
Create a set of ggplots for a nested model objectautoplot.nested_model_fit
Example nested dataexample_nested_data
Get the inner model of a nested model objectextract_inner_model extract_inner_model.default extract_inner_model.model_spec extract_inner_model.nested_model extract_inner_model.workflow
Fit a nested model to a dataset using an xy interface.fit_xy.nested_model
Fit a nested model to a datasetfit.nested_model
Nested model predictions across many sub-modelsmulti_predict.nested_model_fit
Create a Nested Modelis_nested is_nested.default is_nested.model_spec is_nested.workflow nested nested.default nested.model_spec nested.nested_model nested.workflow
Create splits with nested datanested_resamples
Nested Model Predictionspredict.nested_model_fit predict_raw.nested_model_fit
Nest transformationstep_nest
Turn a nested model into a tidy tibbleglance.nested_model_fit glance_nested tidy.nested_model_fit