add package doco skeleton and images
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user