Skip to content

Instantly share code, notes, and snippets.

@selva86
Created December 14, 2019 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selva86/c95ca77d4bd4daab88702a265b14729f to your computer and use it in GitHub Desktop.
Save selva86/c95ca77d4bd4daab88702a265b14729f to your computer and use it in GitHub Desktop.
# Pre-create a 'pizza_tc_score' vector with missing values
set.seed(100)
pizza_tc_score <- round(runif (1000,3,10))
pizza_tc_score [c(100,204,709,816,938)] = NA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment