checkSaved {slp} | R Documentation |
Determine if combination of N, W and K is available on disk, or must be computed
Description
Given values for N
, W
and K
, determine if the combination is
available on disk as a data()
load. If so, significant time savings can be
obtained, especially for large N
.
Usage
checkSaved(N, W, K)
Arguments
N |
the length of the time index array, in units of |
W |
the time bandwidth, in units of |
K |
the number of basis vectors requested. |
Details
Does a lookup against data(slpSavedObjects)
to determine whether the
combination of N
, W
and K
is saved on disk as part of the
package, and can be loaded. It is possible to create your own basis objects for
particular choices of N
, W
and K
and save them as part
of the library directory, updating slpSavedObjects
as you do so.
Value
Logical (TRUE
or FALSE
), indicating availability or lack thereof.
Examples
# Examples using pkg:gam
library("slp")
checkSaved(N = 730, W = 6, K = 24)
checkSaved(N = 365, W = 6, K = 13)