Description Usage Arguments Value Examples
gm.tscol make a bar plot in time serie format. Graphic models function family make graphic creation easy, is recommended for new programers, they have less and easyful parameters then p.tscol but the graphic customize is more limited . The data don't need be a ts object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
data |
a dataframe |
ncolx |
number of x column in data frame |
ncoly |
number of y column in data frame |
ntimes |
number of observations to plot (count by tail) |
title |
title of plot |
ylab |
y axis label |
percent |
If TRUE y axis in percent (default=F) |
div100 |
If data percent are not in decimal format set TRUE. |
fontsize |
change size of all words in graphic (only numbers) |
datebreaks |
datebreaks in x axis (default="1 month") |
dateformat |
format of date in x axis (need a dataformat string) (default ="%Y-%m") |
clines |
color of lines in graphic |
ctext |
color of words in graphic |
cbackground |
color of graphic background |
cbserie |
color of serie border (default= same cbackground) |
Return a graphic.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.