posdec: Multiple point position decision in relation to a set of...

Description Usage Arguments Value See Also Examples

Description

posdec has the purpose to make a decision about the position of individual points in relation to a set of stacked surfaces in 3D space. The decision is made by comparing the mean z axis value of the four horizontally closest points of a surface to the z axis value of the point in question.

Usage

1
posdec(crdf, maplist)

Arguments

crdf

data.frame with the spatial coordinates of the points of interest. Must contain three columns with the x axis values, y axis values and z axis values of the points in the order x, y, z

maplist

list of data.frames which contain the points that make up the surfaces. The individual data.frames must have the same structure as crdf

Value

data.frame with the spatial coordinates of the points of interest and the respective position information

See Also

Other posdecfuncs: posdeclist

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
df1 <- data.frame(
  x = rnorm(50),
  y = rnorm(50),
  z = rnorm(50) - 5
)

df2 <- data.frame(
  x = rnorm(50),
  y = rnorm(50),
  z = rnorm(50) + 5
)

lpoints <- list(df1, df2)

maps <- kriglist(lpoints, lags = 3, model = "spherical")

finds <- data.frame(
  x = c(0, 1, 0.5, 0.7),
  y = c(0.5, 0, 1, 0.7),
  z = c(-10, 10, 0, 2)
)

posdec(finds, maps)

recexcavAAR documentation built on May 1, 2019, 6:48 p.m.