R/Regression.R
regression.delta.Cq.Rd
The model and prediction with investR package are reported. A CrossValidation for the model is possible with caret. The cross validation here is a basic wrapper for caret package. If more detailed CV is wanted, the analysis should be made separately with caret.
regression.delta.Cq(
CqType = "SD",
linSqrtTrans = FALSE,
method = "c",
fit = "linear",
rawPolynomials = FALSE,
cv = FALSE,
cv.seed = sample(1:100, 1),
cv.method = "LGOCV",
cv.p = 0.5,
cvComplete = FALSE,
plot = TRUE,
cv.plot = FALSE
)
this is the Cq value type that should be used.
Will transform the values to linearise the values! this is basically a shifted square root representation. The parameter fit should be linar as well.
method for generating the delta Cq values (see delta.Cq.data())
model for lm() function. "linear", "poly3", "poly4".
should a cross validation be made? With caret!
seed for cv
The method for cv from caret package
percentage of training data (0 to 1)
should a cross validation be made with omitting one concentration completely? This will run separately from caret cv.
plot the data with plotfit() method from investR with std. settings (for more options use plotfit() separately)
plot the data with plotfit() for the cvComplete cross validation.
returns a model: model.delta.Cq object in global space.