Learn R Programming

report (version 0.1.0)

report.estimateContrasts: Estimated Means, Contrasts, Slopes and Smooth Report

Description

Create a report of an object from the estimate package.

Usage

# S3 method for estimateContrasts
report(model, ...)

# S3 method for estimateMeans report(model, ...)

# S3 method for estimateSlopes report(model, ...)

# S3 method for estimateSmooth report(model, ...)

Arguments

model

Object of class estimate

...

Arguments passed to or from other methods.

See Also

report

Examples

Run this code
# NOT RUN {
library(estimate)
library(rstanarm)

model <- stan_glm(Sepal.Width ~ Species * Petal.Width, data = iris)
report(estimate_contrasts(model))
report(estimate_contrasts(model, fixed = "Petal.Width"))
report(estimate_contrasts(model, modulate = "Petal.Width", length = 2))
# }
# NOT RUN {
# }
# NOT RUN {
library(rstanarm)
model <- stan_glm(Sepal.Width ~ Species * Petal.Width, data = iris)
report(estimate_means(model))
# }
# NOT RUN {
library(rstanarm)
model <- stan_glm(Sepal.Width ~ Species * Petal.Width, data = iris)
report(estimate_slopes(model))
# }
# NOT RUN {
library(rstanarm)
model <- stan_glm(Sepal.Width ~ poly(Petal.Length, 2), data=iris)
report(estimate_smooth(model))
# }

Run the code above in your browser using DataLab