Skip to content

Commit

Permalink
fix gsub
Browse files Browse the repository at this point in the history
  • Loading branch information
hansvancalster committed Aug 23, 2024
1 parent 685be38 commit bf5a932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rmarkdown/analyses_diversity/analyses_diversity.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ metadata <- readr::read_csv(
"Akker", "Tijdelijk grasland", "Blijvend grasland",
"Residentieel grasland", "Natuurgrasland", "Heide")
),
diepte = gsub("-", "_", diepte) |> factor()
diepte = gsub("_|/", "-", diepte) |> factor()
)
combined <- diversiteit %>%
Expand Down

0 comments on commit bf5a932

Please sign in to comment.