Description Usage Arguments Value Examples
View source: R/init_design_matrices.R
Initialize design matrices from dataframe to cluster
1 | init_design_matrices(formula, df, col_id = "id")
|
formula |
A character formula with target variable and predictor variables |
df |
A dataframe to cluster |
col_id |
A character value corresponding to name of id column in the dataframe df |
result_list A list containing the df filter by id levels, the design matrices filter by id levels, the number of rows for df filter by id levels
1 | init_design_matrices("ctr~timeSlot",adcampaign,"id")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.