as_tbl_grid {jpgrid} | R Documentation |
Convert a data frame into a tbl_grid object
Description
Usage
as_tbl_grid(x, var = NULL, grid_size = NULL, strict = TRUE, ...)
Arguments
x |
An object to be converted into an object class |
var |
A variable to specify the grid object. By default, the first column of the grid object is taken. |
grid_size |
A grid size. |
strict |
A logical scalar. Should the number of digits in the grid square code match a given number of digits? |
... |
Additional arguments passed to |
Details
It is recommended to use grid_as_sf()
.
The tbl_grid
object is a data frame with grid
objects in the columns.
as_tbl_grid
converts a data frame into a tbl_grid object.
Value
A tbl_grid
object.
[Package jpgrid version 0.3.1 Index]