mixedvarReport: Mixed Variable Report

Description Usage Arguments Details

Description

Generate several reports.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
  baselineReport(...)

  mixedvarReport(data, vars, panel, treat,
    longPanel = panel, ncaption = "", tableref = panel,
    test = TRUE, exclude1 = TRUE, long = TRUE,
    npct = c("numerator", "both", "denominator", "none"),
    prmsd = FALSE,
    contDataPlotType = c("bp", "dot", "raw"), nmin = 15,
    categDataPlot = !Odotchart,
    cdfPlot = length(levels(data[[treat]])) <= 2,
    contDataPlot = !cdfPlot, Ohist = TRUE,
    Odotchart = TRUE, bpPrototype = FALSE, digits = 3,
    append = FALSE, Major = NULL, MajorLabel = "",
    Majorvars = NULL, cexMajor = 0.7, continuous = 10,
    nx = 15, keyloc = list(x = 0.8, y = 0.02),
    landscape = FALSE, size = NULL, longtable = FALSE,
    h = 5, w = 6, lines.page = 40, clearPlots = FALSE,
    auxCol = NULL, prn = 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.

longPanel

character. Long name for panel.

ncaption

character. Caption text.

tableref

character. Passed to the function latex.

test

logical. See summary.formula.

exclude1

logical. See summary.formula.

long

logical. See summary.formula.

npct

character. See summary.formula.

prmsd

logical. See summary.formula.

contDataPlotType

character. Continuous data plot type should be one of the following: ‘bp’, ‘dot’, or ‘raw’.

nmin

numeric. See summary.formula.

categDataPlot

logical. Set to ‘TRUE’ to output a categorical data plot in the latex table being generated.

cdfPlot

logical. Set to ‘TRUE’ to output a CDF plot in the latex table being generated; only available to closed report.

contDataPlot

logical. Set to ‘TRUE’ to output a continous data plot in the latex table being generated; only available to closed report.

Ohist

logical. Set to ‘TRUE’ to output a histogram of the continuous variables.

Odotchart

logical. See summary.formula.

bpPrototype

logical. If ‘TRUE’ and contDataPlotType is ‘bp’, output a prototype box-percentile plot.

digits

numeric. Significant digits, passed to the function latex.

append

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

Major

character vector. Major categorical variables for site.

MajorLabel

character. Label for major stratification variable(s).

Majorvars

character vector. Major categorical variables for site. (NEED TO DISTINGUISH)

cexMajor

numeric. Plotting text size magnification, used for boxplots.

continuous

numeric. See summary.formula.

nx

numeric. THIS PARAMETER IS NOT USED.

keyloc

numeric vector. Key placement on the categorical data plot, see summary.formula.

landscape

logical. See latex.

size

character. See latex.

longtable

logical. See latex.

h

numeric. Height of plot, only used for categorical data plot. Default is 5in. See setps.

w

numeric. Width of plot, only used for categorical data plot. Default is 6in. See setps.

lines.page

numeric. See latex.

clearPlots

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

auxCol

list. See summary.formula.

prn

logical. See summary.formula.

...

Additional arguments, passed to plot. Only used for categorical data plot.

Details


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