SHARE
TWEET

Untitled

a guest Sep 13th, 2017 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. quintiles.df %>%
  2.     mutate(quintile = cut(zscore, breaks = unique(quantile(zscore, probs = seq(0, 1, by = 1 / number.of.quantiles)), na.rm = TRUE),
  3.     labels = FALSE,
  4.     include.lowest = TRUE))
  5. Error in mutate_impl(.data, dots) :
  6. Evaluation error: missing values and NaN's not allowed if 'na.rm' is FALSE.
RAW Paste Data
Top