Page 1 of 1

Tabulate and export secr outputs

PostPosted: Wed Feb 13, 2019 7:39 pm
by Bill
Dear secr users
This may be an incredibly simply question, therefore I apologise in advance.
I am seeking a succinct way to export in tabular form the outputs of a given model, these outputs being g0 and sigma with associated error margins, and density with associated error margins and coefficients of variation (e.g. from the derived() command). Is there a command specific to secr, or will I need to specify my own data frame? I am dealing with multi-session models across multiple sites with covariates which result in some lengthy outputs.
Thank-you for your time.
Bill.

Re: Tabulate and export secr outputs

PostPosted: Wed Feb 13, 2019 8:38 pm
by murray.efford
I think you really should make a simple custom function that assembles exactly the values you want. The summary method for secr objects has the bits separately:
Code: Select all
summary(secrdemo.CL, deriv = TRUE)

The predict method for secr objects takes the argument 'all.levels' (passed to secr.make.newdata) that may be handy.
Murray

Re: Tabulate and export secr outputs

PostPosted: Sun Sep 22, 2019 3:09 pm
by Ulrike
Hi,

You could use the stargazer package, the stargazer function gives you latex code for tabulating the results.