matrixOps, which was introduced in
4.3.0. Methods for matrix multiplication are therefore only implemented
if R >= 4.3.0.draws_sd(), draws_var(),
draws_cv() for summarising across draws. (#37)pool_draws(), for combining draws across
categories. (#35)new_rvec_chr(),
new_rvec_dbl(), new_rvec_int(), and
new_rvec_lgl(). Deprecated function
new_rvec(). The new functions initialise a vector with 0,
““, or FALSE, while new_rvec() initialised it
with NA, which was awkward. (#36)%*% method for Matrix::Matrix
objects. (#31)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.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.