This update narrows down the scope of TrenchR by removing functions which have a more general application than just for use with trench-like data. Since this is applied to both internal as well as NAMESPACE functions, this update may break code that calls any of these functions from TrenchR which is, however, alleviated by the fact that all these functions are available from dependent packages installed along with this new version.
In detail, the following functions are no longer part of TrenchR but instead available from the specified external packages:
Polyplot
is replaced by grfxtools::Polyplot
;rmsd
is replaced by stattools::rmsd
;SetPlotPar
is replaced by grfxtools::Par
;AverageIndexBins
is replaced by prxytools::AverageByIndex
;MinorTick
is replaced by grfxtools::MinorTick
;which.peaks
is replaced by prxytools::LocatePeaks
;my.legend
is replaced by grfxtools::Legend
.Note the function name change in some cases. Usage and version of the new
functions are identical to the previous ones, except for grfxtools::Par
and
grfxtools::MinorTick
which are enhanced versions of the respective TrenchR
versions.
In order to additionally optimise dependencies, the dependencies on the packages
prettymapr and Hmisc have been removed since only one function is used
from either package: prettymapr::addnortharrow
and
Hmisc::Lag
. prettymapr::addnortharrow
is replaced by the slightly enhanced
version grfxtools::AddNorthArrow
and Hmisc::Lag
is replaced by the identical
prxytools::Lag
. The former case also circumvents the problem of a potential
future deprecation of prettymapr
and consequent removal from CRAN.
LoopParamSpace()
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.