bindConstructs: Concatenate the constructs of two grids.

Description Usage Arguments Value Note Author(s) References Examples

Description

Concatenate the constructs of two grids. I.e. the constructs are combined to form one long grid. This function can be used in order to analyse multiple grids as one 'big grid' (eg. Slater, 1977, chap. 11).

Usage

1

Arguments

x

repgrid object

y

repgrid object

match

Constructs will only be combined if they refer to the same set of elements. If the elements are not the same or do not have the same order no binding is done (if test=TRUE, default).

Value

repgrid object

Note

Currently the grids are joined regardless if the column names are identical or not. Handle this function with care and make sure the elements of the grids are in the same order. In a future version automatic testing of construct identity will take place. TODO: Does not work well yet.

Author(s)

Mark Heckmann

References

Slater, P. (1977). The measurement of intrapersonal space by grid technique. London: Wiley.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

a <- randomGrid()
b <- randomGrid()
b@elements <- rev(a@elements)   # reverse elements
bindConstructs(a, b)

bindConstructs(a, b, m=F)       # no binding

## End(Not run)


Search within the OpenRepGrid package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.