search for: ms2020

Displaying 2 results from an estimated 2 matches for "ms2020".

2024 Aug 11
1
geom_smooth with sd
...the plots to the simple statistics the standard deviation do > not match. I assume it is because of the na.rm=TRUE which does not match > length(y) in the after_stat code. However I was not able to adapt the code > using NA values? > > > > Simple statistics > > > mean(MS2020[MS2020$Bio=="1",]$QI_A, na.rm=TRUE) > > [1] 26.81225 > > > sd(MS2020[MS2020$Bio=="1",]$QI_A, na.rm=TRUE) > > [1] 21.12419 > > > mean(MS2020[MS2020$Bio=="0",]$QI_A, na.rm=TRUE) > > [1] 15.86196 > > > sd(MS2020[MS2020$Bio==&qu...
2024 Aug 11
1
geom_smooth with sd
...d_limits(y=c(0, 30)) When comparing the plots to the simple statistics the standard deviation do not match. I assume it is because of the na.rm=TRUE which does not match length(y) in the after_stat code. However I was not able to adapt the code using NA values? Simple statistics > mean(MS2020[MS2020$Bio=="1",]$QI_A, na.rm=TRUE) [1] 26.81225 > sd(MS2020[MS2020$Bio=="1",]$QI_A, na.rm=TRUE) [1] 21.12419 > mean(MS2020[MS2020$Bio=="0",]$QI_A, na.rm=TRUE) [1] 15.86196 > sd(MS2020[MS2020$Bio=="0",]$QI_A, na.rm=TRUE) [1] 15.00405 Kind...