-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalign_pcdirs.Rd
35 lines (32 loc) · 1.34 KB
/
align_pcdirs.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/align_pcdirs.R, R/center_pcdirs.R
\name{align_pcdirs}
\alias{align_pcdirs}
\title{Obtain PC directions with centered warping functions}
\usage{
align_pcdirs(train_obj)
align_pcdirs(train_obj)
}
\arguments{
\item{train_obj}{Output object from `prep_training_data` (jfpca only)}
}
\value{
List with the same structure as `prep_training_data`, but
the principal directions are replaced with the aligned version and gamI is
included in the fpca_res object.
List with the same structure as `prep_training_data`, but
the principal directions are replaced with the aligned version and gamI is
included in the fpca_res object.
}
\description{
The function 'prep_training_data' does not center the warping functions,
which leads to issues when visualizing joint and horizontal principal
component directions. This function aligns the principal directions for
improved interpretability of the principal directions. Currently, only
alignment for jfPCA has been implemented.
The function 'prep_training_data' does not center the warping functions,
which leads to issues when visualizing joint and horizontal principal
component directions. This function aligns the principal directions for
improved interpretability of the principal directions. Currently, only
alignment for jfPCA has been implemented.
}