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, 4, 4, 4, 5, 5, 5, 5, 2, 2, 2, 3,
3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7,
7, 8, 8, 8, 8, 8, 5, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9,
9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11,
12, 12, 12, 13, 13, 13), Residues = c(1421, 858.1, 1582, 1332,
1653, 754.9, 452.9, 379.8, 230.4, 333, 292.6, 322.6, 163.4, 154.9,
179.1, 127.6, 156.2, 122.3, 87.14, 82.05, 84.39, 74.28, 101.5,
85.38, 48.99, 50.71, 41.3, 53.23, 107.8, 50.63, 59.26, 58.54,
56.2, 58.49, 66.49, 52.75, 79.95, 492.2, 437.9, 573.4, 190.9,
155.1, 315.3, 132.9, 78.97, 132, 177.8, 60.87, 59.07, 45.94,
44.37, 135.1, 152.4, 43.72, 34.05, 84.22, 28.46, 30.6, 56.88,
51.16, 30.71, 26.66, 79.67, 122, 34.42, 23.23, 49.25, 32.27,
22.96, 18.8, 16.99, 28.35, 10.81, 42.52, 11.95, 31.42, 16.47,
12.46, 15.86, 13.45, 14.81, 13.98, 20.04, 19.78, 16.42, 19.67,
13.3, 7.042, 8.863, 10.23, 15.87, 8.164, 7.051, 9.886, 13.54,
10.36, 10.72, 7.033, 7.459, 7.374, 10.78, 7.259, 6.453, 7.418,
9.636, 28.36, 11.63, 13.13, 16.65, 15.58, 25.49, 39.92, 14.52,
22.11, 22.26, 20.3, 12.99, 6.846, 10.38, 21.94, 32.48, 30.77,
24.83, 22.93, 29.44, 20.31, 6.09, 6.506, 7.211, 6.324, 6.366,
4.742, 6.687, 3.891, 9.163, 12.84, 7.168, 5.39, 2.624, 2.853,
6.973, 6.773, 3.683, 2.647, 8.173, 0.2251, 5.83, 204.5, 220.6,
250.9, 140.8, 306, 377.5, 277.7, 271.5, 33.07, 33.7, 54.25, 34.94,
21.72, 8.549, 9.943, 12.1, 16.22, 10.65, 10.46, 12.72, 10.1,
4.369, 18.32, 18.16, 7.83, 2.627, 2.111, 1.621, 3.372, 9.415,
1.58, 1.735, 2.491, 1.333, 4.534, 1.643, 3.102, 1.286, 0.5211,
3.277, 2.605, 2.754, 1.806, 4.556, 2.336, 0.9231, 0.9389, 0.2155,
0.4852, 2.321, 0.4026, 0.3178, 0.01145, 0.4557, 1.533, 0.4227,
0.3688, 0.4078, 0.5388, 0.9522, 1.756, 0.5251, 0.1848, 1.12,
2.056, 0.3929, 0.2678, 1.599, 0.8073, 0.6894, 2.482, 0.9661,
0.2109, 0.6317, 2.527, 0.619, 1.802, 2.792, 0.9921, 0.4267, 0.1299,
2.834, 1.986, 0.7228, 0.7338, 0.3672, 0.687, 0.3285, 2.387, 0.2714,
0.1297, 0.3096, 0.3483, 0.2438, 92, 89.9, 184.2, 129, 62.15,
114.1, 82.58, 93.36, 49.24, 31.79, 22.33, 21.24, 19.59, 24.07,
25.98, 16.64, 22.93, 23.51, 19.61, 14.63, 11.59, 21.88, 14.88,
5.833, 11.13, 15.03, 1.885, 1.5, 1.68, 1.664, 1.866, 1.485, 1.617,
1.605, 2.492, 1.987, 1.729, 1.992, 1.858, 2.211, 1.996, 1.949,
1.841, 1.67, 1.238, 1.441, 1.724, 1.355, 0.1542, 0.5447, 0.2885,
0.8485, 0.498, 0.1773, 0.3504, 1.186, 0.376, 0.5741, 0.7487,
0.3315, 0.3668, 0.3816, 0.7679, 0.4884, 0.3739, 1.265, 0.4569,
0.4275, 0.3761, 0.4069, 0.3294, 0.2735, 0.1601, 0.6603, 0.3572,
0.3146, 0.4143, 651.9, 936.9, 759.1, 763.6, 693.1, 1181, 551.5,
638.3, 465.8, 1409, 608.6, 692.1, 968.8, 713, 963.7, 656.5, 865.4,
1052, 1212, 1186, 1222, 715.9, 735.6, 769.2, 1339, 653.7, 665,
442.4, 618, 728.4, 618.9, 800.1, 526.1, 1118, 830.8, 797.2, 994.2,
926, 896.6, 902.3, 1118, 815.6, 1063, 435.4, 472.6, 971.5, 775.3,
1093, 355.6, 967.8, 698.7, 978.1, 1058, 622, 1327, 1318, 1009,
604.6, 648.5, 1110, 1458, 778.9, 764.1, 1184, 962.7, 581.1, 888.1,
687.4, 913.1, 513, 618.2, 497.4, 959.7, 730.6, 733, 886.3, 894.7,
906.3, 520.5, 1037, 568.1, 671.7, 388.8, 534.3, 717.4, 896.1,
917.2, 774, 1208, 529.9, 850.8, 803.7, 1141, 1383, 861.1, 739
)), row.names = c(NA, -414L), class = c("tbl_df", "tbl", "data.frame"
))
code
data$logResidues=log(data$Residues)
data$Day<-as.factor(data$Day)
library(ggplot2)
library(scales)
rexp2 <- function(x){round(exp(x),digits=2)}
ggplot(data, aes(x=Day, y=logResidues)) +
geom_boxplot() +
scale_y_continuous(trans = "exp",limits = c(.001,2),labels = rexp2)
ggplot(data, aes(x=Day, y=logResidues)) +
geom_boxplot() +
scale_y_continuous(trans = "exp",limits = c(.001,3),labels = rexp2)