zt | R Documentation |
Z-transforms observations of a time series or centers observations of a time series to the mean.
zt(x = NULL, ctype = 1)
x |
vector of observations. Missing values are allowed. |
ctype |
the type of transformation. 1 = Z transform ((x - mean x)/ sd x); 2 = center (x - mean x). Default = 1 |
Z-transforms observations of a time series or centers observations of a time series to the mean.
vector containing the transformed time series.
Gary A. Nelson, Massachusetts Division of Marine Fisheries gary.nelson@mass.gov
data(wolffish)
zt(wolffish$index)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.