Description Usage Arguments Details Value Author(s) Examples
View source: R/obtener_recubrimiento.R
.. content for (no empty lines) ..
1 | obtener_recubrimiento(R, nhuecos = 1L)
|
R |
|
nhuecos |
Number of (the first missing) places of R to be filled. |
.. content for ..
A matrix
emilio
1 2 3 4 5 6 7 8 9 10 11 12 | set.seed(1234)
R <- crear_matriz_aleatoria(ndimension=5L,valordiagonal=10L)
print(R)
cat("Number of missing places: ", sum(is.na(R)),".\n",sep="")
cat("Number of values of R: ", length(obtener_valores_posibles(R)),".\n",sep="")
cat("Unique values of R:", obtener_valores_posibles(R),".\n")
cat("Number of total covers: ", length(obtener_valores_posibles(R)),"^",sum(is.na(R)),".\n",sep="")
## Saca todas las combinaciones rellenando los 4 primeros huecos
mrecubrimiento <- obtener_recubrimiento(R,nhuecos=4L)
head(mrecubrimiento)
dim(mrecubrimiento) # 1296 13
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.