Learn R Programming

emcAdr (version 1.2)

OutsandingScoreToDistribution: Output the outstanding score (Outstanding_score) outputed by the MCMC algorithm in a special format

Description

Output the outstanding score (Outstanding_score) outputed by the MCMC algorithm in a special format

Usage

OutsandingScoreToDistribution(outstanding_score, max_score)

Value

outstanding_score in a format compatible with MCMC algorithm output

Arguments

outstanding_score

: Outstanding_score outputed by MCMC algorithm to be converted to the ScoreDistribution format

max_score

: max_score parameter used during the MCMC algorithm

Examples

Run this code
# \donttest{
 data("ATC_Tree_UpperBound_2024")
 data("FAERS_myopathy")

  DistributionApproximationResults = DistributionApproximation(epochs = 10,
            ATCtree = ATC_Tree_UpperBound_2024, observations = FAERS_myopathy)
  OutsandingScoreToDistribution(DistributionApproximationResults$Outstanding_score, max_score = 100)
# }

Run the code above in your browser using DataLab