Skip to content
Prev 147488 / 398500 Next

How to create strata out of the data.frame table

On Wed, Jun 18, 2008 at 9:20 AM, Ana Kolar <annakolar28 at gmail.com> wrote:
Could you be a little more precise about the desired distribution
within the slices?  For example, one way to solve your problem as
specified would be to sort the data frame by x, and chop the data
frame into five equal pieces.  Would that be a valid solution to your
problem?

Hadley