warning fixed in GLUE results, more messages for the users
This commit is contained in:
parent
6e75619255
commit
92cbd78854
@ -270,10 +270,13 @@ musoGlue <- function(presCalFile, w, delta = 0.17, settings=setupMuso(), paramet
|
|||||||
|
|
||||||
par(pari)
|
par(pari)
|
||||||
dev.off()
|
dev.off()
|
||||||
maxParValues <- preservedCalibtop5[which.max(preservedCalibtop5$combined),]
|
maxParValues <- unlist(preservedCalibtop5[which.max(preservedCalibtop5$combined),])[1:length(paramIndex)]
|
||||||
maxParIndexes <- paramIndex
|
maxParIndexes <- paramIndex
|
||||||
|
maxLikelihoodParameters <- data.frame(parameter_index=maxParIndexes,parameter_value=maxParValues)
|
||||||
write.csv(cbind.data.frame(calibrationPar=maxParValues,parameters=maxParIndexes),"maxLikelihood.csv")
|
write.csv(cbind.data.frame(calibrationPar=maxParValues,parameters=maxParIndexes),"maxLikelihood.csv")
|
||||||
|
cat("\n\n- A file containing the parameters with the maximum likelihood (maxlikelihood_parameters.csv) has been created.\n")
|
||||||
write.csv(optRanges,"optRanges.csv")
|
write.csv(optRanges,"optRanges.csv")
|
||||||
|
cat("- GLUE interval values have been written into optRanges.csv\n")
|
||||||
# browser()
|
# browser()
|
||||||
# There are some serious problems with this implementation. The uncertainity bouns are not for the parameters, but for the output values. The median is pointwise median for all simulation.
|
# There are some serious problems with this implementation. The uncertainity bouns are not for the parameters, but for the output values. The median is pointwise median for all simulation.
|
||||||
# And the 95 and 5 percentile also.
|
# And the 95 and 5 percentile also.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user