R/mhat.R

"mhat" <-
function(x,n=nrow(x),k=np,sh) {
if (missing(x)) messagena("x")
if (missing(sh)) messagena("sh")
np <- ncol(x)
mdx <- nrow(x)
hat <- single(n)
sc <- single(n)
f.res <- .Fortran("mhatz",
x=to.single(x),
n=to.integer(n),
np=to.integer(np),
k=to.integer(k),
mdx=to.integer(mdx),
hat=to.single(hat),
sh=to.single(sh),
sc=to.single(sc))
list(hat=f.res$hat)
}

Try the robeth package in your browser

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

robeth documentation built on Aug. 22, 2023, 9:09 a.m.