Learn R Programming

refund.shiny (version 1.0)

make_muPC: Create muPC plot for FPCA panels

Description

Produces a ggplot with mean plus or minus two standard deviations of a selected FPC.

Usage

make_muPC(obj, pc_choice, response_scale = FALSE)

Arguments

obj

fpca object to be plotted.

pc_choice

FPC to be plotted.

response_scale

Scale of reponse to be plotted. If TRUE results are plotted on response scale, if FALSE results are plotted on natural scale.