# NOT RUN {
# supposing that the data file gridstat.dat is in the current working directory
file <- "gridstat.dat"
imp <- importGridstatInternal(file)
# specifying a directory (example)
dir <- "/Users/markheckmann/data"
imp <- importGridstatInternal(file, dir)
# using a full path (example)
imp <- importGridstatInternal("/Users/markheckmann/data/gridstat.dat")
# load gridstat data from URL
imp <- importGridstatInternal("http://www.openrepgrid.uni-bremen.de/data/gridstat.dat")
# setting rating scale range
imp <- importGridstatInternal(file, dir, min=1, max=6)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab