Package: reformulas 0.4.4.9000
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.4.9000.tar.gz
reformulas_0.4.4.9000.zip(r-4.6)reformulas_0.4.4.9000.zip(r-4.5)reformulas_0.4.4.9000.zip(r-4.4)
reformulas_0.4.4.9000.tgz(r-4.6-any)reformulas_0.4.4.9000.tgz(r-4.5-any)
reformulas_0.4.4.9000.tar.gz(r-4.6-any)reformulas_0.4.4.9000.tar.gz(r-4.5-any)
reformulas_0.4.4.9000.tgz(r-4.5-emscripten)
reformulas.pdf |reformulas.html✨
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:ef6b4e5adc. Checks:9 OK. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | OK | 147 | |
| source / vignettes | OK | 172 | |
| linux-release-x86_64 | OK | 149 | |
| macos-devel-arm64 | OK | 116 | |
| macos-release-arm64 | OK | 102 | |
| windows-devel | OK | 96 | |
| windows-release | OK | 104 | |
| windows-oldrel | OK | 89 | |
| wasm-release | OK | 114 |
Exports:addFormaddForm0anySpecialdrop.specialdropHeadexpandAllGrpVarexpandDoubleVertexpandDoubleVertsexpandGrpVarextractFormfindbarsfindbars_xformat_corrformat_sdvarformatVCget_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 |
| 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 |
