histogramToDitribution {emcAdr} | R Documentation |
Convert the histogram returned by the DistributionApproximation function, to a real number distribution (that can be used in a test for example)
Description
Convert the histogram returned by the DistributionApproximation function, to a real number distribution (that can be used in a test for example)
Usage
histogramToDitribution(vec)
Arguments
vec |
: distribution returned by the DistributionAproximationFunction |
Value
A vector containing sampled risk during the MCMC algorithm
Examples
data("ATC_Tree_UpperBound_2024")
data("FAERS_myopathy")
DistributionApproximationResults = DistributionApproximation(epochs = 10,
ATCtree = ATC_Tree_UpperBound_2024, observations = FAERS_myopathy)
histogramToDitribution(DistributionApproximationResults$ScoreDistribution)
[Package emcAdr version 1.2 Index]