Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quintiles.df %>%
- mutate(quintile = cut(zscore, breaks = unique(quantile(zscore, probs = seq(0, 1, by = 1 / number.of.quantiles)), na.rm = TRUE),
- labels = FALSE,
- include.lowest = TRUE))
- Error in mutate_impl(.data, dots) :
- Evaluation error: missing values and NaN's not allowed if 'na.rm' is FALSE.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement