mymean: Test Driven Development

View source: R/mymean.R

mymeanR Documentation

Test Driven Development

Description

A small example to see how far we come with implementing test driven development in a very controlled situation with a definite and simple solution we can check.

Usage

mymean(x, na.rm = T)

Arguments

x

vector of numbers

na.rm

boolean, should missing values in vector x be ignored?

Value

average of x


Stat585-at-ISU/worldle documentation built on April 4, 2023, 5:45 a.m.