Learn R Programming

chronosphere (version 0.4.1)

platemodel-class: Class of objects representing plate tectonic models

Description

Meta-object containing paths to a unique plate tectonic model

Usage

# S4 method for platemodel
initialize(.Object, path = NULL, rotation = NULL, polygons = NULL)

Value

A platemodel class object.

Arguments

.Object

Constructor argument (not needed).

path

(character) Path to a .mod unique plate model object.

rotation

(character) If path is NULL, the path to the rotation file-part of the model.

polygons

(character) If path is NULL, the path to the plate polygon file-part of the model.

Examples

Run this code
# extract provided archive
a <- fetch(dat="paleomap", var="model", 
  datadir=system.file("extdata", package="chronosphere"))
# manually attach
model <- platemodel(file.path(tempdir(), 
  "paleomap_model_v19o_r1c/paleomap_model_v19o_r1c.mod"))
model

Run the code above in your browser using DataLab