new_DensityFrameSequence: Create a frame for animating a distribution parameter

Description Usage Arguments Value

View source: R/AnimationFrame.R

Description

An internal function.

Usage

1
new_DensityFrameSequence(density_fun, params, method = expand.grid, ...)

Arguments

density_fun

'function(...)': a function returning a DensityFrame object. The parameters of the function will be drawn from 'params'

params

'list': a named list of parameters with each entry a list of values for that parameter

method

'function'

...

: options to be passed to 'layer_density' when plotting

Value

a DensityFrameSequence object


ryanholbrook/mlanimate documentation built on March 16, 2020, 4:34 p.m.