Learn R Programming

binomialMix (version 1.0.1)

init_subset: Initialize the estimation of beta

Description

Initialize the estimation of beta

Usage

init_subset(df, K, col_id = "id")

Arguments

df

A dataframe

K

The number of dataframe to obtain depending on the number of cluster chosen for the mixture

col_id

A character value corresponding to id column name

Value

subset_df A list of K subset of dataframe

Examples

Run this code
# NOT RUN {
init_subset(adcampaign,3,"id")
# }

Run the code above in your browser using DataLab