Nelson-Gon/manymodelr: manymodelr 0.3.7
Authors/Creators
Description
- We no longer use any URLs in vignettes to avoid issues with CRAN checks.
Updated all examples to use the new dataset,
yields.Topic based vignettes are now available.
Added a new dataset
yieldsthat may be useful for testing purposes.Fixed issues with
knitrcausing failing builds.Updated docs with newer examples.
- Extended
fit_modelsto support model fitting for several variables for several model types.
- Patch related to failing tests on old R releases, skip tests on these.
- Fixed issues for CRAN
Major additions
extract_model_info now supports
glmerModandglmmTMBget_this now works with numeric input and also supports
data.frameobjects.fit_models extends fit_model by building many models at once.
Other changes
get_statsnow drops columns via a vector and not "non_numeric" as previously.Metrics from
multi_model_1are now more informative with the metric and method wrapped in the naming of the result.
dfwas renamed asold_datainmulti_model_1,newdatatonew_data.
plot_corrnow directly acceptsdata.frameobjects. Arguments likeround_valueshave also been dropped.
- Fixed DOI to Max Kuhn's paper
- Refactored
get_modeto betidycompliant.
- The argument
validwas dropped inmulti_model_1.
get_allwas dropped inselect_percentile.
select_col,select_percentile,row_mean_nawill be removed in the next release.
row_mean_nais now defunct. Usena_replaceinstead.
na_replaceno longer allows using functions such asmean,min, etc. These have been reimplemented in the package mde
modeleRis now defunct. Usefit_modelinstead.get_thisno longer accepts non quoted character strings.Better coverage and code tests
Fixes paper citation
manymodelr 0.2.3New functions
plot_corrhas been added to allow plotting of correlation matrices produced byget_var_corr_.na_replace_groupedextendsna_replaceby allowing replacement of missing values(NAs) by group.add_model_predictionsallows addition of predicted values to a data set.add_model_residualsis an easy to use anddplyrcompatible wrapper that allows addition of residuals to a data set.extract_model_infoallows easy extraction of common model attributes such as p values, residuals, coefficients, etc as per the specific model type. It supports extraction of multiple attributes.multi_model_2allows fitting and predicting in one function. It is similar tomulti_model_1except it does not require metrics.
Major Changes
modeleRhas been replaced withfit_modelwhich is an easier to remember name. Usage remains the same.fit_modelno longer allows direct addition of predictions. Useadd_model_predictionsto achieve the same.
na_replacehas been extended to allow for user defined values.rowdiffnow accepts replacement of the calculation inducedNAs. It does so by usingna_replace.get_var_corr_now supports using only a subset of the data.Helper functions are no longer exported.
get_data_Statsis now aliased withget_statsfor ease.get_var_corrno longer has theget_allargument. Instead, users can provide an optionother_varsvector of subset columns.drop_columnshas also been changed frombooleanto a character vector.
Minor bug fixes with respect to the vignette.
manymodelr 0.2.1Major Changes
Additions
agg_by_groupis a new function that manipulates grouped data. It is fast and robust for many kinds of functions.rowdiffis another new function that enable one to find differences between rows in a data.frame object. `get_var_corrprovides a user-friendly way to find correlations between data.get_var_corr_provides a user-friendly way to find combination-wise correlations. It is relatively fast depending on how big one's data is and/or machine specifications.get_thisis an easy to use helper function to get metrics,predictions, etc. Currently supports lists and data.frame objects.modeleRandrow_mean_nawere removed.
Major Modifications
get_data_Statsnow supports removal of missing data as well as using only numeric data.modeleRhas been fixed to handle new data as expected. It also now supports glm.multi_model_1now supports either validation or working with new data.row_mean_nahas been replaced with na_replace which is more robust.row_mean_nawill be removed in future versions.
Files
Nelson-Gon/manymodelr-v0.3.7.zip
Additional details
Related works
- Is supplement to
- https://github.com/Nelson-Gon/manymodelr/tree/v0.3.7 (URL)