prepare_sequential {hero} | R Documentation |
Sequentially prepare data for sandwich smooth
Description
Sequentially prepare each observation for smoothing. It is assumed that each
observation resides in its own file and that do.call(import_fun,
list(import_list[i]))
will import the data associated with observation
i
into memory. The import_fun
argument should be a function
after the style of readRDS
, where the object can be
assigned a name once it is read in. The import_fun
argument should NOT
be like load
, where the object loaded has a preassigned
name.
Usage
prepare_sequential(
import_list,
import_fun = base::readRDS,
x,
splines,
assembled,
package = "base",
call_args = list(),
...
)
Arguments
import_list |
A vector or list whose elements tell |
import_fun |
A function that will read each observation into memory
based on the elements of |
x |
The list of arguments at which to evaluate each
of the splines used to construct |
splines |
A list of spline-related objects. Each element of
|
assembled |
A list of |
package |
A character string indicating the package to use for the
computations. The choices are |
call_args |
A named list providing relevant arguments to the
|
... |
Not implemented |
Value
A prepared_sequential
object
Author(s)
Joshua P. French
See Also
prepare
, mclapply
,
pblapply
, future_lapply
,
mpi.applyLB