| $.grideval_result {copre} | R Documentation |
Grid evaluation of copre_result and seqre_result objects
Description
Grid evaluation of copre_result and seqre_result objects
Usage
## S3 method for class 'grideval_result'
obj$name
## S3 method for class 'grideval_result'
obj[[i]]
grideval(obj, grd = NULL, func = "density", nthreads = 1)
## S3 method for class 'copre_result'
grideval(obj, grd = NULL, func = "density", nthreads = 1)
## S3 method for class 'seqre_result'
grideval(obj, grd = NULL, func = "density", nthreads = 1)
Arguments
obj |
A |
name |
The name of the attribute to access (i.e. |
i |
A numeric vector of sample indices. |
grd |
For |
func |
Either 'distribution', 'density', or 'gradient'. |
nthreads |
The number of parallel threads to launch with OpenMP. |
Value
A grideval_result object, which is a matrix with dimension [k, m]
of evaluated sample functions, with the following attributes:
-
func: The evaluated function. -
grid: The grid points on which each of thekrows was evaluated. -
args: A copy of theargsentry fromobj.
Methods (by class)
-
grideval(copre_result): Grid evaluation method forcopre_resultobjects. -
grideval(seqre_result): Grid evaluation method forseqre_resultobjects.
Functions
-
$: Attribute access method forgrideval_resultobjects -
[[: Subset method forgrideval_resultobjects