Get a table of proportions across each possible response

get_prop_table(data, K)

Arguments

data

a vector or array of responses

K

number of response categories

Value

table of proportions