npe_plot_centroids {neonPlantEcology}R Documentation

Download and join spatial information to a neonPlantEcology output data frame

Description

Download and join spatial information to a neonPlantEcology output data frame

Usage

npe_plot_centroids(
  df,
  type = "latlong",
  spatial_only = TRUE,
  input = "community_matrix"
)

Arguments

df

a neonPlantEcology-produced data frame

type

what type of ancillary data structure you want joined. Can be "spatial", which will turn the data frame into an sf data frame, or "latlong", which will add the latitudes and longitudes and other ancillary data as columns only.

spatial_only

set to TRUE if you only want the coordinates and none of the ancillary variables.

input

to what kind of neonPlantEcology product are you appending? Can be "community_matrix", "longform_cover", or "summary_info".

Value

a data frame


[Package neonPlantEcology version 1.6.1 Index]