## S3 method for class 'formula':
icr(formula, data, weights, ..., subset, na.action, contrasts = NULL)
## S3 method for class 'default':
icr(x, y, ...)## S3 method for class 'icr':
predict(object, newdata, ...)
class ~ x1 + x2 + ...
formula
are
preferentially to be taken.NA
s are found.
The default action is for the procedure to fail. An alternative is
na.omit, which leads to rejection of cases with missing values on
any required variable. (NOTE: If given, thisfastICA
x
values for examples.icr
as returned by icr
.icr
, a list with elementslm
after the ICA transformationn.comp
to pass to fastICA
.The function preProcess
to produce the ICA scores for the original data and for newdata
.
fastICA
, preProcess
, lm
data(BloodBrain)
icrFit <- icr(bbbDescr, logBBB, n.comp = 5)
icrFit
predict(icrFit, bbbDescr[1:5,])
Run the code above in your browser using DataLab