powered by
Align the monitoring sample X and the reference sample Y.
X
Y
dataAlignment( X, Y, alignment = "unadjusted", constant = NULL, absolute = FALSE )
vector. Monitoring sample.
vector. Reference sample.
character string. Aligment of the data X and Y. Select from
"unadjusted": nothing is sustracte from X and Y (default).
"overallmean": overall mean is sustracted from X and Y.
"overallmedian": overall median is sustracted from X and Y.
"samplemean": mean from corresponding group (X and Y) is sustracted from its corresponing vector.
"samplemedian": median from corresponding group (X and Y) is sustracted from its corresponing vector.
"referencemean": mean from Y is subtracted from X and Y.
"referencemedian": median from Y is subtracted from X and Y.
"constantvalue": a constant value is subtracted from X and Y.
scalar. Only used when the alignment is selected "constantvalue". Default NULL.
alignment
NULL
logical. If TRUE, the absolute aligned values are obtained. (Default FALSE)
TRUE
FALSE
Multiple output. Select by output$
output$
X: vector. Monitor sample with the alignment selected.
Y: vector. Reference sample with the alignment selected.
# NOT RUN { X = c(30, 45, 50) Y = c(20, 22, 25, 30, 70) dataAlignment(X,Y) # }
Run the code above in your browser using DataLab