EmigD_format: Re-formats the User's data frame for the EMigD workflow

View source: R/EMigD_format_fun.R

EmigD_formatR Documentation

Re-formats the User's data frame for the EMigD workflow

Description

Re-formats the User's data frame for the EMigD workflow

Usage

EmigD_format(dat, id_, dt_, x_, y_, year_, month_, jdate_)

Arguments

dat

A data frame

id_

The individual ID column in 'dat'. This column should be a 'Factor'.

dt_

The date and time column in 'dat'. Thhis column should be 'POSIXct' class.

x_

The x-coordinate column in 'dat'.

y_

The y-coordinate column in 'dat'.

year_

The column containing the years in 'dat'. The column should be a numeric value.

month_

The column containing the months in 'dat'. The column should be a numeric value.

jdate_

The column containing the julian dates. This column should be a numeric value

Value

A data frame with the columns specified, and renames the column names


jhnhng/EMigD documentation built on Oct. 3, 2023, 7:59 p.m.