Closed jgabry closed 2 years ago
fixes #411
If subset is specified the print and summary output now include it. A few examples:
subset
> stan_glm(mpg ~ wt + cyl, data = mtcars, subset = rep(TRUE, 32)) stan_glm family: gaussian [identity] formula: mpg ~ wt + cyl observations: 32 predictors: 3 subset: rep(TRUE, 32) ...
> stan_glm(mpg ~ wt + am, data = mtcars, subset = cyl == 4) stan_glm family: gaussian [identity] formula: mpg ~ wt + am observations: 11 predictors: 3 subset: cyl == 4 ...
fixes #411
If
subset
is specified the print and summary output now include it. A few examples: