Learn R Programming

GenABEL (version 1.8-0)

crnames: 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

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

Run the code above in your browser using DataLab