ped_info: Extract interval information and median/modus values for...

Description Usage Arguments Value See Also Examples

View source: R/interval-information.R

Description

Given an object of class ped, returns data frame with one row for each interval containing interval information, mean values for numerical variables and modus for non-numeric variables in the data set.

Usage

1
ped_info(ped)

Arguments

ped

An object of class ped as returned by as_ped.

Value

A data frame with one row for each unique interval in ped.

See Also

int_info, sample_info

Examples

1
2
ped <- tumor[1:4,] %>% as_ped(Surv(days, status)~ sex + age)
ped_info(ped)

adibender/ped documentation built on Dec. 16, 2019, 12:33 a.m.