Displays a summary of AnalysisResults
object.
Usage
# S3 method for class 'AnalysisResults'
summary(object, ..., type = 1, digits = NA_integer_)
Arguments
- object
An
AnalysisResults
object.- ...
Ensures that all arguments (starting from the "...") are to be named and that a warning will be displayed if unknown arguments are passed.
- digits
Defines how many digits are to be used for numeric values. Must be a positive integer of length 1.
Value
Returns a SummaryFactory
object.
The following generics (R generic functions) are available for this result object:
Summary options
The following options can be set globally:
rpact.summary.output.size
: one ofc("small", "medium", "large")
; defines how many details will be included into the summary; default is"large"
, i.e., all available details are displayed.rpact.summary.justify
: one ofc("right", "left", "centre")
; shall the values be right-justified (the default), left-justified or centered.rpact.summary.width
: defines the maximum number of characters to be used per line (default is83
).rpact.summary.intervalFormat
: defines how intervals will be displayed in the summary, default is"[%s; %s]"
.rpact.summary.digits
: defines how many digits are to be used for numeric values (default is3
).rpact.summary.digits.probs
: defines how many digits are to be used for numeric values (default is one more than value ofrpact.summary.digits
, i.e.,4
).rpact.summary.trim.zeroes
: ifTRUE
(default) zeroes will always displayed as "0", e.g. "0.000" will become "0".
Example: options("rpact.summary.intervalFormat" = "%s - %s")
How to get help for generic functions
Click on the link of a generic in the list above to go directly to the help documentation of
the rpact
specific implementation of the generic.
Note that you can use the R function methods
to get all the methods of a generic and
to identify the object specific name of it, e.g.,
use methods("plot")
to get all the methods for the plot
generic.
There you can find, e.g., plot.AnalysisResults
and
obtain the specific help documentation linked above by typing ?plot.AnalysisResults
.