############################################### #Using the Van Wirdum diagram without internet# ############################################### 1. Place the VanWirdum Zipfile in a directory 2. Unzip the zipfile 3. Place the van Wirdum function in R 4. Search for setwd(). In an unchanged function this can be found directly under "#Import LAT framework" 5. Setwd() is a function that sets the workdirectory. Replace the quotations inside the function setwd() with the path to the unzipped VanWirdum file. For example : "D:/Program files/R/mypackages/VanWirdum". Make sure you put the path in quotations ("") and that the slashes are set forward (/). Don't use slashes in names to maps. Directly under this map you should found the documents "coordinates_LAT_framework.csv" and "reference.points.csv". 6. At quatations to the files you load (Lat framework, reference points and RondeHoepdata) It should look like this: #Import LAT framework setwd("D:/Program files/R/VanWirdum") LAT.framework<-read.csv("coordinates_LAT_framework".csv, header = TRUE, sep = ";") #Import reference points reference.points<-read.csv("reference.points.csv", header = TRUE, sep = ";") and #Import RHdata RHdata<-read("RondeHoep.csv", header = TRUE, sep = ";") 5. Remove the two parts indicated as "Delete if you don't want to work by internet" 6. Run the VanWirdum function and see if it works. 7. If you want to load other data than from the VanWirdum directory, you should reset the workdirectory. At the end of the function you can set for example setwd("D:/Program files/Myworkdirectory")