| subset.estimate | R Documentation |
Methods for extracting or sorting parameter estimates
## S3 method for class 'estimate'
subset(x, keep, ...)
## S3 method for class 'estimate'
rev(x)
## S3 method for class 'estimate'
tail(x, n = 1, ...)
## S3 method for class 'estimate'
head(x, n = 1, ...)
## S3 method for class 'estimate'
sort(x, decreasing = FALSE, by = c("labels", "values"), ...)
## S3 method for class 'estimate'
x[i, ...]
## S3 method for class 'estimate'
with(data, expr, ...)
x |
|
keep, i |
subset (integer or character vector) of elements to extract |
... |
arguments passed to utils::tail, utils::head, base::sort, base::subset |
n |
an integer vector of length up to |
decreasing |
logical. Should the sort be increasing or decreasing? Not available for partial sorting. |
by |
sorted by "values" or "labels" of parameters |
data |
data to use for constructing an environment. For the
default |
expr |
expression to evaluate; particularly for {
a <- somefun()
b <- otherfun()
.....
rm(unused1, temp)
}
|
utils::tail base::rev utils::head base::sort base::subset
e <- estimate(coef=4:1, IC=matrix(0,nrow=2,ncol=4), labels=letters[1:4])
subset(e, c(1,4))
sort(e, by="values")
head(e, 2)
rev(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.