prepare_data2: prepare_data2

Description Usage Details Value Examples

View source: R/prepare_data2.R

Description

Funktion wird zum Aufbereiten der Daten verwendet. Die Daten werden als tibble::as_tibble() weitergegeben.

Usage

1
2
3
4
prepare_data2(...)

## S3 method for class ''NULL''
prepare_data2()

Details

Tabelle.default() errate_statistik3() APA.formula() corr_plot.formula() Hmisc_rcorr() also APA_Correlation

Value

Liste mit Namen und Daten data, measure.vars , group.vars, condition.vars, formula, by, measure, row_name, col_name, measure.class, group.class, condition.class, digits

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dat<- data.frame(sex=1:2, m1=1:2,m2=1:2, m3=1:2, m4=1:2, m5=1:2, m6=1:2, geschl=1:2)

prepare_data2(~ m1 + m2 + m3 + m4, dat)
prepare_data2(~ log(m1) + m2 + m3 + m4, dat)
prepare_data2(~ m1[1] + m2 + m3 + m4, dat)
prepare_data2(~ m1[1] + m2 + m3[4,median] + m4, dat)
prepare_data2(dat, m1, m2, m3, m4)
prepare_data2(dat, 4:7)
prepare_data2(dat, m1[1], m2, m3, m4)
prepare_data2(dat, m1[1], m2, m3[4,median], m4)
prepare_data2(dat, m1 , m2, m3=median, m4)
prepare_data2(dat, m1, m2, m3 , m4, by =  ~ geschl)
prepare_data2(dat, m1[4, median], m2, m3 , m4[5], by =  ~ geschl)

stp4/stp25formula documentation built on Sept. 17, 2021, 2:04 p.m.