doBy
4.7.2Groupwise Statistics, LSmeans, Linear Estimates, Utilities
Overview
Utility package containing: Main categories: Working with grouped data: 'do' something to data when stratified 'by' some variables. General linear estimates. Data handling utilities. Functional programming, in particular restrict functions to a smaller domain. Miscellaneous functions for data handling. Model stability in connection with model selection. Miscellaneous other tools.
- lag_data() added
- transform_forecast() expanded
- microbenchmark moved from Imports to Suggests
align_coefs,add_pred,add_resid,responseadded- Improved documentation of model stability selection.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 89 (1 internal)
- Examples that run
- 100%67 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 77%
- Documented parameters
- 98%
- Return-value docs
- 69%
- Help pages citing references
- 19%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 132
- Median days to close, 50 most recently updated closed PRs
- 272
Stars over time
Releases over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/hojsgaard/doby on 2026-10-11.
GitHub Pages site last deployed 2026-09-22
Dependencies
Installing doBy adds 43 packages (25 with compiled code, 38 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, colorspace 2.0 MB.
Show all 23 packagesHide all 23 packages
Code & Tests
Datasets
People & History
Previously maintained by S (4.4.2 to 4.4.3).
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 4.7.2Latest
- 4.7.1
- 4.7.02025-06-29 · diff ↗ ·
removed 3 exports
is_grouped, rle2, scale2added 10 exports
head2, pow, tail2, time_since_event, v, vcheck, vmap, vparse, vrename, vselect - 4.6.27
- RR 4.5.0 released · 2025-04-11
- 4.6.262025-04-09 · diff ↗ ·
added 7 exports
add_int, add_pred, add_resid, reciprocal, response, splitBy.legacy, split_by.legacy - 4.6.25
- 4.6.24
- 4.6.22
- 4.6.212024-04-29 · diff ↗ ·
removed 1 export
%>%added 7 exports
binomial_to_bernoulli_data, cv_glm_fitlist, generate_data_list, get_formulas, model_stability_glm, plot_lm, truncate0 - RR 4.4.0 released · 2024-04-24
- 4.6.202023-11-01 · diff ↗
- 4.6.192023-10-02 · diff ↗
- 4.6.182023-08-07 · diff ↗
- 4.6.172023-07-12 · diff ↗ ·
added 17 exports
as_lhs_chr, as_lhs_frm, as_rhs_chr, as_rhs_frm, chr_to_matrix, formula_add, formula_chr_to_form, formula_nth, formula_poly, formula_to_interaction_matrix, matrix_op, recode_var, scale_df, simplify_rhs, terms_labels, to_str, unique_formula
Show 134 earlier eventsHide 134 earlier events
- RR 4.3.0 released · 2023-04-21
- 4.6.16
- 4.6.152022-12-08 · diff ↗ ·
removed 4 exports
get_restrictions, restrict_fun, restrict_fun_env, restrict_fun_subadded 4 exports
get_section, section_fun, section_fun_env, section_fun_sub - 4.6.142022-10-17 · diff ↗ ·
added 7 exports
expr_to_fun, recover_pca_data, scale2, scaleBy, scale_by, split_bycol, split_byrow - 4.6.132022-05-02 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 4.6.12
- 4.6.112021-07-13 · diff ↗ ·
removed 5 exports
original_fun, restrict, restrict_env, restrict_sub, restrictionsadded 6 exports
get_fun, get_restrictions, restrict_fun, restrict_fun_env, restrict_fun_sub, summary_mb - RR 4.1.0 released · 2021-05-18
- 4.6.102021-04-29 · diff ↗ ·
removed 1 export
specializeadded 5 exports
original_fun, restrict, restrict_env, restrict_sub, restrictions - 4.6.92021-03-09 · diff ↗
- 4.6.8
- 4.6.7
- 4.6.62020-05-16 · diff ↗ ·
added 8 exports
lapply_by, lm_by, order_by, sample_by, split_by, subset_by, summary_by, transform_by - RR 4.0.0 released · 2020-04-24
- 4.6.52020-02-21 · diff ↗
- 4.6-4.12020-02-03 · diff ↗ ·
added 12 exports
aggregate_linest_list, doby.xtabs, getBy, get_X, get_contrasts, get_linest_list, get_vartypes, get_xlevels, is_estimable, popMeans, set_covariate_val, set_xlevels - 4.6-32019-10-23 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 25 exports
orderBy, summaryBy, lapplyBy, splitBy, lmBy, subsetBy, transformBy, sampleBy, specialize, descStat, firstobs, lastobs, null_basis, parseGroupFormula, recodeVar, renameCol, which.maxn, which.minn, subSeq, taylor, timeSinceEvent, linest, LE_matrix, esticon, LSmeans - RR 3.6.0 released · 2019-04-26
- 4.6-22018-08-30 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 4.6-1
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 4.5-152016-03-31 · diff ↗
- 4.5-142015-12-29 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 4.5-132014-12-11 · diff ↗
- 4.5-122014-11-13 · diff ↗
- 4.5-112014-09-09 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 4.5-102013-11-28 · diff ↗
- 4.5-92013-09-22 · diff ↗
- 4.5-82013-08-06 · diff ↗
- 4.5-72013-07-18 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 4.5-62013-03-19 · diff ↗
- 4.5-52012-11-25 · diff ↗
- 4.5-32012-05-19 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 4.5.22012-02-16 · diff ↗
- 4.5.12012-01-30 · diff ↗
- 4.5.02012-01-19 · diff ↗
- 4.4.62012-01-18 · diff ↗
- 4.4.42011-12-30 · diff ↗
- 4.4.32011-11-11 · diff ↗
- 4.4.22011-11-03 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 4.4.12011-10-23 · diff ↗
- 4.4.02011-06-05 · diff ↗
- 4.3.12011-05-08 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 4.3.02011-03-28 · diff ↗
- 4.2.32011-02-02 · diff ↗
- 4.2.22011-01-03 · diff ↗
- 4.1.22010-11-26 · diff ↗
- 4.1.12010-11-12 · diff ↗
- 4.1.02010-11-09 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 4.0.62010-05-07 · diff ↗
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- 4.0.52009-10-22 · diff ↗
- 4.0.42009-10-19 · diff ↗
- 4.0.32009-10-18 · diff ↗
- 4.0.22009-09-07 · diff ↗
- 4.0.12009-08-19 · diff ↗
- 4.0.02009-07-31 · diff ↗ ·
removed 23 exports
doby.xtabs, dose.LD50, esticon, esticon.geeglm, esticon.glm, esticon.lm, esticon.lme, esticon.lmer, firstobs, firstobs.default, firstobs.formula, lastobs, lastobs.default, lastobs.formula, lapplyBy, orderBy, recodevar, sampleBy, splitBy, subsetBy, summaryBy, transformBy, print.splitByDataadded 1 export
pattern:^[^\\.] - 3.92009-05-13 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 3.72008-12-21 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 3.62008-10-15 · diff ↗
- 3.52008-10-14 · diff ↗
- 3.42008-10-07 · diff ↗
- 3.32008-10-01 · diff ↗
- 3.22008-09-18 · diff ↗
- 3.1
- 3.0.32013-11-28 · diff ↗
- 3.0.22013-09-21 · diff ↗
- 3.0.02013-03-19 · diff ↗
- 3.0
- 2.15.32012-11-25 · diff ↗
- 2.15.12012-05-18 · diff ↗
- 2.14.22012-02-16 · diff ↗
- 2.14.12011-11-11 · diff ↗
- 2.14.02011-10-22 · diff ↗
- 2.13.12011-06-04 · diff ↗
- 2.13.02011-03-28 · diff ↗
- 2.12.22011-02-02 · diff ↗
- 2.12.12010-11-25 · diff ↗
- 2.11.12010-05-07 · diff ↗
- 2.10.02009-10-21 · diff ↗
- 2.9.22009-08-17 · diff ↗
- 2.9.12009-05-12 · diff ↗
- 2.8.12008-12-21 · diff ↗
- 2.8.02008-10-15 · diff ↗
- 2.7.12008-06-13 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 2.7.02008-03-26 · diff ↗
- 2.6.22007-12-08 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 2.6.02007-10-01 · diff ↗
- 2.5.12007-05-02 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 2.5.02007-03-21 · diff ↗
- 2.4.12006-12-14 · diff ↗
- 2.4.02006-10-03 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 2.3.12006-05-01 · diff ↗
- 2.3.02006-04-24 · diff ↗
- 2.32008-03-26 · diff ↗
- 2.22008-02-14 · diff ↗ ·
added 6 exports
firstobs, firstobs.default, firstobs.formula, lastobs, lastobs.default, lastobs.formula - 2.12007-12-08 · diff ↗
- 2.02007-10-02 · diff ↗
- 1.92007-09-01 · diff ↗
- 1.8
- 1.72007-03-23 · diff ↗
- 1.62006-12-15 · diff ↗
- 1.52006-11-06 · diff ↗ ·
added 16 exports
changeNames, doby.xtabs, dose.LD50, esticon, esticon.geeglm, esticon.glm, esticon.lm, esticon.lme, esticon.lmer, orderBy, recodevar, sampleBy, splitBy, subsetBy, summaryBy, transformBy - 1.32006-10-31 · diff ↗
- 1.22006-10-24 · diff ↗
- 1.12006-10-17 · diff ↗
- 1.02006-10-16 · diff ↗
- 0.92006-10-10 · diff ↗
- 0.82006-10-04 · diff ↗
- 0.72006-10-02 · diff ↗
- 0.62006-09-29 · diff ↗
- 0.42006-09-18 · diff ↗
- 0.32006-05-02 · diff ↗
- 0.22006-04-25 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 0.12006-02-21
- RR 2.2.0 released · 2005-10-06
Package metadata
- First published
- 2006-02-21
- Total releases
- 122 / 20 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.2.0
- Bundled data
- 4.0 MB / 33 files
- Download size
- 4.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("doBy")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.