Description Usage Arguments See Also Examples

Plots the observed and simulated cumulative sums of residuals in testing linear functional form for each covariate and link function for the fitted Fine and Gray model.

1 2 3 |

`x` |
a diaglin object. |

`col` |
colors of the plots. The first element is used for observed process, and the second element is used for simulated processes. |

`lty` |
line types of the plots. The first element is used for observed process, and the second element is used for simulated processes. |

`lwd` |
line widths of the plots. The first element is used for observed process, and the second element is used for simulated processes. |

`txt.pos` |
the horizontal and vertical positions of the p-value. The assigned numbers represents the percentage in the x-y panel. |

`lgd.pos` |
the position of the legend. |

`xlim` |
the x limitation of the plots |

`ylim` |
the y limitation of the plots |

`select` |
the covariate needs to be plotted. Valid value is an integer from 1 to the number of covariates plus 1. For example, if the number of covariates is 3, then 1, 2, 3 indicates the plots of checking corresponding covariates in the formula, and 4 indicates the plot of checking the link function. Multiple values are allowed |

`...` |
additional arguments to plot() |

1 2 3 4 |

```
Loading required package: cmprsk
Loading required package: survival
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.