APA: APA Style Text-Ausgabe

Description Usage Arguments Value Examples

View source: R/APA.R

Description

Ausgabe von APA-Style formatiertem Text.

APA.lm F-Test aus lm und Anova

APA.biVar: Korrelation mit Hmisc::spearman2

APA.survfit Mediane berechnen.

APA.survdiff Log-Rank-Test berechnen.

APA.htest: T-Test

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
APA(x, ...)

## S3 method for class 'NULL'
APA(x, ...)

## Default S3 method:
APA(x, ...)

test_APA(x)

test_APA2(x)

## S3 method for class 'formula'
APA(x, data, exclude = NA, max_factor_length = 25)

## S3 method for class 'stp25_reliability'
APA(x)

## S3 method for class 'polr'
APA(x, ...)

## S3 method for class 'lm'
APA(x, include.r = TRUE)

## S3 method for class 'glm'
APA(x, ...)

## S3 method for class 'biVar'
APA(x, ...)

## S3 method for class 'survfit'
APA(fit, ...)

## S3 method for class 'survdiff'
APA(fit)

## S3 method for class 'htest'
APA(x, ...)

## S3 method for class 'ScalarIndependenceTest'
APA(x, ...)

## S3 method for class 'xtabs'
APA(x, ...)

## S3 method for class 'table'
APA(x, ...)

Arguments

x

Objekt fit, formula usw

...

weitere Objekte

data

data.frame wenn x eine Formel ist

include.r

APA.lm: R-Squar

digits

Nachkommastellen

type

Mittelwert ("mean")

...

Value

Character Vector mit einem oder meheren Eintraegen

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
APA(mpg ~ cyl, mtcars)
APA(glm(vs ~ mpg, mtcars, family = binomial()))
APA(lm(mpg ~ drat + wt + qsec, mtcars))
APA(aov(mpg ~ drat + wt + qsec, mtcars))



## Not run: 
 library(stpvars)
 APA( ~ rrs0 + rrs1 + g, hyper)
 
 APA(chol0+chol1 ~ g, hyper) das geht nicht
 
## End(Not run)
 

APA(Reliability(~F3+F2+F10+F11, fkv, check.keys =TRUE))

# Correlation
APA(Hmisc::spearman2(mpg ~ factor(vs), mtcars))

 # T-Test 
APA(coin::wilcox_test(mpg ~ factor(vs), mtcars))
APA(wilcox.test(mpg ~ vs, mtcars))
APA(t.test(mpg ~ vs, mtcars))

stp4/stp25APA2 documentation built on May 24, 2019, 9:59 p.m.