Skip to content

Support experimental designs #3

@capnrefsmmat

Description

@capnrefsmmat

Instead of sampling X from the population, fix it according to a design, i.e. a data frame specifying the combinations of predictors to set. Something like this:

design <- some_design_function(...)

pop <- population(
  y = response(x1 + 2 * x2, error_scale = 1)
)

pop |>
  design_x(design) |>
  sample_y()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions