Create a column in a LiPD object

createColumn(
  L,
  paleo.or.chron = "paleo",
  paleo.or.chron.number = 1,
  table.type = "measurement",
  table.number = 1,
  variableName = NA,
  units = NA,
  values = NA,
  additional.metadata = NA
)

Arguments

L

a LiPD object

paleo.or.chron

is this column for a "paleo" or "chron" table?

paleo.or.chron.number

what number is this paleo or chron object (default = 1)

table.type

"measurement", "ensemble" or "summary" table? (default = "measurement")

table.number

what number is this table object (default = 1)

variableName

what is the variableName (e.g. "depth")

units

what are the units

values

a vector of the values for the column, must be the same length as other columns in the table

additional.metadata

an optional named list of additional metadata to add to the column

Value

updated Lipd object