drop_geometry_column: Removes geometry column in sf data frames

View source: R/drop_geometry_column.R

drop_geometry_columnR Documentation

Removes geometry column in sf data frames

Description

Replicates the functionality of sf::st_drop_geometry() without depending on the sf package.

Usage

drop_geometry_column(df = NULL, quiet = FALSE)

Arguments

df

(required; data frame, tibble, or sf) A data frame with responses and predictors. Default: NULL.

quiet

(optional; logical) If FALSE, messages generated during the execution of the function are printed to the console Default: FALSE

Value

data frame

Author(s)

Blas M. Benito, PhD


collinear documentation built on April 12, 2025, 1:36 a.m.