# NOT RUN {
sp <- c("Lavandula stoechas", "Carpobrotus edulis", "Rhododendron ponticum",
"Alkanna lutea", "Anchusa arvensis")
is_native(sp[1], where = "Islas_Baleares", region = "europe")
lapply(sp, is_native, where = "Continental US", region = "america")
lapply(sp, is_native, where = "Islas_Baleares", region = "europe")
# combine output for many taxa
res <- lapply(sp, is_native, where = "Continental US", region = "america")
do.call(rbind, res)
# }
Run the code above in your browser using DataLab