Skip to content

Commit

Permalink
improved Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gluc committed Jan 6, 2016
1 parent 1f7f39d commit c4c4dda
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Expand Up @@ -2,4 +2,5 @@
^\.Rproj\.user$
^\.travis\.yml$
^appveyor\.yml$
vignettes/rsconnect
vignettes/rsconnect
www
27 changes: 18 additions & 9 deletions README.md
Expand Up @@ -37,21 +37,30 @@ vignette("multiple-decisionmakers", package = "ahp")
# run analysis
library(ahp)
ahpFile <- system.file("extdata", "car.ahp", package="ahp")
carAhp <- LoadFile(ahpFile)
carAhp <- Load(ahpFile)
Calculate(carAhp)
GetDataFrame(carAhp)
ShowTable(carAhp)
Analyze(carAhp)
AnalyzeTable(carAhp)
# looking at the vacation example
# looking at the vacation example, a multi-decision-maker model
ahpFile <- system.file("extdata", "vacation.ahp", package="ahp")
vacationAhp <- LoadFile(ahpFile)
vacationAhp <- Load(ahpFile)
Calculate(vacationAhp)
GetDataFrame(vacationAhp, decisionMaker = "Dad")
ShowTable(vacationAhp, decisionMaker = "Mom")
ShowTable(vacationAhp)
Analyze(vacationAhp, decisionMaker = "Dad")
AnalyzeTable(vacationAhp, decisionMaker = "Mom")
AnalyzeTable(vacationAhp)
```

To play around with the example files, you may want to copy them out of the lib path, e.g. like so:
To play around with the package, you may want to run the Shiny GUI that comes with the package:

```
RunGUI()
```

![alt text](www/shiny.png)


To play around with the example files in your dev environment, you may want to copy them out of the lib path, e.g. like so:

```
# On Windows
Expand Down
Binary file added www/shiny.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c4c4dda

Please sign in to comment.