class_modify | R Documentation |
Appends classes to exist object classes. This is utilized to aid in adding a list class to objects created by spdep. This enables to use of the returned objects within data frames and tibbles.
class_modify(x, class = "list")
x |
an object to modify |
class |
a character vector of classes to append to an object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.