APA2.psychobject: APA2

Description Usage Arguments Examples

View source: R/regression-typ2.R

Description

APA2

Usage

1
2
3
4
## S3 method for class 'psychobject'
APA2(x, caption = "", note = NULL,
  include.ci = FALSE, include.effect = FALSE,
  output = stp25output::which_output(), ...)

Arguments

x

lm object.

include.ci

Confidence interval

include.effect

Text zu Effect_Size

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
library(psycho)

 
 df <- psycho::affective  # Load a dataset from the psycho package
 #df <- standardize(df)  # Standardize all numeric variables
 
 fit <- lm(Age ~ Salary, data=df)  # Fit a Bayesian linear model
 results <- analyze(fit)  # Format the output
 APA2(results )
 
 
 
 library(lmerTest)
 fit <- lmerTest::lmer(Sepal.Length ~ Sepal.Width + (1|Species), data=iris)
 
 results <- analyze(fit)
 APA2(results)

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