Skip to contents

Data from Weeks & Williams example 2

Usage

data_weeks2

Format

An object of class data.frame with 62 rows and 3 columns.

Source

Weeks, David L. & Donald R. Williams (1964). A Note on the Determination of Connectedness in an N-Way Cross Classification. Technometrics, 6:3, 319-324. Table 3. http://dx.doi.org/10.1080/00401706.1964.10490188

Details

A dataframe with 3 treatment factors. The treatment combinations form 4 disconnected groups.

Note: This data is based on Table 3 of Weeks & Williams. The groups defined in the text are missing some combinations.

Examples

library(lfe)
cbind(data_weeks2,
      .group=con_check(data_weeks2, ~f1 + f2 + f3))
#>    f1 f2 f3 .group
#> 1   2  2  2      4
#> 2   4  2  2      4
#> 3   2  2  4      4
#> 4   4  2  4      4
#> 5   2  4  2      4
#> 6   4  4  2      4
#> 7   2  4  4      4
#> 8   4  4  4      4
#> 9   2  1  1      1
#> 10  2  1  3      1
#> 11  2  1  5      1
#> 12  2  3  1      1
#> 13  2  3  3      1
#> 14  2  3  5      1
#> 15  2  5  1      1
#> 16  2  5  3      1
#> 17  2  5  5      1
#> 18  4  1  1      1
#> 19  4  1  3      1
#> 20  4  1  5      1
#> 21  4  3  1      1
#> 22  4  3  3      1
#> 23  4  3  5      1
#> 24  4  5  1      1
#> 25  4  5  3      1
#> 26  4  5  5      1
#> 27  1  2  1      2
#> 28  1  2  3      2
#> 29  1  2  5      2
#> 30  1  4  1      2
#> 31  1  4  3      2
#> 32  1  4  5      2
#> 33  3  2  1      2
#> 34  3  2  3      2
#> 35  3  2  5      2
#> 36  3  4  1      2
#> 37  3  4  3      2
#> 38  3  4  5      2
#> 39  5  2  1      2
#> 40  5  2  3      2
#> 41  5  2  5      2
#> 42  5  4  1      2
#> 43  5  4  3      2
#> 44  5  4  5      2
#> 45  1  1  2      3
#> 46  1  1  4      3
#> 47  1  3  2      3
#> 48  1  3  4      3
#> 49  1  5  2      3
#> 50  1  5  4      3
#> 51  3  1  2      3
#> 52  3  1  4      3
#> 53  3  3  2      3
#> 54  3  3  4      3
#> 55  3  5  2      3
#> 56  3  5  4      3
#> 57  5  1  2      3
#> 58  5  1  4      3
#> 59  5  3  2      3
#> 60  5  3  4      3
#> 61  5  5  2      3
#> 62  5  5  4      3