#--- sample data ---#
data = rmst2adapt.sample.data()
nmethod = 100 #This is only for example use.
#Recommended to specify at least 100000 (default) or larger.
a = rmst2adapt(indata=data, tau_star=seq(6,12,2), method="perturbation",
nmethod=nmethod, test="2_side", seed=123)
print(a)
Run the code above in your browser using DataLab