mat_st_df_to_pt: mat_st_to_df

Description Usage Arguments Examples

View source: R/sf_functions.R

Description

mat_st_to_df

Usage

1
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

1
2
3
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 Aug. 10, 2021, 11:01 a.m.