| simage | R Documentation |
image for sparsity.
simage(data, Var1=NULL, Var2=NULL, ...)
data |
model data of class |
Var1 |
variable to set in the x axis |
Var2 |
variable to set in the y axis |
... |
Further arguments to be passed to the image function. |
vector of image
Giovanny Covarrubias
image
# row x column combinations existing
DT <- data.frame(Row=sort(rep(1:10,5)), Col=rep(1:5,10))
DT$Rowf <- as.factor(DT$Row)
DT$Colf <- as.factor(DT$Col)
DT <- DT[-1,] # remove one intentionally
simage(data=DT, Var1 = "Rowf", Var2 = "Colf")
# you can also inpect which cross combinations exist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.