.csv file or a matrix into one of IsoplotR's
data classesread.data(x, ...)# S3 method for default
read.data(x, method = "U-Pb", format = 1, ...)
# S3 method for matrix
read.data(x, method = "U-Pb", format = 1, ...)
.csv format) OR a matrixread.csv function'U-Pb', 'Ar-Ar',
'detritals', Rb-Sr, Sm-Nd, Re-Os,
'U-Th-He', 'fissiontracks' or 'other'method.if method='U-Pb', then format is one of either:
7/5, s[7/5], 6/8, s[6/8], rho
8/6, s[8/6], 7/6, s[7/6] (, rho)
X=7/6, s[X], Y=7/5, s[Y], Z=6/8, s[Z] (, rho[X,Y]) (, rho[Y,Z])
where optional columns are marked in round brackets
if method='Ar-Ar', then format is one of either:
9/6, s[9/6], 0/6, s[0/6], rho (, 39)
6/0, s[6/0], 9/0, s[9/0] (, rho) (, 39)
9/0, s[9/0], 6/0, s[6/0], 9/6, s[9/6] (, 39)
if method='Rb-Sr', then format is one of either:
Rb87/Sr86, s[Rb87/Sr86], Sr87/Sr86, s[Sr87/Sr86] (, rho)
Rb, s[Rb], Sr, s[Sr], Sr87/Sr86, s[Sr87/Sr86]
where Rb and Sr are in ppm
if method='Sm-Nd', then format is one of either:
Sm147/Nd144, s[Sm147/Nd144], Nd143/Nd144, s[Nd143/Nd144] (, rho)
Sm, s[Sm], Nd, s[Nd], Nd143/Nd144, s[Nd143/Nd144]
where Sm and Nd are in ppm
if method='Re-Os', then format is one of either:
Re187/Os188, s[Re187/Os188], Os187/Os188, s[Os187/Os188] (, rho)
Re, s[Re], Os, s[Os], Os187/Os188, s[Os187/Os188]
where Re and Os are in ppm
if method='fissiontracks', then format is one of
either:
UPb, ArAr, UThHe,
ReOs, SmNd, RbSr, detritals,
fissiontracks or otherR's
system.file(...) function: method = 'U-Pb' and format = 1: file.show(system.file("UPb1.csv",package="IsoplotR")) method = 'U-Pb' and format = 2: file.show(system.file("UPb2.csv",package="IsoplotR")) method = 'U-Pb' and format = 3: file.show(system.file("UPb3.csv",package="IsoplotR")) method = 'Ar-Ar' and format = 1: file.show(system.file("ArAr1.csv",package="IsoplotR")) method = 'Ar-Ar' and format = 2: file.show(system.file("ArAr2.csv",package="IsoplotR")) method = 'Ar-Ar' and format = 3: file.show(system.file("ArAr3.csv",package="IsoplotR")) method = 'Re-Os': file.show(system.file("ReOs.csv",package="IsoplotR")) method = 'Rb-Sr': file.show(system.file("RbSr.csv",package="IsoplotR")) method = 'Sm-Nd': file.show(system.file("SmNd.csv",package="IsoplotR")) method = 'U-Th-He': file.show(system.file("UThHe.csv",package="IsoplotR")) method = 'fissiontracks' and format = 1: file.show(system.file("FT1.csv",package="IsoplotR")) method = 'fissiontracks' and format = 2: file.show(system.file("FT2.csv",package="IsoplotR")) method = 'fissiontracks' and format = 3: file.show(system.file("FT3.csv",package="IsoplotR")) method = 'detritals': file.show(system.file("DZ.csv",package="IsoplotR")) method = 'detritals': file.show(system.file("MountTom.csv",package="IsoplotR")) file.show(system.file("spectrum",package="IsoplotR")) file.show(system.file("average.csv",package="IsoplotR")) # load one of the built-in .csv files:
data(examples)
concordia(examples$UPb)
Run the code above in your browser using DataLab