PlotLocationSunriseSunset: Plots locations related to sunrise and sunset

Description Usage Arguments Details Value

Description

Plots locations in relation to sunrise, sunset, and solarnoon.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
PlotLocationSunriseSunset(
  df = df,
  by = "id",
  individual = "",
  color_factor = NULL,
  pal = NULL,
  b_pal = "Set1",
  start = NULL,
  end = NULL,
  breaks = "1 days",
  tz = "Etc/GMT+5",
  addsolartimes = FALSE,
  wrap = TRUE
)

Arguments

df

Dataframe with id, lat, long, datetime.

by

Column name to use to split, analyze, and merge data. Default is "id".

individual

String, individual/s (from id column) to keep, format should be c(id, id), default is all

color_factor

Column names, factor to determine location point color.

pal

String, color palette for CreateVarsColors(). Default is NULL.

b_pal

String, color palette from RColorBrewer for CreateVarsColors(), default is "Set1"

start

Date, filter start date. Default is 1970-01-01.

end

Date, filter end date. Default is current date.

breaks

Breaks on x-axis, i.e., "7 days".

tz

Timezome. Default "Etc/GMT+5".

addsolartimes

Logical, whether to not to run the AddSolarTimes() on data first. Default FALSE.

wrap

Logical, whether or not to wrap ribbon of panels into 2d. Default is TRUE.

Details

Using color_factor on "behavior"

Value

Plot of locations over a range of dates


Blakemassey/gisr documentation built on Aug. 30, 2020, 12:14 a.m.