data4M: Create or extract a 'Data4M' object.

Description Usage Arguments Details See Also

Description

Takes a data.frame of time-stamped locations and store it in an object of class Data4M for further processing. Otherwise takes an object and coerces it to class Data4M.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data4M(x, ...)

## S4 method for signature 'Data4M'
initialize(.Object, Identification = list(),
  Data = data.frame(Date = .POSIXct(numeric(0)), Lon = numeric(0), Lat =
  numeric(0)))

## S4 method for signature 'data.frame'
data4M(x, Identification = list())

## S4 method for signature 'Model4M'
data4M(x)

Arguments

x

An object to coerce to class Data4M. If a data.frame, it must contain at least the columns Date, Longitude, and Latitude. These column names can be shortened e.g., Lat.

Identification

An optional argument of any type to help the user identify the data set.

Details

The initialize function is not meant to be used by the user, use data4M instead.

See Also

Other Construct4M: model4M, setModel4M, setSim4M, simulate4M


lawlerem/markmodmover documentation built on Feb. 12, 2020, 8:30 p.m.