Description Usage Arguments Value Parameters validation See Also
Creates a Combo Chart using the googleVis R package
1 2 |
table |
A |
targetVar |
A |
groupVar |
A |
timeVar |
A |
min |
A |
max |
A |
restrictions |
A n x 2 |
alternatives |
A n x 2 |
filename |
A |
A character vector if the chart was successfully created, with the name of two files: the .html file where the chart was printed and the .csv file where the source data was saved.
Otherwise, an error string returned by one of validation functions listed under the 'Parameters validation' section.
The parameters are checked according to the rules estabilished in validation functions and in the following order:
groupVar: This variable cannot be NULL.
targetVar, groupVar, timeVar, min, max, restrictions: validateGoogleChartParameters
lineVar: validateTargetVariables and validateConsistency.
lineVar, operation, groupVar: If groupVar is NULL, lineVar must be also NULL. Besides, operation cannot be NULL when lineVar is not NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.