clustcurv | R Documentation |
clustcurv
: Determining Groups in Multiple Curves.This package provides a method for determining groups in multiple curves with an automatic selection of their number based on k-means or k-medians algorithms. The selection of the optimal number is provided by bootstrap methods. The methodology can be applied both in regression and survival framework.
Package: | clustcurv |
Type: | Package |
License: | MIT + file LICENSE |
clustcurv
is designed along lines similar to those of other R
packages. This software helps the user determine groups in multiple curves
(survival and regression curves). In addition, it enables both numerical
and graphical outputs to be displayed (by means of ggplot2). The package provides
the kclustcurv()
function that groups the curves given a number k and
the autoclustcurv()
function that selects the optimal number of groups
automatically through a boostrap-based test. The autoplot()
function
let the user draws the resulted estimated curves coloured by groups.
For a listing of all routines in the clustcurv package type:
library(help="clustcurv")
.
Nora M. Villanueva and Marta Sestelo
Villanueva, N. M., Sestelo, M., and Meira-Machado, J. (2019). A method for determining groups in multiple survival curves. Statistics in Medicine, 8(5):866-877
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.