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)reformulas_0.4.5.zip(r-4.6)reformulas_0.4.5.zip(r-4.5)
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✨
card.svg |card.png
reformulas/json (API)
NEWS
| # 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:31b1d4087b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 154 | ||
| source / vignettes | OK | 178 | ||
| linux-release-x86_64 | OK | 181 | ||
| macos-release-arm64 | OK | 103 | ||
| macos-oldrel-arm64 | OK | 98 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 93 | ||
| windows-oldrel | OK | 101 | ||
| wasm-release | OK | 106 |
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 |
