wrapped_chart {vvshiny} | R Documentation |
Wrapped chart
Description
Wrapped chart function for creating a plot based on the provided dataframe and variables.
Usage
wrapped_chart(
df,
x,
y,
color,
id = "bench",
df_original,
y_left = NULL,
y_right = NULL,
facet_var = rlang::sym("VIS_Groep"),
facet_name_var = rlang::sym("VIS_Groep_naam")
)
Arguments
df |
The data frame used to create the plot. |
x |
The variable used on the x-axis of the plot. |
y |
The variable used on the y-axis of the plot. |
color |
The variable used to color the points or bars in the plot. |
id |
The identifier for selecting the data frame source. |
df_original |
The original dataframe before summarization |
y_left |
The variable used on the left y-axis when creating a comparative plot. |
y_right |
The variable used on the right y-axis when creating a comparative plot. |
facet_var |
The variable used for facet wrapping. |
facet_name_var |
The name of the variable used for facet wrapping. |
Value
A ggplot object.
[Package vvshiny version 0.1.1 Index]