class_modify: Modify object classes

View source: R/utils.R

class_modifyR 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


sfdep documentation built on Sept. 13, 2024, 5:07 p.m.