Description Usage Arguments Value See Also
predict or restrict a mesh or matrix based on a statistical model
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | PredictSample(model, dataset, representer = TRUE, ...)
## S4 method for signature 'pPCA,matrix'
PredictSample(model, dataset, representer = TRUE,
origSpace = TRUE, lmDataset = NULL, lmModel = NULL, sdmax = NULL,
mahaprob = c("none", "chisq", "dist"), align = TRUE, addNoise = FALSE,
posteriorMean = FALSE, ptValueNoise = 1, ...)
## S4 method for signature 'pPCA,mesh3d'
PredictSample(model, dataset, representer = TRUE,
origSpace = TRUE, lmDataset = NULL, lmModel = NULL, sdmax = NULL,
mahaprob = c("none", "chisq", "dist"), align = TRUE, addNoise = FALSE,
posteriorMean = FALSE, ptValueNoise = 1, ...)
## S4 method for signature 'pPCA,missing'
PredictSample(model, dataset, representer = TRUE,
origSpace = TRUE, lmDataset = NULL, lmModel = NULL, sdmax = NULL,
mahaprob = c("none", "chisq", "dist"), align = TRUE, addNoise = FALSE,
posteriorMean = FALSE, ptValueNoise = 1, ...)
|
model |
model of class |
dataset |
a matrix or a mesh3d. If |
representer |
if TRUE and the model contains a representer mesh, a surface mesh will be returned, coordinate matrix otherwise. |
... |
currently not in use. |
origSpace |
logical: rotate the estimation back into the original coordinate system. |
lmDataset |
optional: landmarks on the dataset used for alignment. |
lmModel |
optional: landmarks on the model's mean used for alignment. |
sdmax |
maximum allowed standard deviation (per Principal axis) within the model space. Defines the probabilistic boundaries. |
mahaprob |
character: if != "none", use mahalanobis-distance to determine overall probability (of the shape projected into the model space."chisq" uses the Chi-Square distribution of the squared Mahalanobisdistance, while "dist" restricts the values to be within a multi-dimensional sphere of radius |
align |
if TRUE, the sample will be aligned to the mean. |
addNoise |
re-add noise while reprojecting from latent into shape space. |
posteriorMean |
if TRUE, instead the shape will be the mean of the posterior model using the coordinates defined by |
ptValueNoise |
numeric: set global noise assumed in the data when |
PredictSample
returns a matrix/mesh3d restricted to the boundaries given by the modelspace.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.