truncate: Truncate a numeric vector

View source: R/Common.R

truncateR Documentation

Truncate a numeric vector

Description

Truncate a numeric vector

Usage

truncate(x, lower, upper)

Arguments

x

A numeric vector

lower

Lower bound

upper

Upper bound

Examples

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

casact/cascsim documentation built on Nov. 12, 2022, 11:53 p.m.