# squish_infinite

From scales v0.4.0
by Hadley Wickham

##### Squish infinite values to range.

Squish infinite values to range.

##### Usage

`squish_infinite(x, range = c(0, 1))`

##### Arguments

- x
- numeric vector of values to manipulate.
- range
- numeric vector of length two giving desired output range.

##### Examples

```
squish_infinite(c(-Inf, -1, 0, 1, 2, Inf))
```

*Documentation reproduced from package scales, version 0.4.0, License: MIT + file LICENSE*

### Community examples

Looks like there are no examples yet.