gg_desc_lsmeans: Creates a ggplot object corresponding to a LS Means desc...

Description Usage Arguments Details Value See Also Examples

View source: R/gg_desc_lsmeans.R

Description

gg_desc_lsmeans ggplot object is created. It is used internally in function plot.desc. It's easier to use this last one.

Usage

1
2
gg_desc_lsmeans(desc, title = "", ylim = NULL, xlim, xlab = "",
  ylab = "", legend.label = "Group", add.ci = F, add.line = T)

Arguments

desc

Desc object

title

Character The title of the plot

ylim

Numeric of length 2 for setting y axis limits

xlim

Numeric of length 2 for setting x axis limits

xlab

Character Label for x-axis

ylab

Character Label for y-axis

legend.label

Character Label for the legend (used only if x1 and x2 are not NULL in the desc object)

add.ci

Logical. If TRUE it adds bars to the means representing 95% CI

add.line

Logical. If TRUE it joins the dots with a line (default to TRUE)

Details

It is used internally in function plot.desc. It's easier to use this last one.

Value

A ggplot object.

See Also

plot.desc report.lsmeans gg_desc_quali gg_desc_quanti

Examples

1


ClinReport documentation built on Sept. 3, 2019, 5:07 p.m.