Plot.Cusum.Events {newTestSurvRec} | R Documentation |
This function plot data with recurrent events
Plot.Cusum.Events(yy, xy = 1, xf= 1, colevent = "blue", colcensor = "red",
ltyx = 1, lwdx = 1)
yy |
Data type recurrent events. Examples: TBCplapyr, TBCplathi or TBCpyrthi |
xy |
Initial unit to start the plotted |
xf |
Final unit of the plotted |
colevent |
It is color that identifies the event |
colcensor |
it is color that identifies the censor |
ltyx |
The line type. Line types can either be specified as an integer (0 |
lwdx |
The line width, a positive number, defaulting to 1. The interpretation is device-specific, and some devices do not implement line widths less than one. (See the help on the device for details of the interpretation.) |
This function print and plot as max 5 units each intent.
Print the data correspond to the selects units
This graph is useful because it facilitates the processes of counting in the units
Dr. Carlos M. Martinez M., <cmmm7031@gmail.com>
Martinez, C. (2009). Generalizacion de algunas pruebas clasicas de comparacion de curvas de supervivencia al caso de eventos de naturaleza recurrente. Tesis doctoral. Universidad Central de Venezuela (UCV). Caracas-Venezuela.
Plot.Data, Events, Plot. Surv.Rec
XL<-data(TBCplapyr)
#TBCplapyr
# See, the unit number 1 to 24
Plot.Cusum.Events(TBCplapyr,1,24,"green","red",2,1)
# See, the unit number 10 to 12
Plot.Cusum.Events(TBCplapyr,10,12,"pink","blue",1,3)
# See, the unit number 5 to 9
Plot.Cusum.Events(TBCplapyr,5,11,,,2,3)