labReport: Lab Report

Description Usage Arguments Details

Description

summary

Usage

1
2
3
4
5
6
  labReport(data, vars, panel, treat, id, time, times,
    longPanel = panel, h = 6.5, w = 6.5, diffs = FALSE,
    cdfPlot = length(levels(data[[treat]])) <= 2,
    tables = TRUE,
    boxPlot = is.logical(cdfPlot) && !cdfPlot, digits = 3,
    append = FALSE, clearPlots = FALSE, open = TRUE, ...)

Arguments

data

data.frame. Data used for report.

vars

character vector. Variables to include in analysis.

panel

character. Name for panel.

treat

character. Name of treatment variable within dataset.

id

character. Name of id variable within dataset.

time

character. Name of time variable within dataset.

times

numeric vector. Subset of times to use.

longPanel

character. Long name for panel.

h

numeric. Height of plot, see setps. THIS PARAMETER IS NOT USED.

w

numeric. Width of plot, see setps. THIS PARAMETER IS NOT USED.

diffs

logical. THIS PARAMETER IS NOT USED.

cdfPlot

logical or character vector. If ‘TRUE’ generate CDF plots for variables in vars. If this is a vector of variables names, generate CDF plots for this variables.

tables

logical. If ‘TRUE’ generate latex to output summary tables.

boxPlot

logical. If ‘TRUE’ generate boxplots for variables in vars.

digits

numeric. Significant digits, passed to the function latex.

append

logical. If ‘TRUE’ output will be appended instead of overwritten.

clearPlots

logical. Set to ‘TRUE’ to clear the page after each plot.

open

logical. Set to ‘TRUE’ to additionally create the ‘open’ report.

...

Additional arguments, unused at this time.

Details

By default the function plots CDFs if the number of treatment groups is less or equal than two. If the number of treatment groups is three or more boxplots are created.


harrelfe/rreport documentation built on May 17, 2019, 2:48 p.m.