Open pglpm opened 3 weeks ago
I think following conventions is a good idea. As we are adding (good and useful) documentation it is less important that the filenames are intuitive for non-R-developers/your average Dr Joe.
Cool! The problem is finding good names. The very symbol "F" is a bit arbitrary.
R has the convention of naming
dDISTR
the function that calculates the probability (density) of distributionDISTR
, andrDISTR
the function that generates samples from the distributionDISTR
.The function
samplesFdistribution()
produces samples of the frequency distributionF(Y|X)
for givenY
andX
, so should it be renamedr[something]
?Similarly,
inferpopulation()
is generating samples of frequency distributionsF
, from the probability densityP(F|data)
; or, from another point of view, it's generating samples of the parameters that identify such anF
. So should it be renamedr[something]
as well?Similarly for other functions present in the protopackage.