num_cont: num_cont: Compute mean (standard deviation)

Description Usage Arguments Value Examples

View source: R/numeric_funcs.R

Description

Given a single numeric vector, will compute mean and standard deviation, returning results in string. Mostly called by other functions.

Usage

1
numeric_cont(x, .digits=2)

Arguments

x

A numeric vector

.digits

Significant figures to round to

Value

A character string of length 1, 'mean (SD)'

Examples

1
2
require(Scotty)
num_cont(mtcars$mpg)

kmcconeghy/Scotty documentation built on Aug. 26, 2020, 11:45 p.m.