Skip to content

Instantly share code, notes, and snippets.

@josephlewis
Created April 15, 2018 10:50
Show Gist options
  • Save josephlewis/06b58cc54b18a2871e27da3c768a5a6a to your computer and use it in GitHub Desktop.
Save josephlewis/06b58cc54b18a2871e27da3c768a5a6a to your computer and use it in GitHub Desktop.
plaques$sex[grep("man", plaques$subjects, fixed = TRUE)] <- "Man"
plaques$sex[grep("woman", plaques$subjects, fixed = TRUE)] <- "Woman"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment