fitModel(k1, k2, Y, n.surr)fitModel returns an object of class "fitModel". The object
contains a list of the following components:n.surr>0).n.surr>0).n.surr>0).n.surr>0).svpls, hfpdata(batch.dat)
## Fitting an ANCOVA model with 5 surrogate variables
fit <- fitModel(10,10,batch.dat,n.surr = 5)
print(fit)Run the code above in your browser using DataLab