d <- rnorm(25, sd = 1)
d_variable_name <- "a variable"
the_threshold <- 0
pick_threshold(d, d_variable_name, threshold = the_threshold)
## If the threshold is not known, run the interactive version
## without giving a threshold as input.
Run the code above in your browser using DataLab