View source: R/createCactusRealizations.R
createCactusRealizations | R Documentation |
Create Cactus Realization Data
createCactusRealizations(PlotSurveys_season1, ovar)
PlotSurveys_season1 |
Plot survey data from season 1. |
ovar |
occupancy variables. |
The data from Sauby and Christman.
saubyadaptiveACSampling
library(ggplot2) CactusRealizations <- createCactusRealizations( PlotSurveys_season1, ovar = c( "Stricta", "Pusilla", "Cactus", "CACA_on_Pusilla", "CACA_on_Stricta", "MEPR_on_Pusilla", "MEPR_on_Stricta", "Old_Moth_Evidence_Pusilla", "Old_Moth_Evidence_Stricta" # "Percent_Cover_Pusilla", # how do I do these? they are occupancy nor abundance # "Percent_Cover_Stricta", # "Height_Pusilla", # "Height_Stricta", ) ) ggplot( CactusRealizations, aes( x, y, shape = factor(Cactus) )) + geom_point() + facet_wrap(~population) + scale_shape_manual(values=c(4,16))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.