View source: R/lipd.manipulation.R
mapAgeEnsembleToPaleoData | R Documentation |
Copies an ageEnsemble from chronData (model) to paleoData (measurementTable), by matching depth and interpolating (extrapolating) as necessary.
mapAgeEnsembleToPaleoData(
L,
age.var = "ageEnsemble",
chron.depth.var = "depth",
paleo.depth.var = "depth",
paleo.age.var = "age",
map.median = NA,
paleo.num = NA,
paleo.meas.table.num = NA,
chron.num = NA,
model.num = NA,
ens.table.num = 1,
max.ens = NA,
strict.search = FALSE
)
L |
A LiPD object - an R serialization of a single LiPD file. It's a list, and is typically created by 'readLipd()' |
age.var |
name of the age ensemble variable to search for |
chron.depth.var |
name of the depth variable to search for in the ensemble table |
paleo.depth.var |
name of the depth variable to search for in the paleo measurement table |
paleo.age.var |
name of the age variable to search for in the paleo measurement table, critical if no depth data are available |
map.median |
Do you want to also map the median of the ageEnsemble to paleoData? (TRUE or FALSE, or NA, the default, which will do so unless that variable already exists) |
paleo.num |
an integer that corresponds to paleo.numData object (L$paleoData[[?]]) has the measurementTable you want to modify |
paleo.meas.table.num |
an integer that corresponds to paleo.num measurementTable you want to add the ensemble to? |
chron.num |
an integer that corresponds to chron.numData object (L$chronData[[?]]) has the model you want to get the ensemble from |
model.num |
an integer that corresponds to chron.num model you want to get the ensemble from? |
ens.table.num |
an integer that corresponds to ensembleTable you want to get the variable from? |
max.ens |
Maximum number of ensemble members to map |
strict.search |
Use a strict.search to look for the ageEnsemble and depth variables. TRUE(default) or FALSE. |
L a lipd object
Other LiPD manipulation:
createConcatenatedEnsembleMeasurementTable()
,
createModel()
,
createMultiModelEnsemble()
,
createSummaryTableFromEnsembleTable()
,
createTSid()
,
estimateUncertaintyFromRange()
,
getVariableIndex()
,
pullTsVariable()
,
selectData()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.