The lens version of colnames
and colnames<-
colnames_l
An object of class lens
of length 2.
Examples
x <- matrix(1:4, ncol = 2)
colnames(x) <- c("first", "second")
x
#> first second
#> [1,] 1 3
#> [2,] 2 4
#> [1] "first" "second"
#> premiere deuxieme
#> [1,] 1 3
#> [2,] 2 4