# NOT RUN {
# }
# NOT RUN {
###GenerateAnimationKMLFile_Multitag example
# Note, users must download Google Earth in order to visualise the kml.
# Load crocodile datset into VTrack archive
data(crocs)
data(PointsDirect_crocs)
Vcrocs <- ReadInputData(infile=crocs,
iHoursToAdd=10,
dateformat = NULL,
sVemcoFormat='1.0')
# Set working directory (in this case a temporary directory)
setwd(tempdir())
# or alternatively to your Desktop on Mac OS
# setwd("~/Desktop")
# Run the function to generate the KML
GenerateAnimationKMLFile_Multitag(Vcrocs,
PointsDirect_crocs,
"Croc Multi.kml",
sLocation="RECEIVERID")
# This file can be found within the tempdir() directory on your computer.
# Double-click on the .kml file to open in Google Earth
# }
Run the code above in your browser using DataLab