Learn R Programming

scplot (version 0.5.1)

scplot.sc_hplm: This function generates a forest plot for the random effects of a mixed hplm model

Description

This function generates a forest plot for the random effects of a mixed hplm model

Usage

# S3 method for sc_hplm
scplot(object, effect = "intercept", mark = "fixed", ci = 0.95, ...)

Value

A forest plot displaying Tau-U effects.

Arguments

object

The return from the hplm() function.

effect

The specific effect to be plotted (default is the intercept).

mark

Set a reference line.

ci

Value between 0 and 1 for calculating the confidence interval.

...

Further arguments.

Examples

Run this code
model <- scan::hplm(scan::Leidig2018, random.slopes = TRUE)
scplot(model, effect = "level")

Run the code above in your browser using DataLab