age_animate_weight | R Documentation |
duplicate dataframe for each element in frames_at
age_animate_weight(d, frames_at, weight_sigma)
d |
dataframe with age |
frames_at |
vector of each "age" value to use as a frame |
weight_sigma |
how fast points disappear (higher is faster) |
dataframe with length(frames_at) times more rows: and columns 'frameage' age@frame and 'w' weight for each point
d <- data.frame(age=seq(10,30, length.out=4))
movdata <- age_animate_weight(d, c(10,20,30), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.