Guest User

Untitled

a guest
Dec 5th, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select <- dataset$DGRDG != "1" & dataset$NBAMEMG != "9" & dataset$NBAMEMG != "96"
  2. dataset.higher <- dataset[select,]
  3. dataset.higher$NBAMEMG <- droplevels(dataset.higher$NBAMEMG)
  4. levels(dataset.higher$NDGMEMG)
  5. levels(dataset.higher$NBAMEMG)
  6. dataset.higher$match <- dataset.higher$NBAMEMG == dataset.higher$NDGMEMG
RAW Paste Data