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

Description Usage Arguments Value See Also Examples

Description

posdeclist works as posdec but not just for a single data.frame with individual points but for a list of data.frames

Usage

1
posdeclist(crdflist, maplist)

Arguments

crdflist

list of data.frames with the spatial coordinates of the points of interest (for details see posdec)

maplist

list of data.frames which contain the points that make up the surfaces

Value

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

See Also

Other posdecfuncs: posdec

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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")

hexadf1 <- data.frame(
  x = c(0, 1, 0, 4, 5, 5, 5, 5),
  y = c(1, 1, 4, 4, 1, 1, 4, 4),
  z = c(1, 5, 1, 6, 1, 5, 1, 3)
)

hexadf2 <- data.frame(
  x = c(0, 1, 0, 4, 5, 5, 5, 5),
  y = c(1, 1, 4, 4, 1, 1, 4, 4),
  z = c(-1, -5, -1, -6, -1, -5, -1, -3)
)

cx1 <- fillhexa(hexadf1, 0.1)
cx2 <- fillhexa(hexadf2, 0.1)

cubelist <- list(cx1, cx2)

posdeclist(cubelist, maps)

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