powered by
Determine upper class boundaries for classification of a vector with values ranging 0-1 based upon an vector of cumulative proportions.
util_calc_boundaries(x, cumulative_proportions)
vector of data values.
Vector of class cumulative proportions, as generated by w2cp.
w2cp
Numerical vector with boundaries for matrix classification
# NOT RUN { x <- matrix(runif(100,0,1),10,10) y <- util_w2cp(c(0.5, 0.25, 0.25)) #cumulative proportion util_calc_boundaries(x,y) # }
Run the code above in your browser using DataLab