Description Usage Arguments Value Examples
Calculating the paleocoordinates of the fossil data. Either calculating timebins by looking at the early_age and late_age column, taking the rounded average age (avg_age) of the fossils or by using user defined time bins.
1 2 | paleocoords(data, time = "automatic", timevector = NULL,
stepsize = 10, model = "SETON2012")
|
data |
data.frame. Fossil occurrences data. |
time |
character. Defines how the reconstruction time is specified. Can be "automatic", "average" or "timevector". By default time = "automatic". |
timevector |
vector. The borders of the time bins. Not allowed to be NULL if time = "timevector". |
stepsize |
numeric. The stepsize of the time bins if time = "automatic". By default stepsize = 10. |
model |
character. The model the map should be created with. "SETON2012" (default), "MULLER2016", "GOLONKA", "PALEOMAP" or "MATTHEWS2016". |
data.frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
library(mapast)
data <- base::data.frame(paleobioDB::pbdb_occurrences(base_name = "Canis",
min_ma = 0, max_ma = 10,
show = c("coords", "phylo"),
vocab = "pbdb", limit = 100))
df <- formatdata(data = data)
#reconstruct paleocoordinates with midpoint of appearance time
occ_ma <- paleocoords(data = df, time = "automatic", model = "SETON2012")
#reconstruct paleocoordinates with specific time
occ_matime <- paleocoords(data = df, time = "timevector", timevector = c(0.10),
model = "SETON2012")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.