Nothing
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
1.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.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.