powered by
Prints a summary of weighted Kaplan-Meier survival estimates.
# S3 method for weightedKM print(x, print.digits = 3, print.rows = 10, ...)
Invisibly returns the input object x.
x
An object of class "weightedKM" from weightedKM().
weightedKM()
Number of decimal places for printed output. Default 3.
Number of rows to print for each treatment group. Default 10.
Additional arguments (currently unused).
# \donttest{ data(simdata_bin) result <- weightedKM( data = simdata_bin, treatment_var = "Z", time_var = "time", event_var = "event", weight_method = "none" ) print(result) # }
Run the code above in your browser using DataLab