R/print.nmix.R

print.nmix<-function (x, ...) 
{
cat('Nmix analysis of',x$tag,'\n')
cat('Posterior on k:\n')
np<-length(x$post)+min(0,3-match(FALSE,0==rev(x$post)))
cat(x$post[1:np],fill=60)
cat('nsweep:',x$nsweep,'nburnin:',x$nburnin,'seed:',x$seed,
        'moves:',x$moves,'\n')
invisible(x)
}

Try the Nmix package in your browser

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

Nmix documentation built on Sept. 20, 2023, 1:06 a.m.