R/interval-information.R
ped_info.RdGiven 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.
ped_info(ped) # S3 method for ped ped_info(ped)
| ped | An object of class |
|---|
A data frame with one row for each unique interval in ped.
#> # A tibble: 2 x 7 #> tstart tend intlen intmid interval sex age #> <dbl> <dbl> <dbl> <dbl> <fct> <fct> <dbl> #> 1 0 33 33 16.5 (0,33] male 60.2 #> 2 33 308 275 170. (33,308] male 60.2