as.data.frame,extent_crs-method | R Documentation |
Functions to check if an object is a data frame, or coerce it if possible.
## S4 method for signature 'extent_crs' as.data.frame(x) ## S4 method for signature 'records' as.data.frame(x)
x |
Any R object. |
returns a data frame, normally with all row names
## Not run: # load example rtoi file.copy(from=system.file("ex/Navarre",package="rsat"), to=tempdir(), recursive = TRUE) navarre <- read_rtoi(file.path(tempdir(),"Navarre")) # get the records rcds <- records(navarre) # coerce the records to rtoi df <- as.data.frame(rcds) # print the dataframe print(df) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.