if (FALSE) {
# supposing that the data file gridstat.dat is in the current working directory
file <- "gridstat.dat"
rg <- importGridstat(file)
# specifying a directory (example)
dir <- "/Users/markheckmann/data"
rg <- importGridstat(file, dir)
# using a full path (example)
rg <- importGridstat("/Users/markheckmann/data/gridstat.dat")
# setting rating scale range
rg <- importGridstat(file, dir, min = 1, max = 6)
}
Run the code above in your browser using DataLab