Skip to contents

Data from Searle

Usage

data_searle

Format

An object of class data.frame with 14 rows and 2 columns.

Source

Searle (1971). Linear Models. Page 324.

Details

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

Examples

cbind(data_searle,
      .group=con_check(data_searle, ~ f1 + f2))
#>    f1 f2 .group
#> 1   1  1      3
#> 2   2  3      1
#> 3   2  4      1
#> 4   3  2      2
#> 5   3  6      2
#> 6   4  1      3
#> 7   4  5      3
#> 8   4  7      3
#> 9   5  3      1
#> 10  5  4      1
#> 11  6  3      1
#> 12  6  4      1
#> 13  7  2      2
#> 14  7  6      2
data_searle = transform(data_searle,
  y = rnorm(nrow(data_searle), mean=100))
con_view(data_searle, y ~ f1*f2, cluster=FALSE, main="Searle unsorted")
#> Warning: There are 3 groups

con_view(data_searle, y ~ f1*f2, main="Searle clustered")
#> Warning: There are 3 groups