Skip to content
This repository
tree: d3ef5a4994
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (17 sloc) 0.387 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
\name{squish_infinite}
\alias{squish_infinite}
\title{Squish infinite values to range.}
\usage{
  squish_infinite(x, range = c(0, 1))
}
\arguments{
  \item{x}{numeric vector of values to manipulate.}

  \item{range}{numeric vector of length two giving desired
  output range.}
}
\description{
  Squish infinite values to range.
}
\examples{
squish_infinite(c(-Inf, -1, 0, 1, 2, Inf))
}
Something went wrong with that request. Please try again.