Description Usage Arguments Value
View source: R/plot_functions.R
Plot and save images for class exercise using Survey123
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 = ""
)
|
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 |
No value is returned. Files are written to user-specified folder location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.