UpDownApp {UpDown}R Documentation

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)

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.

Value

No return value, run the application

See Also

shiny(), ggplot2(), UpDown()

Examples


# load data
data=get(data(PigFarming))

levels=c("batch","pen","id")
updown.out<- UpDown(data,levels=levels, vtime="time", obs="weight",
kappa=0.75, thr_va=0.5, correction="age")


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


[Package UpDown version 1.2.1 Index]