barwithline | R Documentation |
Creates a bar plot with line
barwithline(
file,
x_column,
y_column,
line_type,
legend_pos,
primary_color,
secondary_color,
tertiary_color,
quaternary_color,
quinary_color,
senary_color
)
file |
A csv file with the source data |
x_column |
Name of the column from the file you want to plot on the x-axis |
y_column |
Name of the column from the file you want to plot on the y-axis |
line_type |
The type of line you want for the line plot |
primary_color |
First color for line plot |
secondary_color |
Second color for line plot |
tertiary_color |
Third color for scatter plot |
quaternary_color |
Fourth color for scatter plot |
quinary_color |
Fifth color for scatter plot |
senary_color |
Sixth color for scatter plot |
This function plots a bar plot with line based on the data
A bar plot with line
Isolde Boussauw
## Not run:
barwithline("testdata.csv",
column_1,
c("column2", "column3", "column4"),
1, 1, "red","green",
"orange","yellow","
blue","black")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.