data_fernando | R Documentation |
Data from Fernando et al.
data_fernando
An object of class data.frame
with 9 rows and 2 columns.
A dataframe with 2 treatment factors. The treatment combinations form 2 disconnected groups.
Fernando et al. (1983). Identifying All Connected Subsets In A Two-Way Classification Without Interaction. J. of Dairy Science, 66, 1399-1402. Table 1. https://doi.org/10.3168/jds.S0022-0302(83)81951-1
library(lfe)
cbind(data_fernando,
.group=con_check(data_fernando, ~ gen + herd))
library(connected)
set.seed(42)
data_fernando = transform(data_fernando,
y=stats::rnorm(9, mean=100))
con_view(data_fernando, y ~ gen*herd, cluster=FALSE,
main = "Fernando unsorted")
con_view(data_fernando, y ~ gen*herd, main="Fernando clustered")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.