crnames: Return column and row names

Description Usage Arguments Examples

Description

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

Usage

1
crnames(dnames,idx)

Arguments

dnames

object dimnames

idx

index (or logical condition on the original object)

Examples

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

GenABEL documentation built on May 30, 2017, 3:36 a.m.

Related to crnames in GenABEL...