Learn R Programming

oce (version 0.5-1)

showThrees: Show min, mean, and max values

Description

Show min, mean, and max values

Usage

showThrees(x, indent="    ")

Arguments

x
a list that contains an item named threes, which is a matrix, containing data as created with fivenum, with colnames and rownames specified. See Details.
indent
a spacer put at the left of each line of the result

Value

  • A multi-line string, suitable for printing.

Details

This is a helper function for various summary functions. The colnames are c("Min.", "Mean", "Max."), and the rownames are the names of the variables being summarized.

Examples

Run this code
library(oce)
data(ptr)
s <- summary(ptr)
showThrees(s)

Run the code above in your browser using DataLab