print.meansd: Print method for objects of class '"meansd"'

Description Usage Arguments Value

View source: R/meansd.R

Description

Print method for objects of class "meansd"

Usage

1
2
## S3 method for class 'meansd'
print(x, digits = 2, na.rm = TRUE, label = FALSE)

Arguments

x

A numeric vector

digits

The number of digits to print.

na.rm

Logical, whether to remove NA values in x.

label

(default TRUE) Logical, TRUE adds "M" and "SD" as labels.

Value

A string holding the mean m und standard deviation sd as "m (sd)" or "M = m, SD = sd"


JanaJarecki/cognitiveutils documentation built on Sept. 9, 2020, 9:11 a.m.