parse_and_prep: parse_and_prep

View source: R/apply_covs_formula.R

parse_and_prepR Documentation

parse_and_prep

Description

accepts formula object and data, creates the data used for refinement

Usage

parse_and_prep(formula, data)

Arguments

formula

formula object specifying how to construct the data used for refinement. This is likely to be some variation of the covs.formula argument.

data

data.frame object to be used to create the data needed for refinement. data has unit, time, treatment columns in that order, followed by everything else

Value

data.frame object with the data prepared for refinement. Data will have unit, time, treatment columns in that order, followed by everything else.


PanelMatch documentation built on June 22, 2024, 10:32 a.m.