Description Usage Arguments Author(s) See Also Examples
Take a data frame and returns a "ts" object (Time-Series) from one of its columns (variables). As Financial Press Releases are released quaterly, the time-series is defined by quarter.
1 | netvl.to.ts(data, col.name, interval = "quarter")
|
data |
data frame containing a date variable (in format 4-digit year, month, day separated by -) and the variable to be transformed into a time-serie. |
col.name |
the name of the column to be transformed into a time-serie. |
interval |
the interval between observed data. It allows "quarter", "year", "month" and "day" options. |
Kazuki Yokoyama
1 2 3 4 | library(netvl)
data(fb)
fb.maus <- netvl.to.ts(fb, "maus")
fb.revenue <- netvl.to.ts(fb, "revenue")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.