as_seed: Given one or more spatial locations, generate POINT objects...

View source: R/FVCOMPhysics.R

as_seedR Documentation

Given one or more spatial locations, generate POINT objects to seed for tracking

Description

Given one or more spatial locations, generate POINT objects to seed for tracking

Usage

as_seed(X, x, y, z = 0, time = X$get_time()[1], crs = 4326)

Arguments

X

FVCOM_Physics object

x

sf POINT or numeric one of more x coordinates such as longitude if sf POINT class then y, z, time crs are ignored.

y

numeric one of more y coordinates such as latitude

z

numeric one of more z coordinates such as depth

time

POSIXct one of more time stamps (UTC)

crs

the CRS for the input [x,y] coordinates

Value

sf POINT object suitable for tracking


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.