Topic: Utilities

Topic Description:

Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.



File: utilities/statistics.r

View File Source Download File No help file available

Function: testmcmcfunc

Function Description: testmcmcfunc

For testing mcmc1step. No longer used.

Function Arguments:

ArgumentDefault Value
x
mn
s

Function Source:

testmcmcfunc=function(x,mn,s)
{
likel=dnorm(x,mean=mn,sd=s,log=TRUE)

cat(x,mn,s,likel,"\n")
# browser()
return(likel)
}