fit.Data.Survrecu: This function let to adjust the IDs the database

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

This function let to adjust the ID's the database in case that it is not have the order numeric correct. Observation: this function only let to adjust the id variable not sort the rest of the data.

Usage

1

Arguments

x

a database type dataframe

Value

Returns the correct numeric order for the dataframe

Note

The last id on each unit of the database to have be a censored data and the occurrences have that to precede to this last it.

Author(s)

Dr. Carlos M. Martinez M., <cmmm7031@gmail.com>

References

Martinez C., Ramirez, G., Vasquez M. (2009).Pruebas no parametricas para comparar curvas de supervivencia de dos grupos que experimentan eventos recurrentes. Propuestas. Revista Ingenieria U.C.,Vol 16, 3, 45-55.//Pena E., Strawderman R., Hollander M. (2001). Nonparametric Estimation with Recurrent Event Data. J.A.S.A. 96, 1299-1315

See Also

FitSurvRec, Survrecu, is.Survrecu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

newTestSurvRec documentation built on May 2, 2019, 12:21 p.m.