LaTeX summary
TexSummary.RdCreates a TeX table from a summary object or a vector of files.
Usage
TexSummary(obj, files = NULL, sep_ = ",", FctsToApply = StatFcts,
caption = "Statistical Summary", label = "Simtab",
digits = 3, par_index = 1, MCparam = 1000, ...)Arguments
- obj
listof length 4 containing a summarymatrixobject associated to each parameter identical to the one produced by functionComputeStatObjectFromFiles.- files
charactervector containing the files name to be parsed. It will be passed to functionComputeStatObjectFromFiles.- sep_
field separator character to be passed to function
ComputeStatObjectFromFiles.- FctsToApply
functions used to produce the statistical summary to be passed to the function
ComputeStatObjectFromFiles.- caption
charactervector with length equal tolength(par_index)containing the table's caption or title.- label
charactervector with length equal tolength(par_index)containing the LaTeX label.- digits
numericvector of length equal to one (in which case it will be replicated as necessary) or to the number of columns of the resulting table or length ofFctsToApplyor matrix of the same size as the resulting table indicating the number of digits to display in the corresponding columns. Seextable.- par_index
numericorcharactervector of length 1, 2, 3 or 4 of the desired indices to be selected inobj. See Details.- MCparam
number of Monte Carlo simulations for each couple of parameters, default = 1000; integer.
- ...
other arguments to be passed to function
ComputeStatObjectFromFiles.
Details
Accepted values for par_index are c(1,2,3,4) or
c("alpha","beta","gamma","delta") or mixed.
Some examples are provided in the example folder.
Value
a list of length length(par_index) whose elements are
objects from class Latex (produced by toLatex)