Gets the index for a LiPD "variable list"
getVariableIndex(
table,
var.name = NA,
alt.names = var.name,
ignore = NA,
always.choose = FALSE,
ask = TRUE,
strict.search = FALSE
)
a LiPD measurement, ensemble or summary Table
string name of the variable to extract
A vector of strings for alternative names to search for
A vector of strings of variableNames to ignore
Force selection of the variable from a list
If there is only one option, do you want to be asked whether to use it? (default = TRUE)
Use a strict.search to look for the ageEnsemble and depth variables. TRUE(default) or FALSE.
An integer index
Other LiPD manipulation:
createConcatenatedEnsembleMeasurementTable()
,
createModel()
,
createMultiModelEnsemble()
,
createSummaryTableFromEnsembleTable()
,
createTSid()
,
estimateUncertaintyFromRange()
,
mapAgeEnsembleToPaleoData()
,
pullTsVariable()
,
selectData()