Problem 1: Linear Models

Read the dataset given in https://charlotte-ngs.github.io/lbgfs2021/data/beef_data_blup.csv using the function readr::read_csv().

Tasks

  • Do a descriptive statistics on the given data
  • Fit fixed linear models for herd, sex and both factors as fixed effects.
LS0tCnRpdGxlOiBMaXZlc3RvY2sgQnJlZWRpbmcgYW5kIEdlbm9taWNzIC0gU29sdXRpb24gNAphdXRob3I6IFBldGVyIHZvbiBSb2hyCmRhdGU6ICIyMDIxLTEwLTI5IgpvdXRwdXQ6IGh0bWxfbm90ZWJvb2sKLS0tCgpgYGB7ciBzZXR1cCwgaW5jbHVkZT1GQUxTRX0Ka25pdHI6Om9wdHNfY2h1bmskc2V0KGVjaG8gPSBUUlVFKQpgYGAKCgpgYGB7ciBwcm9iMS1pbml0LCBlY2hvPUZBTFNFLCBtZXNzYWdlPUZBTFNFLCB3YXJuaW5nPUZBTFNFfQpzX2RhdGFfdXJsIDwtICJodHRwczovL2NoYXJsb3R0ZS1uZ3MuZ2l0aHViLmlvL2xiZ2ZzMjAyMS9kYXRhL2JlZWZfZGF0YV9ibHVwLmNzdiIKYGBgCgojIyBQcm9ibGVtIDE6IExpbmVhciBNb2RlbHMKUmVhZCB0aGUgZGF0YXNldCBnaXZlbiBpbiBgciBzX2RhdGFfdXJsYCB1c2luZyB0aGUgZnVuY3Rpb24gYHJlYWRyOjpyZWFkX2NzdigpYC4gCgoKIyMjIFRhc2tzCgoqIERvIGEgZGVzY3JpcHRpdmUgc3RhdGlzdGljcyBvbiB0aGUgZ2l2ZW4gZGF0YQoqIEZpdCBmaXhlZCBsaW5lYXIgbW9kZWxzIGZvciBgaGVyZGAsIGBzZXhgIGFuZCBib3RoIGZhY3RvcnMgYXMgZml4ZWQgZWZmZWN0cy4KCg==