class_modify {sfdep}R Documentation

Modify object classes

Description

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.

Usage

class_modify(x, class = "list")

Arguments

x

an object to modify

class

a character vector of classes to append to an object


[Package sfdep version 0.2.5 Index]