ahpsurvey | R Documentation |
AHP for survey data
ahpsurvey(
data,
vars,
atts = "cult, fam, house, jobs, trans",
ap = TRUE,
method = "geometric",
aj = FALSE,
method1 = "geometric",
method2 = "eigen",
method3 = "geometric",
sumcr = FALSE,
plot1 = FALSE,
width1 = 500,
height1 = 500
)
data |
The data as a data frame. |
vars |
. |
atts |
. |
ap |
. |
method |
. |
aj |
. |
method1 |
. |
method2 |
. |
method3 |
. |
sumcr |
. |
plot1 |
. |
width1 |
. |
height1 |
. |
A results object containing:
results$instructions | a html | ||||
results$text | a preformatted | ||||
results$ap | a table | ||||
results$aj | a table | ||||
results$sumcr | a table | ||||
results$cr | an output | ||||
results$plot1 | an image | ||||
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$ap$asDF
as.data.frame(results$ap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.