prob()
, a version of draws_mean()
that works only with logical rvecs. (#27)rvec()
and rvec_dbl()
now accept sparse matrices (inheriting from âMatrixâ), in addition to dense matrices. (#25)rbinom_rvec()
, rgeom_rvec()
, rhyper_rvec()
, rmultinom_rvec()
, rnbinom_rvec()
, and rpois_rvec()
now always return doubles, even when the counts are small. The standard R approach of giving integers when counts are small and doubles when counts are large was generating Valgrind errors in dependent packages.is.numeric
methods for rvecs. These had been creating problems with functions from non-rvec packages, since is.numeric
generally implies that an object is a base R style numeric vector.=
when printing rvec_lgl
, so that, for instance, p = 0.5
becomes p=0.5
.rvec()
, rvec_chr()
, rvec_dbl()
, rvec_int()
, and rvec_lgl()
now accept rvec arguments.draws_ci()
now accepts width
arguments with length greater than
new_rvec()
, which creates rvecs with specified values for type, length, and n_draw
, consisting entirely of NAs.extract_draw()
, which extracts a single draw from an rvec.anyNA()
so it returns an rvec, rather than a logical scalar.drop = FALSE
argument to calls to matrixStats::rowQuantiles()
is.numeric()
. (Canât add methods for is.character()
, is.double()
, is.integer()
, is.logical()
, since these are non-generic primitives.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4