eikeluedeling / decisionSupport

6 stars 3 forks source link

Deliverable specification 4.3 Integrate the summary of the Monte Carlo simulation into the summary method of the Welfare Decision Analysis. #4

Open l-goehring opened 9 years ago

l-goehring commented 9 years ago

The summary of the Monte Carlo simulation shall be integrated into the summary method of the Welfare Decision Analysis. In particular this requires for the methods summary.mcSimulation() and summary.welfareDecisionAnalysis():

l-goehring commented 9 years ago

Dear Eike @eikeluedeling,

I resolved this issue with commit 6d8c8e34489236db7f186fb354d7cacb91d0872f. Please

and let me know here, if you agree. You can use the new examples in the help pages of the functions summary.mcSimulation() and summary.welfareDecisionAnalysis().

I will then tag this state and try to close this issue in the same time ;-)

Cheers, Lutz

eikeluedeling commented 9 years ago

Hi Lutz @l-goehring , how do I test this now? I tried a few things (install zip file, clone in git), but I'm not seeing any example for these two functions. I'm probably doing something wrong... Cheers, Eike

l-goehring commented 9 years ago

Dear Eike @eikeluedeling,

I hope that the following helps you:

  1. download the zip file: https://github.com/l-goehring/decisionSupport/archive/6d8c8e34489236db7f186fb354d7cacb91d0872f.zip
  2. save the zip file
  3. extract the zip file to directory, say decisionSupport-test
  4. open directory decisionSupport-test with file browser
  5. open the RStudio project file decisionSupport.Rproj with RStudion
  6. In RStudio
    1. build and reload the downloaded packag version: In Menu Build -> Build and Reload or use key shortcut 'CTRL+SHIFT+B'.
    2. In the R console type: help(summary.mcSimulation). Then in the Help window, the corresponding help file shall appear.
    3. In the help file scroll down to the Example section and run the examples.
    4. analogously for summary.welfareDecisionAnalysis
    5. Restore the official package version: in the R console:
      1. >detach(package:decisionSupport,unload=TRUE)
      2. >install.packages("decisionSupport")

Hope that that helps!

Cheers, Lutz