# NOT RUN {
# using the pop-up selection menu
rg <- importGridstat()
# 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")
# load gridstat data from URL
rg <- importGridstat("http://www.openrepgrid.uni-bremen.de/data/gridstat.dat")
# setting rating scale range
rg <- importGridstat(file, dir, min=1, max=6)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab