add package doco skeleton and images

This commit is contained in:
Jared Knowles
2020-02-13 17:09:03 -05:00
parent 1f41a4560d
commit f5f288974f
30 changed files with 1071 additions and 13 deletions
+23
View File
@@ -0,0 +1,23 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{safe_max}
\alias{safe_max}
\title{Safe maximum
Take the max but ignore missing values}
\usage{
safe_max(x)
}
\arguments{
\item{x}{a numeric vector which may contain NA values}
}
\value{
the maximum non-missing value
}
\description{
Safe maximum
Take the max but ignore missing values
}
\examples{
safe_max(1:10)
safe_max(c(1:10, NA)) # 10
}