Create a scree plot giving proportion of variance explained by each factor.
flash_plot_pve(f, main = "Scree plot of PVE for each factor")
The flash fit object.
The main caption to use for the plot.
A ggplot plot object.