View source: R/animation_expression.R
animation_expression | R Documentation |
Animation Expression
animation_expression(
bg,
bg.axes,
bg.misc,
bg.opts,
blur.size,
cliques,
color_covariate_function,
coord,
covariate,
covariate.factors,
covariate.interp,
covariate.legend.loc,
covariate.name,
covariate.range,
covariate.thresh,
covariate.ticks,
crawl.mu.color,
crawl.plot.type,
cur.time,
date.col,
delta.t,
dev.opts,
dimmed,
ID_names,
interpolation_type,
interval,
legend.loc,
main,
method,
n.frames,
network,
network.interp,
network.ring.trans,
network.ring.wt,
network.segment.trans,
network.thresh,
network.segment.wt,
par.opts,
paths,
paths.interp,
plot.date,
pt.alpha,
pt.cex,
pt.colors,
pt.wd,
res,
scale,
simulation,
simulation.iter,
tail.alpha,
tail.colors,
tail.length,
tail.wd,
theme_map,
time.grid,
Time.name,
uncertainty.level,
uncertainty.type,
whole.path,
xlim,
ylim,
...
)
bg |
a list object for the ggmap background if background object is supplied |
bg.axes |
logical: should animation place axis labels when using a background image (default is |
bg.misc |
Character string which will be executed as |
bg.opts |
Options passed to |
blur.size |
a integer of the size for blur points; default is 8 |
cliques |
A list of colors for network projections |
color_covariate_function |
a function to generate color for covariate interpolation |
coord |
A character vector of length 2 giving the names of the longitude/easting and latitude/northing columns in the |
covariate |
The name of the column in |
covariate.factors |
factor levels for covariate interpolation |
covariate.interp |
interpolation for covariate projections |
covariate.legend.loc |
either the location of the covariate legend, or |
covariate.name |
name of covariate interpolation |
covariate.range |
the range of covariate interpolation |
covariate.thresh |
if changed from its default value of |
covariate.ticks |
|
crawl.mu.color |
color for the main predictions for crawl interpolation; default is black |
crawl.plot.type |
a character string of what type of the plot you wish to generate when |
cur.time |
start time of animation |
date.col |
default is |
delta.t |
The gap in time between each frame in the animation. Specify one of |
dev.opts |
Options passed to |
dimmed |
Numeric vector of individuals to "dim" in the animation. Order corresponds to the order of the ID.name variable, or order of paths list. |
ID_names |
a list of names for each animal in the data |
interpolation_type |
a character string of the type of interpolation. Default is "gam" for a generalized addictive model. Input "crawl" to interpolate using |
interval |
Seconds per frame in animation. Default is 1/12 (or 12 frames per second). |
legend.loc |
passed to first argument of |
main |
Title for each frame. SOON: support for changing titles to allow for, say, dates. |
method |
either |
n.frames |
The number of frames used to animate the complete time domain of the data. |
network |
Array of dimensions (# individuals, # individuals, |
network.interp |
interpolated network of dimension |
network.ring.trans |
transparency of network segments (default is 1) |
network.ring.wt |
thickness of network rings (default is 3) |
network.segment.trans |
|
network.thresh |
|
network.segment.wt |
thickness of network segments (default is 3) |
par.opts |
Options passed to |
paths |
A list of all paths from each animals stored in a |
paths.interp |
a path animation object that contains all predicted and simulated paths for all animals |
plot.date |
Logical variable toggling date text at the time center of the animation. |
pt.alpha |
alpha value for the points |
pt.cex |
A numeric value giving the character expansion (size) of the points for each individual. Default is 1. |
pt.colors |
A vector of colors to be used for each individual in the animation. Default values come from Color Brewer palettes. When a network is provided, this is ignored and individuals are all colored black. If |
pt.wd |
size of the points; default is 1 |
res |
Resolution of images in animation. Increase this for higher quality (and larger) images. |
scale |
|
simulation |
logical. Generate simulation predictions to have multiple projects for the animal paths |
simulation.iter |
an integer of how many paths the crawl model will generate |
tail.alpha |
alpha value for the tails |
tail.colors |
default is "gray87". Can be single color or vector of colors. |
tail.length |
Length of the tail trailing each individual. |
tail.wd |
Thickness of tail trailing behind each individual. Default is 1. |
theme_map |
plot theme for ggplot, default is NULL |
time.grid |
A vector of time interval. |
Time.name |
The name of the columns in |
uncertainty.level |
value in (0, 1) corresponding to |
uncertainty.type |
State what type of uncertainty plot 1 is default for tails more than 1 is amount of predicted trajectories for each unique individual and blurs for blur plot |
whole.path |
logical. If |
xlim |
Boundaries for plotting. If left undefined, the range of the data will be used. |
ylim |
Boundaries for plotting. If left undefined, the range of the data will be used. |
... |
other arguments to be passed to |
animation for different methods and different interpolation types
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.