Description Usage Arguments Author(s) See Also Examples
Plotting method for data frames with date and another variable of interest.
1 |
data |
data frame with date formatted variable and another variable of interest or a time-series 'ts' object. |
ts.type |
variable of interest. It allows "maus", "revenue" or "costs" options. If 'data' is a 'ts' object, then ts.type must be NULL. |
ylab |
Vertical axis (y) label. |
title |
Main title label. |
print |
TRUE if it should automatically print the plot or FALSE if it should return the plot object instead. |
Kazuki Yokoyama
ggplot which is used to actually plot.
1 2 3 4 5 6 | data(fb)
netvl.plot.ts(fb, "maus")
netvl.plot.ts(fb, "revenue")
netvl.plot.ts(fb, "costs")
maus <- netvl.to.ts(fb, "maus")
netvl.plot.ts(maus, ylab = "Million of users", title = "Monthly Active Users")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.