SALSA1D:
SALSA2D:
Vignettes:
Other:
SALSA 1D:
SALSA 2D:
Other:
SALSA1D:
addition of parameter (logfile
) to remove dependence on log file sink if suppress.printout = TRUE
. Default is set to FALSE
so if suppress.printout = TRUE
then no log file is produced unless logfile = TRUE
seed added to initialisation of candidate knotsites. The selection of knotsites is only stochastic if you have more than 800 unique values for a variable. With the seed set this allows repeatability of analyses.
SALSA2D:
addition of parameter (logfile
) to remove dependence on log file sink if suppress.printout = TRUE
. Default is set to FALSE
so if suppress.printout = TRUE
then no log file is produced unless logfile = TRUE
Vignettes:
updates to the images
Other:
plotmeanVar
: the labelling for the Gaussian and Gamma alternative lines has been changed from "Poisson" to "1:1 line".
do.boostrap.cress.robust
. There is already a try catch for "svd" warnings with an alternative used so not necessary to see the warnings. SALSA 1D:
SALSA 2D:
Other:
plotMeanVar
line labelling was the wrong way round for the Gaussian case. This has been remedied.
cv.gamMRSea
occasional error relating to not finding CV0. Code edited so that if there is an issue with CV calculation, inf
is returned rather than an error. SALSA1D:
update function to allow the inclusion of a variable that is a Date
class.
SALSA2D:
the getRadiiChoices
and getRadiiChoices.vario
functions have been superseded and merged into one function: getRadiiSequence()
.
functions have been added to help create a factor based knot grid (selectFctrKnots
) and get an associated infinity-block distance matrix (updates to the makeDists
function). There is also a function to select space-filled starting knots for each factor level (selectFctrStartk
)
Vignettes:
Introduction to MRSea: added section on using make.gamMRSea
Renewables Case Study: vignette re-instated and completely updated for all new functions.
Other:
The seed used for CV score calculation is appended as an attribute to the output of cv.gamMRSea. Additionally it is also an optional input parameter.
getCVids
) is now appended as an attribute fo the returned vector of folds. SALSA 1D:
SALSA 2D:
The dispersion parameter estimate using getDisperson
function was incorrectly specified as 1 for the Tweedie distribution. This affected the dropping of "bad" knots in the initialise step resulting in more knots being dropped than should have been. This did not affect knots being subsequently added in the exchange step. The correct calculation is now included in the getDispersion
function.
initialise = FALSE
and specifying initial knot locations via initialKnPos
code has been added to snap the initial locations to the nearest candidate knot locations in the knot grid. Previously it was assumed these initial locations were a subset of the candidate set. Now any locations may be used. When using an odd number of radii and with chooseradii = FALSE
there may sometimes have been a mismatch from the output of SALSA2D and the output given from runSALSA2D
. The default is an even number so mostly this will not have been an issue.
Other:
When using the Tweedie distribution, the power parameter is not stored in the model call and so issues arise when using a stored model object where this parameter is no longer available. The parameter is stored within the model but updates have been made to runSALSA1D
and runSALSA2D
to ensure that the variance power and variance link are specified as numbers in the model call.
K
specified in cv.gamMRSea
is different to that in the model object new folds are now created with a warning message. The folds in the model object remain unchanged. Note that there is now an error message if the number of folds specified exceeds the number of unique panels. plotMeanVar
function. Additionally, the legend mismatched the data.runInfluence
and timeInfluenceCheck
. It worked fine for models without a 2D smooth but a specification error caused issues for models with one. Fixed and working as it should now. SALSA1D:
Tweedie distribution and associated information criterion added (AICtweedie
and BICtweedie
)
SALSA2D:
Tweedie distribution and associated information criterion added (AICtweedie
and BICtweedie
)
Vignettes:
Added a vignette for using the Tweedie distribution in gamMRSea models
mrds
packageThe case study vignette has been removed for updating and will return soon.
Other:
Mean variance plot function added. This allows the user to assess the suitability of the mean-variance distributional assumption for a number of distributions (Gaussian, Poisson, Quasi-Poisson, Gamma and Tweedie)
SALSA 1D:
SALSA 2D:
Other:
ensure data is a data.frame
(not tibble
) in create.bootstrap.data
and plotCumRes
functions
SALSA1D:
Update documentation for runSALSA1D
to include gap
parameter and splines
parameter. Default settings are gap=0
and splines="bs"
.
Change specification of cyclic smooths (parameter now specified in salsa1dlist
) and include additional option for a natural cubic spline.
SALSA2D:
Other:
Website created
runDiagnostics
functionSALSA 1D
Issue with using Q*IC and the update function for multiple 1D covariates. Problem resolved.
SALSA 2D
models
object. Hang over from the early days of MRSea
and taking up workspace memory.r_seq = ...
to salsa2dlist
require(parallel)
in do.bootstrap.cress.robust
predict.gamMRSea
, cv.gamMRSea
and anova.gamMRSea
)makeDists
function. If you supply a polygon defining an exclusion area, geodesic distances are calculated. gamMRSea
.runSALSA2D
function.tol
option in runSALSA2D re-instatedAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.