Define three effect categories, 0 for none affected, 100 for all affected, and 50 for other proportions affected.
fxcat(dat)
Arguments
dat: A data frame of toxicity data, including at least two variables: ntot (the number of individuals tested) and nfx (the number of affected individuals).
Returns
An integer vector the same length as prob with categories of 0, 50, or 100.