in_tin: Interpolate the z value inside a triangle defined by 3 x,y,z...

Description Usage Arguments Value

View source: R/in_tin.R

Description

Interpolate the z value inside a triangle defined by 3 x,y,z points. If the point is not in the triangle returns NA

Usage

1
in_tin(x, y, z, x0, y0)

Arguments

x

vector with 3 x values

y

vector with 3 y values

z

vector with 3 z values

x0

Coordinate of the point to interpolate

y0

Coordinate of the point to interpolate

Value

z0 for the point (x0,y0) or NA if the point is outside


pacoalonso/alonsaRp documentation built on May 17, 2020, 9 a.m.