mi | R Documentation |
mi
objectCreate an mi
object, usually used as a response variable in a model
formula.
mi(bag_label, bag_name)
bag_label |
The bag label or response, recorded as 0 = negative, 1 = positive. |
bag_name |
A unique bag identifier for each instance. |
An object of class mi
. Currently, no methods are implemented for
this.
Sean Kent
Other multiple instance formula helper functions:
mild()
mil_data <- generate_mild_df(positive_degree = 3, nbag = 10) with(mil_data, head(mi(bag_label, bag_name))) df <- get_all_vars(mi(bag_label, bag_name) ~ X1 + X2, data = mil_data) head(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.