R: Return column and row names

crnames {GenABEL} | R Documentation

## Return column and row names

### Description

Given a dimnames, returns column and row names for index cells

### Usage

    crnames(dnames,idx)

### Arguments

`dnames` | object `dimnames`
`idx` | index (or logical condition on the original object)

### Examples

    	require(GenABEL.data)
    	data(ge03d2ex)
    	a <- as.numeric(ge03d2ex[1:20,1:3])
    	crnames(dimnames(a),a==1)

[Package GenABEL version 1.8-0 Index]