Learn R Programming

collinear (version 2.0.0)

drop_geometry_column: 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)

Value

data frame

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

Author

Blas M. Benito, PhD