Dimension information for a float vector/matrix.
# S4 method for float32
nrow(x)# S4 method for float32
ncol(x)
# S4 method for float32
NROW(x)
# S4 method for float32
NCOL(x)
# S4 method for float32
dim(x)
# S4 method for float32
length(x)
# S4 method for float32
dim(x) <- value
A float vector/matrix.
The right hand side for the "setter" (dim<-
).
The requested integer values.
# NOT RUN {
library(float)
s = flrunif(10, 3)
dim(s)
nrow(s)
ncol(s)
# }
Run the code above in your browser using DataLab