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

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

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.

Value

A forest plot displaying Tau-U effects.

Examples

model <- scan::hplm(scan::Leidig2018, random.slopes = TRUE)
scplot(model, effect = "level")
#> Possible effects are: 
#> 2: 'Intercept'
#> 3: 'Trend mt'
#> 4: 'Level phase B'
#> 5: 'Slope phase B'