I have a dataframe in R which contains numerous columns of lat long coordinates. Each row of the data frame contains 9 x lat/long coor points.
I wish to plot each of these rows in Google Earth using the plotKML function or any other R package for that matter since I can only use R V2.14.0!!
Ideally I would like to continue using v3.x.x but plotKML doesn't work then so if there's an alternative R->KML package please shout.
I've read up about the differences between polygon and polygons here but I am having difficulty converting my dataframe to a spatialpolygon in order to plot the data in Google Earth. I suspect it's because I have multiple columns of lat long coordinates and plotKML doesn't know (or I haven't specified correctly) what to do with them.
Can anyone point me in the right direction about how to go about this?
I have a sample of my data here in dput() format if it's of any benefit.