trial.plot: Plot and save images for class exercise using Survey123

Description Usage Arguments Value

View source: R/plot_functions.R

Description

Plot and save images for class exercise using Survey123

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
trial.plot(
  good,
  z,
  path = NULL,
  fname = NULL,
  seed,
  color = NULL,
  ngood = 500,
  npoor = 1000,
  cex = 1,
  showcoords = FALSE,
  site = ""
)

Arguments

good

logical value for whether visibility condition is good (TRUE) or poor (FALSE)

z

indicator variable for whether site truly is occupied (1) or unoccupied (0)

path

directory path for where image is saved

fname

file name for image

seed

value used to set seed in simulating x-y coordinates for the image

color

color code used for symbol indicating species occurrence

ngood

number of symbols used under good visibility conditions

npoor

number of symbols used under poor visibility conditions

cex

symbol size

showcoords

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

site

character string specifiying site name

Value

No value is returned. Files are written to user-specified folder location.


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