Revision 04bbc417cf2927b827660bc07743429783569aec authored by HwB on 10 February 2013, 00:00:00 UTC, committed by Gabor Csardi on 10 February 2013, 00:00:00 UTC
1 parent 0e3ae6b
Raw File
std.R
##
##  s t d . r  tests
##

std <- pracma::std
std_err <- pracma::std_err

all.equal(std(1:10), 3.0277, tolerance=0.0001)
all.equal(std(1:10, flag=0), 3.0277, tolerance=0.0001)
all.equal(std(1:10, flag=1), 2.8723, tolerance=0.0001)

all.equal(std_err(1:10), 0.9574271, tolerance=0.0001)
back to top