importGridcor: Import GRIDCOR data files.

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Import GRIDCOR data files. Reads the file format that is used by the grid program GRIDCOR (Feixas & Cornejo, 2002).

Usage

1

Arguments

file

filename including path if file is not in current working directory. File can also be a complete URL. The fileformat is .dat.

dir

alternative way to supply the directory where the file is located (default NULL).

Value

a single repgrid object in case one file and a list of repgrid objects in case multiple files are imported.

Note

Note that the GRIDCOR data sets the minimum ratings scale range to 1. The maximum value can differ and is defined in the data file.

Also note that both Gridcor and Gridstat data files do have the same suffix .dat. Make sure not to mix themn up.

Author(s)

Mark Heckmann

References

Feixas, G., & Cornejo, J. M. (2002). GRIDCOR: Correspondence Analysis for Grid Data (version 4.0). Barcelona: Centro de Terapia Cognitiva. Retrieved from http://www.terapiacognitiva.net/record/gridcor.htm.

See Also

importGridcor, importGridstat, importScivesco, importGridsuite, importTxt

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 

# using the pop-up selection menu
rg <- importGridcor()

# supposing that the data file gridcor.dat is in the current directory
file <- "gridcor.dat"
rg <- importGridcor(file)

# specifying a directory (arbitrary example directory)
dir <- "/Users/markheckmann/data"
rg <- importGridcor(file, dir)

# using a full path
rg <- importGridcor("/Users/markheckmann/data/gridcor.dat")

# load GRIDCOR data from URL
rg <- importGridcor("http://www.openrepgrid.uni-bremen.de/data/gridcor.dat")

## End(Not run)

OpenRepGrid documentation built on May 2, 2019, 4:54 p.m.