rownames_l {lenses} | R Documentation |
A lens into the row names of an object
Description
The lens version of rownames
and rownames<-
Usage
rownames_l
Format
An object of class lens
of length 2.
Examples
x <- matrix(1:4, ncol = 2)
rownames(x) <- c("first", "second")
x
view(x, rownames_l)
set(x, rownames_l, c("premiere", "deuxieme"))
[Package lenses version 0.0.3 Index]