R/stan.error.R

Defines functions stan.error.sq stan.error

Documented in stan.error stan.error.sq

stan.error<-function(x){
n<-nrow(as.matrix(x))
sqrt(((n*(n-1))^-1)*sum((x-mean(x))^2))}

stan.error.sq<-function(x){
n<-nrow(as.matrix(x))
((n*(n-1))^-1)*sum((x-mean(x))^2)}

Try the asbio package in your browser

Any scripts or data that you put into this service are public.

asbio documentation built on Aug. 20, 2023, 9:07 a.m.