data2york | R Documentation |
Takes geochronology data as input and produces a five-column table with the variables, their uncertainties and error correlations as output. These can subsequently be used for York regression.
data2york(x, ...)
## Default S3 method:
data2york(x, format = 1, ...)
## S3 method for class 'other'
data2york(x, ...)
## S3 method for class 'UPb'
data2york(x, option = 1, tt = 0, ...)
## S3 method for class 'ArAr'
data2york(x, inverse = TRUE, ...)
## S3 method for class 'ThPb'
data2york(x, inverse = FALSE, ...)
## S3 method for class 'KCa'
data2york(x, inverse = FALSE, ...)
## S3 method for class 'PbPb'
data2york(x, inverse = TRUE, ...)
## S3 method for class 'PD'
data2york(x, exterr = FALSE, inverse = FALSE, ...)
## S3 method for class 'UThHe'
data2york(x, ...)
## S3 method for class 'ThU'
data2york(x, type = 2, generic = TRUE, ...)
x |
a five or six column matrix OR an object of class
|
... |
optional arguments |
format |
one of
|
option |
one of
|
tt |
the age of the sample. This is only used if
|
inverse |
toggles between normal and inverse isochron
ratios. If If |
exterr |
If |
type |
Return ‘Rosholt’ or ‘Osmond’ ratios? Rosholt ( Osmond ( |
generic |
If If or if |
a five-column table that can be used as input for
york
-regression.
york
f <- system.file("RbSr1.csv",package="IsoplotR")
dat <- read.csv(f)
yorkdat <- data2york(dat)
fit <- york(yorkdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.