Learn R Programming

UpDown (version 1.2.3)

UpDownApp: Shiny app to vizualise the longitudinal intra-group observations and the detected disturbances

Description

The function starts a shiny app which visualizes the data organized by the hierarchical levels, and the estimated start and end point of the detected disturbances

Usage

UpDownApp(updown.out,obs=NULL,width=1000,height=1000)

Value

No return value, run the application

Arguments

updown.out

Global output of the UpDown function

obs

(optional) vector of character string specifing the names of the considered longitudinal observations appearing in the dataframe data.

width,height

(optional) interger specifing the width and the height of the plot in the Rshiny.

See Also

runApp, ggplot, UpDown

Examples

Run this code
# \donttest{
levels=c("batch","pen","id")
UpDown.out<- UpDown(PigFarming,levels=levels, vtime="time", obs="weight",
kappa=0.75, thr_va=0.5, correction="age")
# }

if(interactive()){UpDownApp(UpDown.out)}

Run the code above in your browser using DataLab