iset_func_trial: trial_data example (see Huang, Tong, Yang (2023)) specific...

View source: R/iset_func_trial.R

iset_func_trialR Documentation

trial_data example (see Huang, Tong, Yang (2023)) specific function for finding index set that if allocation of that index add "1", the new allocation still falls within the constraint Used in approxtoexact_constrained_func()

Description

trial_data example (see Huang, Tong, Yang (2023)) specific function for finding index set that if allocation of that index add "1", the new allocation still falls within the constraint Used in approxtoexact_constrained_func()

Usage

iset_func_trial(allocation)

Arguments

allocation

the exact allocation

Value

list of TRUE and FALSE, if TRUE, it means the allocation of this index will fall out of the constraint with more subject; if TURE, it means the allocation of this index can add more subjects

Examples

iset_func_trial(allocation=c(50,30,10,100,100,40))


CDsampling documentation built on Oct. 13, 2024, 9:07 a.m.