Categories
Mastering Development

Trouble with nested ifelse statement in R

I’m trying to run a nested ifelse statement in R. Here’s a look at the structure of my data using the glimpse() function from the tidyverse: Rows: 22,104 Columns: 9 $ `Formation/Locality` <chr> “Montmartre”, “Montmartre”, “Montmartre”, “Fur”, “Me… $ Location <chr> “Ile-de-France Region, France”, “Ile-de-France Regio… $ Environment <chr> “terrestrial”, “terrestrial”, “terrestrial”, “offsho… $ `Palaeolongitude(N/-S)` […]