Skip to content

Commit

Permalink
Scope notes on forcing a ~ 1 when noting provided
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Oct 3, 2024
1 parent 8ca944a commit fc99c6d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/latent_individual.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ epidist_formula.epidist_latent_individual <- function(data, family, formula,
epidist_validate(data)
formula <- brms:::validate_formula(formula, data = data, family = family)

# Here could detect which dpar do not have a formula and change it so that
# they do. Obviously this isn't a model-specific task so perhaps it's
# suggesteing that we want to be generalising epidist_formula in some way
# Or it could be a helper function and we put it in all of the epidist_formula

Check warning on line 162 in R/latent_individual.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/latent_individual.R,line=162,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
formula <- stats::update(
formula, delay | vreal(relative_obs_time, pwindow, swindow) ~ .
)
Expand Down

0 comments on commit fc99c6d

Please sign in to comment.