unCalibrate {Bchron} | R Documentation |

## Uncalibrate a Radiocarbon date

### Description

Uncalibrate a Radiocarbon date

### Usage

```
unCalibrate(
calAges,
calCurve = "intcal20",
type = c("samples", "ages"),
pathToCalCurves = system.file("data", package = "Bchron"),
...
)
```

### Arguments

`calAges` |
Either a vector of calibrated ages (when |

`calCurve` |
he calibration curve to use. Only a single calibration curve is currently supported |

`type` |
Either 'ages' which uncalibrates a calibrated age values without error (i.e. just a lookup on the calibration curve), or a 'samples' which estimates both an uncalibrated mean age and a standard deviation |

`pathToCalCurves` |
The path to the calibration curve directory. Defaults to the location of the standard calibration curves given in the package |

`...` |
Other arguments to the |

### Value

Either a vector of uncalibrated ages (`type = 'ages'`

) or a list containing the estimated mean age and standard deviation (`type = 'samples'`

)

### Examples

```
# Single version outputting just an uncalibrated age
unCalibrate(2350, type = "ages")
# Vector version giving a vector of uncalibrated ages
unCalibrate(
calAge = c(2350, 4750, 11440),
calCurve = "shcal20",
type = "ages"
)
# A version where calibrated standard deviations are required too
calAge <- BchronCalibrate(
ages = 11255,
ageSds = 25,
calCurves = "intcal20"
)
calSampleAges <- sampleAges(calAge)
# Uncalibrate the above
unCalibrate(calSampleAges,
type = "samples"
)
```

*Bchron*version 4.7.6 Index]