netvl.to.ts: Transform column from a data set into a "ts" (Time-Series)...

Description Usage Arguments Author(s) See Also Examples

Description

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.

Usage

1
netvl.to.ts(data, col.name, interval = "quarter")

Arguments

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.

Author(s)

Kazuki Yokoyama

See Also

ts

Examples

1
2
3
4
library(netvl)
data(fb)
fb.maus <- netvl.to.ts(fb, "maus")
fb.revenue <- netvl.to.ts(fb, "revenue")

kmyokoyama/netvl documentation built on May 20, 2019, 12:52 p.m.