Tabulate and export secr outputs

questions concerning anlysis/theory using program DENSITY and R package secr. Focus on spatially-explicit analysis.

Tabulate and export secr outputs

Postby Bill » Wed Feb 13, 2019 7:39 pm

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.
Bill
 
Posts: 10
Joined: Tue Jan 31, 2012 11:18 pm

Re: Tabulate and export secr outputs

Postby murray.efford » Wed Feb 13, 2019 8:38 pm

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
murray.efford
 
Posts: 582
Joined: Mon Sep 29, 2008 7:11 pm
Location: Dunedin, New Zealand

Re: Tabulate and export secr outputs

Postby Ulrike » Sun Sep 22, 2019 3:09 pm

Hi,

You could use the stargazer package, the stargazer function gives you latex code for tabulating the results.
Ulrike
 
Posts: 4
Joined: Sat Aug 31, 2019 10:24 am


Return to analysis help

Who is online

Users browsing this forum: No registered users and 1 guest