Graham,
# use dput() to share your data in a way that's easy for R-help readers to
use
mydf <- structure(list(dn = c(4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L), obs = c(1L, 1L, 1L, 1L,
1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L),
choice = c(0L,
I have a large dataset organised in choice groups see below. Each choice
represents a separate occasion with 1 product chosen out of the 6 offered.
Â
Â
Â
   Â
+-+
    | dn  obs  cho
2 matches
Mail list logo