Generate points along lines. Following a geometrical line, it produces points based on a factor.

spa.MeanCenter(indf)

Arguments

indf

A n

Value

A

Details

Generates a number of points along lines.

Author

Dimitris Kavroudakis dimitris123@gmail.com

Examples

library(goal)
co = data.frame(x = c(0,3.9,4.1,8), y = c(1,4.1,3.9,7))
names(co) = c("x","y")
(co)
#>     x   y
#> 1 0.0 1.0
#> 2 3.9 4.1
#> 3 4.1 3.9
#> 4 8.0 7.0

goal::spa.MeanCenter(indf=co)
#> [1] 4 4