dataAlignment {SNSchart} | R Documentation |
Alignment of the data
Description
Align the monitoring sample X
and the reference sample Y
.
Usage
dataAlignment(
X,
Y,
alignment = "unadjusted",
constant = NULL,
absolute = FALSE
)
Arguments
X |
vector. Monitoring sample. |
Y |
vector. Reference sample. |
alignment |
character string. Aligment of the data
|
constant |
scalar. Only used when the |
absolute |
logical. If |
Value
Multiple output. Select by output$
-
X
: vector. Monitor sample with the alignment selected. -
Y
: vector. Reference sample with the alignment selected.
Examples
X = c(30, 45, 50)
Y = c(20, 22, 25, 30, 70)
dataAlignment(X,Y)