intubation
## Construction of the ViSiBook for the data intubation
vars <- c("time_in_intub","time_insert_probe","time_out_intub","delay_intub_prob")
label <- c( "the blade is in the mouth", "Insertion of the tube into the mouth",
"The blade is out of the mouth","Blade in the month - Tube is inserted")
typeA <- c( "p","p","p","l")
showorder <- c( 1,2,4,3)
deb <- c( NA, NA,NA,"time_in_intub")
fin <- c( NA,NA,NA,"time_insert_probe")
bookdataframe <- data.frame(vars,label,typeA,showorder,deb,fin)
bookintubation <- ConvertoViSibook(bookdataframe)
plot(bookintubation)
##
x <- buildViSiGrid( X = intubation, book = bookintubation,pixel = 5 )
plot( x )
Run the code above in your browser using DataLab