ahpsurvey: AHP for survey data

View source: R/ahpsurvey.h.R

ahpsurveyR Documentation

AHP for survey data

Description

AHP for survey data

Usage

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
)

Arguments

data

The data as a data frame.

vars

.

atts

.

ap

.

method

.

aj

.

method1

.

method2

.

method3

.

sumcr

.

plot1

.

width1

.

height1

.

Value

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)


hyunsooseol/seolmatrix documentation built on Nov. 7, 2024, 1:11 p.m.