Description Usage Arguments Details
Generate several reports.
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, ...)
|
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
|
test |
logical. See
|
exclude1 |
logical. See
|
long |
logical. See
|
npct |
character. See
|
prmsd |
logical. See
|
contDataPlotType |
character. Continuous data plot type should be one of the following: ‘bp’, ‘dot’, or ‘raw’. |
nmin |
numeric. See
|
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
|
bpPrototype |
logical. If ‘TRUE’ and
|
digits |
numeric. Significant digits, passed to the
function |
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
|
nx |
numeric. THIS PARAMETER IS NOT USED. |
keyloc |
numeric vector. Key placement on the
categorical data plot, see
|
landscape |
logical. See
|
size |
character. See |
longtable |
logical. See
|
h |
numeric. Height of plot, only used for
categorical data plot. Default is 5in. See
|
w |
numeric. Width of plot, only used for
categorical data plot. Default is 6in. See
|
lines.page |
numeric. See
|
clearPlots |
logical. Set to ‘TRUE’ to clear the page after each plot. |
auxCol |
list. See
|
prn |
logical. See
|
... |
Additional arguments, passed to
|
Generate a summary table of treatment against all variables.
Plot categorical data if
categDataPlot
is ‘TRUE’.
Plot
continuous data if contDataPlot
is ‘TRUE’.
Include a prototype box-percentile plot if
contDataPlotType
. is ‘bp’ and
bpPrototype
is ‘TRUE’.
Plot the cumulative distribution function.
Plot a histogram
for categorical variables if Ohist
is
‘TRUE’.
Print a box-percentile plot for each
variable stratified by Major
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.