SDfunGen: A function which returns SD of input

Description Usage Arguments Value Examples

Description

This is a daft little function that returns the SD of input.

Usage

1
SDfunGen(x, na.rm = FALSE)

Arguments

x

is input: vector, tibble or data frame

na.rm

says whether to pass na.rm to var(). Defaults to TRUE.

Value

SD if var() can compute the variance.

Examples

1
SDfunGen(1:10)

cpsyctc/CEFunctions documentation built on May 8, 2019, 11:11 p.m.