powered by
Cuts-off the (possibly unbounded) probability distribution at `max.dist` and normalizes the resulting vector of probability to sum up to 1.
create_dist_vec(dist, max.dist)
probability mass function to use
maximum value at which to cutoff distribution
vector of probabilites for values 1:max.dist
# NOT RUN { geom_dist_fct(1:70) create_dist_vec(geom_dist_fct, max.dist = 70) # }
Run the code above in your browser using DataLab