sortbynz | R Documentation |
Sort an xts object by its header values (e.g. NZ)
sortbynz(
x,
writefile = NULL,
returnmatrix = TRUE,
tz = "utc",
dls.remove = TRUE,
...
)
x |
xts object or character string to a file that will be read using |
writefile |
NULL or character string pointing to a file, that will be written. |
returnmatrix |
logical. Should the result be returned to R? |
tz |
character. Time zone. |
dls.remove |
logical. Should daylight savings be removed from the time series using rm.dls |
... |
additional parameters passed on to |
This function was designed to sort an xts object created by make.COSERO.input
. It can read the xts object from file or it may be fed with one directly. If x an xts object, it must contain col.names with the nz information.
An xts object, if returnmatrix == TRUE
Simon Frey
make.COSERO.input; read.xts
read.xts, rm.dls
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.