mat_st_df_to_pt: mat_st_to_df

View source: R/sf_functions.R

mat_st_df_to_ptR Documentation

mat_st_to_df

Description

mat_st_to_df

Usage

mat_st_df_to_pt(df, lat_var, lng_var, crs = NULL)

Arguments

df

data frame

lat_var, lng_var

name of cloumns

crs

crs

Examples

df <- data.frame(x = c(1,2,3), y = c(3,4,2))
df_st <- mat_st_df_to_pt(df, lat_var = x, lng_var = y, crs = 4326)
plot(df_st)

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.