Nothing
These bug fixes and features are scheduled for the upcoming releases.
bw.CV()
, add log()
for non-negativity and better scaling.kernelSmooth()
, being a local average, should have na.rm
and check the inputskernelDiscreteDensitySmooth()
, remove the table
attribute and change the test.weightedEL0
sparseVectorToList()
, the default trim(x)
should be such that the sum of sorted weights exceeds 0.99999999: trim = \(w) min(which(cumsum(sort(w / sum(w), decreasing = TRUE)) > 1 - 1e-8))
brentZero()
, like in uniroot()
..prepareKernel()
), return the attribute.prepareKernel()
AND mixed kernel: check if the max. column-wise gap between observations is >= than the bandwidth, otherwise write an informative messagebw.CV()
.kernelMixed()
kernelSmooth
memsave
and when to invoke it (based on nx*ng
)kernelDiscreteDensitySmooth()
kernelMixedSmooth()
: if LOO, do not de-duplicate xout
, copy it from arg$x
(currently mitigated via deduplicate.xout = FALSE
)kernelSmooth()
and kernelDensity()
should have an argument for increasing small bandwidths in case of zero weights to match the largest gap divided by 2 (times 1.1 to have at least some coverage)shift
argument (i.e. test the shift)kernelSmooth()
, kernelDensity()
, kernelWeights()
, and everything that used obsolete arguments in the exampleskernelDensity
and kernelSmooth
(>5 s) (make dontrun?)RcppParallel::setThreadOptions(numThreads = "auto")
as the 1st line of parallel-capable functions, use setDTthreads
also (check how data.table
does it)todor::todor_package()
, lintr::lint_package()
, R CMD check --as-cran
, and goodpractice::gp()
weightedEL
to EL0
and cemplik
-- now that it is in C++ -- to EL
EuL()
smoothEmplik()
accepts attach.attributes = TRUE
as a synonym for "all"
weightedEL()
weightedEL()
, as in Owen (2013)uniroot()
with a C++ version of Brent's zero search for speedprepareKernel()
where a valid y
vector with attributes would not pass the check.weightedEL()
.weightedEL()
preserves the names of the input vector in wts
.ctracelr()
by using the previous lambda value in the search (~4 times faster).mllog()
now has column names because it was confusing without them.svdlm()
is now a vector, not a 1-column matrix.sapply()
with vapply()
in smoothing functions.sparseKernelWeightsCPP()
to save memory.RcppParallel
).RcppArmadillo
(20--50% speed gains through better iterations, code structure, and condition checks).pnd
.RcppArmadillo
for speed-up, refactored the kernel-related code.renormalise = FALSE
).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.