Description Usage Arguments Value Examples
View source: R/registerSingleIter.R
Uses the fda::register.fd
function to register a sample of curves, after smoothing them.
1 2 3 4 5 6 7 8 9 10 11 | registerSingleIter(
dataToRegister,
Lambda_ConstrainedWarping,
abscissaFrom,
abscissaTo,
abscissaIncrement,
Convergence_Threshold = 1e-05,
basisOrder = 4,
basisBreakFreq = 3,
Lambdas_Roughness = exp(-5:5)
)
|
dataToRegister |
A matrix of curves to register. Each column is a new curve. |
Lambda_ConstrainedWarping |
The roughness penalty for estimating the warping function. Smaller values will allow more undulations in the warping function. |
abscissaFrom |
Mininum value of abscissa |
abscissaTo |
Maximum value of abscissa |
abscissaIncrement |
Increment of abscissa |
Convergence_Threshold |
The value for argument |
basisOrder |
Order of B-spline bases |
basisBreakFreq |
Frequency of knots of basis functions |
Lambdas_Roughness |
Roughness penalty for smoothing using B-splines |
dataToRegister |
Original dataset to register |
Regfd_Final |
Final registered data object. Output of |
registeredCurves |
A matrix of registered curves extracted from the registered object |
registeredCurves.D1 |
A matrix of first derivatives of registered curves extracted from the registered object |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data( growth, package = 'fda' )
Mat1 <- growth[['hgtm']]
Arguments <- growth[['age']]
#Mat1Registered <- registerSingleIter(
# dataToRegister = Mat1,
# Lambda_ConstrainedWarping = 0.005,
# abscissaFrom = 1,
# abscissaTo = 16,
# abscissaIncrement = 0.5,
# Convergence_Threshold = 1e-05,
# basisOrder = 5,
# basisBreakFreq = 3,
# Lambdas_Roughness = exp(-5:5),
#)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.