sp <- c("Lavandula stoechas", "Carpobrotus edulis", "Rhododendron ponticum",
"Alkanna lutea", "Anchusa arvensis")
is_native(sp[1], where = "Islas_Baleares", region = "europe")
sapply(sp, is_native, where = "Continental US", region = "america")
sapply(sp, is_native, where = "Islas_Baleares", region = "europe")
Run the code above in your browser using DataLab