summary.clustcurves: Summarizing fits of 'kclustcurves' class produced by...

Description Usage Arguments Details Value Author(s) Examples

View source: R/summary.clustcurves.R

Description

Takes a clustcurves object and produces various useful summaries from it.

Usage

1
2
## S3 method for class 'clustcurves'
summary(object, ...)

Arguments

object

a clustcurves object as producted by survclustcurves and regclustcurves

...

additional arguments.

Details

print.clustcurves tries to be smart about summary.clustcurves.

Value

summary.clustcurves computes and returns a list of summary information for a clustcurves object.

levels

Levels of the factor.

cluster

A vector containing the assignment of each factor's level to its group.

table

A data.frame containing the results from the hypothesis test.

Author(s)

Nora M. Villanueva and Marta Sestelo.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
library(clustcurv)
library(survival)
library(condSURV)
data(veteran)
data(colonCS)

# Survival framework
ressurv <- survclustcurves(time = veteran$time, status = veteran$status,
x = veteran$celltype, algorithm = 'kmeans', nboot = 2)

summary(ressurv)


# Regression framework
resreg <- regclustcurves(y = barnacle5$DW, x = barnacle5$RC, z = barnacle5$F,
algorithm = 'kmeans', nboot = 2)

summary(resreg)

clustcurv documentation built on Jan. 14, 2021, 5:32 a.m.