Import libraries
Background
Researchers want to assess the effect of three different diets on the
weight gain of fish. They have set up an experiment with 12 different
tanks of fish. Each tank contains the same number of fish. The weight of
6 fish in each tank was measured at the beginning and the end of the
experiment. The researchers recorded the weight gain.
Experimental
design
Data import
fish <- read.table("https://raw.githubusercontent.com/statOmics/PSLS21/data/fishTank.txt",header=TRUE)
head(fish)
Tidy data
Data exploration
Make an appropriate plot to explore the data.
Analysis
Specify the model that you will use for answering the research
question.
Model
assumptions
Overall effect of
diet
Post-hoc
analysis
Conclusion
Formulate your conclusion in terms of the research question.
LS0tCnRpdGxlOiAiRXhlcmNpc2UgOC54OiBUaGUgZmlzaCB0YW5rIGRhdGFzZXQgLSBzb2x1dGlvbiIgICAKYXV0aG9yOiAiTGlldmVuIENsZW1lbnQgYW5kIEplcm9lbiBHaWxpcyIKZGF0ZTogInN0YXRPbWljcywgR2hlbnQgVW5pdmVyc2l0eSAoaHR0cHM6Ly9zdGF0b21pY3MuZ2l0aHViLmlvKSIgIApvdXRwdXQ6CiAgICBodG1sX2RvY3VtZW50OgogICAgICBjb2RlX2Rvd25sb2FkOiB0cnVlICAgIAogICAgICB0aGVtZTogY29zbW8KICAgICAgdG9jOiB0cnVlCiAgICAgIHRvY19mbG9hdDogdHJ1ZQogICAgICBoaWdobGlnaHQ6IHRhbmdvCiAgICAgIG51bWJlcl9zZWN0aW9uczogdHJ1ZQotLS0KCkltcG9ydCBsaWJyYXJpZXMKCmBgYHtyLCBtZXNzYWdlPUZBTFNFLCB3YXJuaW5nPUZBTFNFfQpsaWJyYXJ5KHRpZHl2ZXJzZSkKYGBgCgojIEJhY2tncm91bmQgCgpSZXNlYXJjaGVycyB3YW50IHRvIGFzc2VzcyB0aGUgZWZmZWN0IG9mIHRocmVlIGRpZmZlcmVudCBkaWV0cyBvbiB0aGUgd2VpZ2h0IApnYWluIG9mIGZpc2guIFRoZXkgaGF2ZSBzZXQgdXAgYW4gZXhwZXJpbWVudCB3aXRoIDEyIGRpZmZlcmVudCB0YW5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