File: tweenr_package.R

package info (click to toggle)
r-cran-tweenr 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,060 kB
  • sloc: cpp: 1,052; ansic: 558; sh: 13; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#' @details
#' tweenr is a small collection of functions to help you in creating
#' intermediary representations of your data, i.e. interpolating states of data.
#' As such it's a great match for packages such as animate and gganimate, since
#' it can work directly with data.frames of data, but it also provide fast and
#' efficient interpolaters for numeric, date, datetime and colour that are
#' vectorized and thus more efficient to use than the build in interpolation
#' functions (mainly [stats::approx()] and
#' [grDevices::colorRamp()]).
#'
#' The main functions for data.frames are [tween_states()],
#' [tween_elements()] and [tween_appear()], while the
#' standard interpolaters can be found at [tween()]
#'
#' @useDynLib tweenr, .registration = TRUE
'_PACKAGE'