Learn R Programming

TauP.R (version 1.5)

InterpModel: Linear Interpolation of Planet Model

Description

Interpolates a model at provided depths.

Usage

InterpModel(model, newz = NULL, preserve = NULL)

Arguments

model

Planet model

newz

Depths at which to interpolate (km)

preserve

If NULL (default), TRUE, or 'preserve', preserve discontinuities in interpolated result

Value

Planetary object variable containing data at the desired depths

Examples

Run this code
# NOT RUN {
data(model)
InterpModel(model, 10, preserve = FALSE)
 
# }

Run the code above in your browser using DataLab