data(example_data_1_subject)
cogi(example_data_1_subject)
cogi(example_data_1_subject, targets = c(50, 140), weights = c(.3,.6,.1))
data(example_data_5_subject)
cogi(example_data_5_subject)
cogi(example_data_5_subject, targets = c(80, 180), weights = c(.2,.4,.4))
Run the code above in your browser using DataLab