Learn R Programming

chronosphere (version 0.4.0)

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)

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.

Value

A platemodel class object.

Examples

Run this code
# NOT RUN {
# link to a single .mod file
# }
# NOT RUN {
	mo <- fetch("paleomap", "model", datadir="~")
 # manually attach model paths
	model <- platemodel(file.path(tempdir(), 
   "paleomap_model_v3-GPlates/paleomap_model_v3-GPlates.mod"))
# }

Run the code above in your browser using DataLab