View source: R/cox.zphSLMADS.R
cox.zphSLMADS | R Documentation |
Tests the proportional hazards assumption of a Cox proportional hazards that has been fit and saved on the server side environment.
cox.zphSLMADS(
fit = NULL,
transform = "km",
terms = TRUE,
singledf = FALSE,
global = TRUE
)
fit |
character string specifying name of fit Cox proportional hazards model saved in the server-side. |
transform |
character string specifying how the survival times should be transformed before the test is performed. Possible values are "km", "rank", "identity" or a function of one argument. |
terms |
logical if TRUE, do a test for each term in the model rather than for each separate covariate. For a factor variable with k levels, for instance, this would lead to a k-1 degree of freedom test. The plot for such variables will be a single curve evaluating the linear predictor over time. |
singledf |
logical use a single degree of freedom test for terms that have multiple coefficients, i.e., the test that corresponds most closely to the plot. If terms=FALSE this argument has no effect. |
global |
logical should a global chi-square test be done, in addition to the per-variable or per-term tests tests. |
Serverside aggregate function cox.zphSLMADS called by clientside function. ds.cox.zphSLMA. returns diagnostics for the test of proportional hazards assumptions from a Cox proportional hazards model. This request is not disclosive as it only returns summary statistics. For further details see help for ds.cox.zphSLMA function.
diagnostics for the Cox proportional hazards from the server side environment.
Soumya Banerjee and Tom Bishop (2020).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.