init_design_matrices: Initialize design matrices from dataframe to cluster

Description Usage Arguments Value Examples

View source: R/init_design_matrices.R

Description

Initialize design matrices from dataframe to cluster

Usage

1
init_design_matrices(formula, df, col_id = "id")

Arguments

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

Value

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

Examples

1
init_design_matrices("ctr~timeSlot",adcampaign,"id")

binomialMix documentation built on March 23, 2020, 5:09 p.m.