View source: R/summary.statistics.R
summary.statistics | R Documentation |
it return descriptives for two phases: baseline and induction. You can also input the type to make a summary of the data.
## S3 method for class 'statistics' summary(data, phase = NULL, type = NULL)
data |
data frame |
phase |
analysis phases. Mandatory parameter, it could be: 'baseline' or 'transfer'. |
type |
Output type. It could be: mean_sd, mean, mean_se |
a tibble with the statistics
df<-data.frame('your data') summary.statistics(df,phase='baseline') summary.statistics(type = 'mean_sd) long.data(df, 'induction', '1, 'mean_sd')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.