Learn R Programming

smam (version 0.7.2)

estimate: Estimate Result of smam Estimators

Description

`estimate` function returns the estimate result of `smam::fitXXXX` from smam package.

Usage

estimate(x, ...)

# S3 method for smam_mrme estimate(x, ...)

# S3 method for smam_mr estimate(x, ...)

# S3 method for smam_mm estimate(x, ...)

# S3 method for smam_mrh estimate(x, ...)

# S3 method for smam_bmme estimate(x, ...)

Arguments

x

a fitted object from one of `smam::fitXXXX` functions

...

other arguments

Examples

Run this code
## time consuming example
#tgrid <- seq(0, 100, length=100)
#set.seed(123)
#dat <- rMRME(tgrid, 1, 0.5, 1, 0.01, "m")

## fit whole dataset to the MRME model
#fit <- fitMRME(dat, start=c(1, 0.5, 1, 0.01))
#fit

## get covariance matrix of estimators
#estimate(fit)

Run the code above in your browser using DataLab