Description Usage Arguments Value Examples
Apply a function over each column of a "zoocat
" object
and return a data frame.
1 2 3 4 |
x |
A object. |
... |
Additional arguments to be passed to or from methods. |
FUN |
The function apply for each column. |
col.as |
If vector, each column will be treated as a vector. If zoo, each column will be treated as a zoo object. |
a data frame.
1 2 3 4 5 6 7 |
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: reshape2
Attaching package: 'zoocat'
The following object is masked from 'package:stats':
cor
month name output
1 2 xxx 3
2 3 xxx 8
3 5 xxx 13
4 6 yyy 18
month name output
1 2 xxx 5
2 3 xxx 10
3 5 xxx 15
4 6 yyy 20
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.