install.packages("rgplates")
library(rgplates)
计算当今坐标点(95,54)在140Ma(百万年前)的古坐标
输入
reconstruct(matrix(c(95, 54), nrow=1), 140, model="SETON2012")
输出
paleolong paleolat
[1,] 84.9862 59.2575
计算当今坐标(95,54)和(142,-33)在140Ma的古坐标
输入
xy <-cbind(long=c(95,142), lat=c(54, -33))
reconstruct(xy, 140, model="SETON2012")
输出
paleolong paleolat
[1,] 84.9862 59.2575
[2,] 123.3740 -65.7611
通过上面的两个快速上手的例子,博主相信大家已经知道了reconstruct()函数就是用来将现今坐标推算到古时坐标的,但前面只介绍了最简单的应用。
下面博主将为大家详细介绍reconstruct()的参数,并通过例子更好地理解参数的意义。
reconstruct(x, …),…表示其余参数,它们根据x的数据类型不同而不同。
以x的数据类型为matrix为例,reconstruct()函数的参数有:
reconstruct(x, age, model=“PALEOMAP”, listout = TRUE, verbose = FALSE, enumrate = TRUE, chunk = 200, reverse = FALSE, path.gplates = NULL, cleanup = TRUE, dir = NULL, plateperiod = FALSE)
library(rgplates)
xy = cbind(long=c(95,142), lat=c(54, -33))
ages = list(100, 50)
models = list("SETON2012", "MULLER2016","GOLONKA", "PALEOMAP","MATTHEWS2016")
for (m in models) {
print(m)
print(try(reconstruct(xy, 140, model=m), silent = TRUE))
}
输出如下:
可以看到不同模型重建结果还是有较大的差异。"MATTHEWS2016"模型在测试时无法使用!
library(rgplates)
xy = cbind(long=c(95,142), lat=c(54, -33))
ages = list(100, 50)
models = list("SETON2012", "MULLER2016","GOLONKA", "PALEOMAP","MATTHEWS2016")
l = reconstruct(xy, ages, listout=FALSE)
ls = reconstruct(xy, ages, listout=TRUE)
library(rgplates)
xy = c(95, 54)
ages = list(100, 50)
models = list("SETON2012", "MULLER2016","GOLONKA", "PALEOMAP","MATTHEWS2016")
reconstruct(xy, ages, verbose=TRUE)
library(rgplates)
xy = cbind(long=c(95,142), lat=c(54, -33))
ages = list(100, 50)
models = list("SETON2012", "MULLER2016","GOLONKA", "PALEOMAP","MATTHEWS2016")
reconstruct(xy, ages, enumerate=FALSE)
reconstruct(xy, ages, enumerate=TRUE)
library(rgplates)
present = c(95, 54)
old = c (82, 55)
ages = 100
reconstruct(present, ages, reverse=FALSE)
reconstruct(old, ages, reverse=TRUE)