Skip to contents

Plot FDA Mean Curves

Usage

plot_fda_means(
  analysis,
  value_col,
  title = NULL,
  xlab = "Time",
  ylab = NULL,
  legend_title = "Group",
  palette = NULL
)

Arguments

analysis

A windcut_fda_analysis object returned by run_fda_analysis().

value_col

Weather variable to plot.

title

Plot title.

xlab

Label for the x-axis.

ylab

Label for the y-axis.

legend_title

Legend title for the grouping variable.

palette

Optional named vector of colors.

Value

A ggplot2 object.