makeRepgrid: Make a new repgrid object.

Description Usage Arguments Value Author(s) Examples

View source: R/repgrid-basicops.r

Description

The function creates a repgrid object from scratch. A number of paramters have to be defined in order to make a new grid (see parameters).

Usage

1

Arguments

args

Arguments needed for the construction of the grid (list). These include name followed by a vector containing the element names. l.name followed by a vector with the left construct poles. r.name followed by a vector with the right construct poles. scores followed by a vector containing the rating scores row wise.

Value

NULL

Author(s)

Mark Heckmann

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 

   # make list object containing the arguments
   args <- list( name=c("element_1", "element_2", "element_3", "element_4"),
	              l.name=c("left_1", "left_2", "left_3"),
	  	          r.name=c("right_1", "right_2", "right_3"),
	  	          scores=c(	1,0,1,0,
					                1,1,1,0,
					                1,0,1,0	) )
   # make grid object
   x <- makeRepgrid(args)
   x

## End(Not run)

markheckmann/OpenRepGrid documentation built on April 30, 2021, 2:33 a.m.