This function calculates indices based on a given numerator and denominator

metis.index(
  data = NULL,
  colIndex = NULL,
  colValue = NULL,
  numerators = NULL,
  denominators = NULL,
  meanYearsDenominator = NULL,
  scenariosSelect = NULL,
  indexName = "index",
  dirOutputs = paste(getwd(), "/outputs", sep = ""),
  fname = "index",
  nameAppend = "",
  folderName = NULL,
  saveFile = F
)

Arguments

data

Default = NULL. Full path to grid file.

colIndex

Default = NULL,

colValue

Default = NULL,

numerators

Default = NULL,

denominators

Default = NULL, (Choose 1 to use Numerator Value)

meanYearsDenominator

Default = NULL,

scenariosSelect

Default = NULL,

indexName

Default = "index",

dirOutputs

Default = paste(getwd(),"/outputs",sep=""),

fname

Default = "index"

nameAppend

Default = ""

folderName

Default = NULL,

saveFile

Default = F. If want csv output then change to T

Value

dataframe with index