truncate: Truncate a numeric vector

Description Usage Arguments Examples

View source: R/Common.R

Description

Truncate a numeric vector

Usage

1
truncate(x, lower, upper)

Arguments

x

A numeric vector

lower

Lower bound

upper

Upper bound

Examples

1
trunc(rnorm(100,3,6),0,7)

cascsim documentation built on Jan. 13, 2020, 5:07 p.m.