R/stdev.f.R

stdev.f <-
function(x)
{
	## computes the standard deviation of x using the Fortran interface
	return(.Fortran("rs_stdev",s=as.double(0),
	                as.double(x),as.double(mean.f(x)),
	                as.integer(length(x)),PACKAGE="stima")$s)
}

Try the stima package in your browser

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

stima documentation built on June 3, 2019, 5:04 p.m.