make_linCom {refund.shiny} | R 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. |
[Package refund.shiny version 1.0 Index]