delete_grid | R Documentation |
Deletes a specified grid from a nano
objetct.
delete_grid(nano, model_no)
nano |
|
model_no |
position of the grid to be deleted. |
Deletes a specified grid from a nano
object. When the grid is deleted, all elements associated with the grid will be
deleted as well. I.e. all the model_no
th elements in each of the lists will be deleted. If deleting a grid which is not the
last one, then subsequent elements are moved up the list by one and renamed appropriately. E.g. if there are three grids and the
second grid is deleted, then the third grid will move to the second position and will be renamed from "grid_3" to "grid_2".
a nano
object with the specified grid deleted.
## Not run:
if(interactive()){
nano <- delete_grid(nano, 1)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.