
Parse the file format that is used by the latest version of grid program gridstat (Bell, 1998).
importGridstatInternal(file, dir = NULL, min = NULL, max = NULL)
a list with imported parameters
filename including path if file is not in current working directory. File can also be a complete URL. The fileformat is .dat.
alternative way to supply the directory where the file is located
(default NULL
).
optional argument (numeric
, default NULL
)
for minimum rating value in grid.
optional argument (numeric
, default NULL
)
for maximum rating value in grid.
Bell, R. C. (1998) GRIDSTAT: A program for analyzing the data of a repertory grid. Melbourne: Author.
if (FALSE) {
# 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")
# setting rating scale range
imp <- importGridstatInternal(file, dir, min=1, max=6)
}
Run the code above in your browser using DataLab