The covariates defined in x must be a subset of the columns in pdata. This method will throw an error if there is a covariate in x that does not have a matching column in pdata.

validate_covariate_def_list(x, pdata)

Arguments

x

a covariate definition list-of-lists

pdata

a data.frame

Details

This function does not check if all columns in pdata have definitions in x.