roots | R Documentation |
Gets the parameter estimates matrix from a geex object
roots(object, ...) ## S4 method for signature 'geex' roots(object) ## S4 method for signature 'geex_summary' roots(object)
object |
a |
... |
arguments passed to other methods |
ex_eeFUN <- function(data){ function(theta){ with(data, c(Y1 - theta[1], (Y1 - theta[1])^2 - theta[2] )) }} results <- m_estimate( estFUN = ex_eeFUN, data = geexex, root_control = setup_root_control(start = c(1,1))) roots(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.