Skip to contents

Summary of dataframe.

Usage

statdf(df, n = 2, cmcase = FALSE, prop = FALSE)

Arguments

df

dataframe of time series.

n

digits for reuslt in dataframe.

cmcase

logical value. Set to TRUE if you only want to summary cases which are complete, i.e., have no missing values.

prop

logical value. Convert time series into proportion time series before summary.

Value

a dataframe, columns stands for parameters, rows stands for variables.

Details

Summary of dataframe: mean, standard deviation (sd), minimum (min), percentiles (0.25, 0.50, 0.75), maximum (max).

Examples

statdf(voc)
#>                mean   sd  min  25%  50%  75%  max integrity
#> Propylene      0.70 0.56 0.23 0.37 0.51 0.73 4.06         1
#> Acetylene      0.41 0.18 0.11 0.29 0.38 0.50 0.98         1
#> n.Butane       1.08 0.90 0.33 0.56 0.81 1.18 5.62         1
#> trans.2.Butene 0.05 0.03 0.02 0.04 0.04 0.06 0.20         1
#> Cyclohexane    0.10 0.04 0.07 0.08 0.09 0.11 0.35         1