Learn R Programming

IceCast (version 2.1.0)

int_line: Space points along a line

Description

The function evenly spaces the number of points that are on one line, pred_l, on a different line, obs_l

Usage

int_line(pred_l, obs_l, plotting = FALSE)

Arguments

pred_l

predicted line (n1 x 2 matrix of coordinates)

obs_l

predicted line (n2 x 2 matrix of coordinates)

plotting

boolean indicating whether maps should be plotted

Value

n x 2 matrix of evenly-spaced coordinates

Examples

Run this code
# NOT RUN {
line_space <- int_line(predLEx, obsLEx, plotting = TRUE)
# }

Run the code above in your browser using DataLab