R/graphs.R
time_series_data_graph.Rd
Create a PDF with one time-series graph for each group in the data.
time_series_data_graph(
data,
numeric_variable,
time_variable,
group_variable,
outlier_std_dev_value = 1.96,
file_name
)
A data.frame with the data you want to graph.
A string with the name of the column with numeric data to graph.
A string with the name of the column that contains the time variable.
A string with the name of the column with the grouping variable.
A number that indicates how many standard deviations from the group mean an outlier is. Outliers will be colored orange in the data.
A string with the name of the PDF to be made with one page for each graph.
A PDF with one page per graph