Prints contents of the first input x in a human-friendly way, see
Details for more information.
Logic from pryr:::print.pryr_bytes but simplified and included here to minimise dependencies.
Usage
# S3 method for hrqolr_trajectories
print(x, prop_decimals = 3, ...)
# S3 method for hrqolr_results
print(x, decimals = 3, prefix_outcome = "primary", ...)
# S3 method for hrqolr_scenario_validation_results
print(x, ...)
# S3 method for hrqolr_scenario
print(x, ...)
# S3 method for hrqolr_comparisons
print(x, decimals = 3, ...)
# S3 method for hrqolr_summary_stats
print(x, decimals = 3, ...)
# S3 method for hrqolr_bytes
print(x, digits = 3, ...)Arguments
- x
the object to be printed.
- prop_decimals
single integer (default is
3), the number of digits used when printing proportions.- ...
not used
- decimals
single integer, number of decimals in summary statistics and comparisons
- prefix_outcome
character, name of the primary outcome(s). Will print comparisons for all values given.
- digits
a non-null value for
digitsspecifies the minimum number of significant digits to be printed in values. The default,NULL, usesgetOption("digits"). (For the interpretation for complex numbers seesignif.) Non-integer values will be rounded down, and only values greater than or equal to 1 and no greater than 22 are accepted.