powered by
imfill(x = 1, y = 1, z = 1, val = 0, dim = NULL)
imfill(20,20) %>% plot #Blank image of size 20x20 imfill(20,20,val=c(1,0,0)) %>% plot #All red image imfill(dim=dim(boats)) #Blank image of the same size as the boats image
Run the code above in your browser using DataLab