Grocer Function
NAME
st_dev - standard deviation of a vector or a ts
CALLING SEQUENCE
sd=st_dev(x,cr)
PARAMETERS
Input
- x = a time series or a matrix
-
cr= (only if x is a matrix and even in thta case optional)
. 'r' or 1 for rowwise standard deviation
. 'c' or 2 for columnwise standard deviation
Output
-
s = the vector of the time series values
DESCRIPTION
Calculates the standard deviation of a vector or a timeseries.
EXAMPLE
y=st_dev(x)
AUTHOR
Philippe.Castagliola Ecole des Mines de Nantes Eric Dubois 2002 for the part regarding ts