Package: reformulas 0.4.5
reformulas: Machinery for Processing Random Effect Formulas
Takes formulas including random-effects components (formatted as in 'lme4', 'glmmTMB', etc.) and processes them. Includes various helper functions.
Authors:
reformulas_0.4.5.tar.gz
reformulas_0.4.5.zip(r-4.7-any)reformulas_0.4.5.zip(r-4.6-any)reformulas_0.4.5.zip(r-4.5-any)
reformulas_0.4.5.tgz(r-4.6-any)reformulas_0.4.5.tgz(r-4.5-any)
reformulas_0.4.5.tar.gz(r-4.7-any)reformulas_0.4.5.tar.gz(r-4.6-any)
reformulas_0.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
reformulas/json (API)
| # Install 'reformulas' in R: |
| install.packages('reformulas', repos = c('https://bbolker.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bbolker/reformulas/issues
Last updated from:fb5338d61a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 177 | ||
| source / vignettes | OK | 233 | ||
| linux-release | OK | 153 | ||
| macos-release | OK | 118 | ||
| macos-oldrel | OK | 107 | ||
| windows-devel | OK | 117 | ||
| windows-release | OK | 89 | ||
| windows-oldrel | OK | 102 | ||
| wasm-release | OK | 117 |
Exports:addFormaddForm0anySpecialdrop.specialdropHeadexpandAllGrpVarexpandDoubleVertexpandDoubleVertsexpandGrpVarextractFormfindbarsfindbars_xformat_corrformat_sdvarformatVCget_grpvarsget_sdinFormisNestedmakeOpmkReTrmsno_specialsnobarsnobars_noSpecialsrandintreOnlyreplaceFormRHSFormRHSForm<-splitFormsub_specialssubbarssumTerms
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Detect whether there are any 'specials' in a formula term | anySpecial |
| Expand terms with ''||'' notation into separate ''|'' terms | expandDoubleVerts |
| apply operator expansion (e.g. a/b -> a + a:b) to a formula term | expandGrpVar |
| list of specials - taken from enum.R | findReTrmClasses |
| Format columns corresponding to std. dev. and/or variance. | format_corr format_sdvar get_sd |
| Format the 'VarCorr' Matrix of Random Effects | formatVC |
| get grouping variable symbols/names | get_grpvars |
| Is f1 nested within f2? | isNested |
| Create list of structures needed for models with random effects | mkReTrms |
| Drop 'specials' from a formula | no_specials |
| Omit terms separated by vertical bars in a formula | nobars nobars_ |
| Remove all random slopes from a formula, while retaining random intercepts. | randint |
| extract right-hand side of a formula | RHSForm |
| "Substitute bars" | subbars |
