make_linCom: Create lincom plot for FPCA panels

View source: R/make_linCom.R

make_linComR Documentation

Create lincom plot for FPCA panels

Description

Produces a ggplot with mean and sliders to change weighting of each PC; allows you to obtain range of potential fitted values.

Usage

make_linCom(obj, pc_weights, response_scale = FALSE)

Arguments

obj

fpca object to be plotted.

pc_weights

User-selected weights for FPCs

response_scale

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


refund.shiny documentation built on Oct. 11, 2022, 1:05 a.m.