indname: Get or set the name of the index variable

Description Usage Arguments Examples

Description

Get or set the name of the index variable

Usage

1
2
3
4
5
6
7
8
9
indname(x)

indname(x) <- value

## S3 method for class 'zoocat'
indname(x)

## S3 replacement method for class 'zoocat'
indname(x) <- value

Arguments

x

the object.

value

the new value.

Examples

1
2
3
4
5
x <- matrix(1 : 20, nrow = 5)
colAttr <- data.frame(month = c(2, 3, 5, 6), name = c(rep('xxx', 3), 'yyy'))
zc <- zoocat(x, order.by = 1991 : 1995, colattr = colAttr)
indname(zc)
indname(zc) <- 'time'

zoocat documentation built on May 2, 2019, 10:22 a.m.