powered by
Z-transforms observations of a time series or centers observations of a time series to the mean.
zt(x = NULL, ctype = 1)
vector containing the transformed time series.
vector of observations. Missing values are allowed.
the type of transformation. 1 = Z transform ((x - mean x)/ sd x); 2 = center (x - mean x). Default = 1
Gary A. Nelson, Massachusetts Division of Marine Fisheries gary.nelson@mass.gov
data(wolffish) zt(wolffish$index)
Run the code above in your browser using DataLab