one.step: Simulate, format, and save survey site and observation data

Description Usage Arguments Value

View source: R/simulation_functions.R

Description

Simulate, format, and save survey site and observation data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
one.step(
  year,
  habcov,
  nsites,
  nocc,
  p,
  showcoords,
  cex,
  ngood,
  npoor,
  write.data = FALSE,
  write.images = FALSE,
  return.data = FALSE
)

Arguments

year

numeric value for survey year

habcov

dataframe containing IDs, x-y coordinates, and habitat covariate values for all sites

nsites

number of sites to randomly select from all sites that will be surveyed

nocc

number of survey occasions conducted per site

p

dataframe containing detection probabilities

showcoords

logical value for whether to display coordinates for species location (TRUE) or site name (FALSE) as main title

cex

symbol size

ngood

number of symbols used under good visibility conditions

npoor

number of symbols used under poor visibility conditions

write.data

logical value specifying whether to save site and occurrence data sets to raw data folder

write.images

logical value specifying whether to save images for class exercise

Value

list of length 3 containing site.data, occu.data, and s123.data


USFWS/SppDistMonProj documentation built on May 27, 2020, 9:44 a.m.