[conflicted] Will prefer dplyr::filter over any other package.
4 Body weight of fleas
Last modified on 22. December 2025 at 19:58:29
“A quote.” — Dan Meyer
4.1 General background
4.2 Theoretical background
4.3 R packages used
4.4 Data
4.4.1 Linear
R Code [show / hide]
jump_weight_tbl <- tibble(x = abs(rnorm(21, 3, 4)),
y = 10 + 1.2 * x + rnorm(21, 0, 2)) |>
mutate_all(round, 1) |>
rename(weight = x, jumplength = y)4.4.2 Non-linear
R Code [show / hide]
jump_weight_non_linear_tbl <- tibble(x = abs(rnorm(32, 3, 4)),
y = 0.15*x^3 - 2.2*x^2 + 8.8*x + 3.2 + rnorm(32, 0, 1)) |>
rename(weight = x, jumplength = y)4.5 Data availability
The data is available as txt-Files under https://github.com/jkruppa/biodatascience.
4.6 Alternatives
Further tutorials and R packages on XXX
4.7 Glossary
- term
-
what does it mean.
4.8 The meaning of “Models of Reality” in this chapter.
- itemize with max. 5-6 words

