powered by
Any one-dimensional object whose values distinguish groups may be supplied.
gpsWithin(x, f)
One-dimensional object whose values distinguish groups
One-dimensional object or list of objects, the combinations of whose values specify categories within which groups are to be defined.
Integer vector whose values, within each specified category, run from 1 to the number of groups
# NOT RUN { repnum <- with(qra::codling1988, gpsWithin(cultRep, Cultivar)) table(codling1988$Cultivar,repnum) # }
Run the code above in your browser using DataLab