| coords_xy | R Documentation |
Parse coords of points where the list of coordinates is available in a string as follows: x1,y1 x2,y2, x3,y3
coords_xy(data, split = ",")
data |
a character vector or a list of character data |
split |
which split character to use between x and y. Defaults to ',' |
a list of data.frames with columns x and y
x <- c("0.1,0.2 0.3,0.15", "", NA, "1,2 3,4 5,6 1,0")
coords_xy(x)
x <- c("0.1,0.2 0.3,0.15", "", NA, "1,2 3,4 5,6 1,0")
x <- strsplit(x, " ")
coords_xy(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.