write_dm_and_run2: write_dm_and_run2

Description Usage Arguments Value

Description

Write design matrices to file and run correlated detection model in Presence. Note that this function calls Presence in a slightly different way than the 'write_dm_and_run()' function in the current version of RPresence

Usage

1
2
3
write_dm_and_run2(pao, cov_list, is.het, dm_list = NULL, modname,
  fixed = FALSE, inits = FALSE, maxfn = 32000, alpha = NULL,
  parse = FALSE)

Arguments

pao

.pao file for analysis

cov_list

List containing the covariates for each parameter

dm_list

List containing the design matrices for each parameter

modname

Optional name for .out file with model results

fixed

vector of fixed values (eg., fixed(1)=0, fixed(4)=.1 -> fixed=c(0,.1); names(fixed)=c(1,4))

maxfn

maximum number if iterations for optimization routine

out

Which output folder should results be written to?

initvals

vector of beta initial values

Value

A .out file containing the fitted model and parameters estimates (see ?occ.mod for details)


SMBC-NZP/BBSclim documentation built on May 9, 2019, 11:20 a.m.