probabilistic_round: round a (vector of) numbers up with probability equal to...

Description Usage Arguments Value

View source: R/general_functions.R

Description

round a (vector of) numbers up with probability equal to their non-integer parts

Usage

1

Arguments

x

numeric vector

Value

numeric vector of the same length as x


ada-w-yan/reassortment documentation built on April 10, 2021, 12:03 a.m.