View source: R/PLSroundingLoop.R
PLSroundingLoop | R Documentation |
The PLSrounding
runs are coordinated by using preliminary differences as input for the next run (parameter preDifference
)
PLSroundingLoop(
data,
loopId,
...,
zeroCandidates = FALSE,
forceInner = FALSE,
preRounded = NULL,
plsWeights = NULL,
printInc = TRUE,
preDifference = TRUE,
preOutput = NULL,
rndSeed = 123
)
data |
Input data as a data frame (inner cells) |
loopId |
Variable holding id for loops |
... |
|
zeroCandidates |
|
forceInner |
|
preRounded |
|
plsWeights |
|
printInc |
Printing iteration information to console when TRUE |
preDifference |
When TRUE, the |
preOutput |
preOutput The function can continue from output from a previous run |
rndSeed |
If non-NULL, a random generator seed to be set locally at the beginning of |
Note that in this function zeroCandidates
, forceInner
, preRounded
and plsWeights
cannot be supplied as vectors.
They may be specified as functions or as variables in the input data.
As output from PLSrounding
mf2 <- ~region + fylke * hovedint
z2 <- SmallCountData("z2")
a <- PLSroundingLoop(z2, loopId = "kostragr", freqVar = "ant", formula = mf2)
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.