subscript operator for 'parameters' objects
1 2 | ## S3 method for class 'parameters'
parameters[...]
|
one can use all.equal
to extract rows. Row's represent
the underlying grid of covariates. Covariates cannot be compared with
==
operator, since they are numeric
. Therefore one prefers
all.equal
for 'near equality'. Using all.equal
will either result in a character
TRUE
or message,
therefore we have to check if it's a character
, if so, we extract indexes
where TRUE
stays and use those for indexing. Drawback of this is slowness!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.