LambDataNested | R Documentation |
This is real data of the weight of 240 lamb carcasses measured at a slaughterhouse. The lamb carcasses are from a total of 30 farms, and from each farm eight lambs were observed. The sheep breed is registered for each lamb.
LambDataNested
A data frame with 240 observations (rows) and 3 variables (columns).
Column name | Data type | Description | Values | |
[,1] | Farm | character | Lambs from 30 different farms | ("Farm1"..."Farm30") |
[,2] | Breed | character | 5 different sheep breeds | ("Kvit spaelsau"..."Gammalnorsk spaelsau") |
[,3] | Carcase_weight | numeric | Carcass weight in kg | (8.2 - 30.4) |
This is real data from "Sauekontrollen", a database administered by Animalia AS. The data is provided by Lars Erik Gangsei.
# The structure of the object
str(LambDataNested)
# Encode Farm as factor and check the levels
LambDataNested$Farm <- factor(LambDataNested$Farm,
levels = unique(LambDataNested$Farm))
unique(LambDataNested$Farm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.