age_animate_weight: age_animate_weight

View source: R/age_animated.R

age_animate_weightR Documentation

age_animate_weight

Description

duplicate dataframe for each element in frames_at

Usage

age_animate_weight(d, frames_at, weight_sigma)

Arguments

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)

Value

dataframe with length(frames_at) times more rows: and columns 'frameage' age@frame and 'w' weight for each point

Examples

d <- data.frame(age=seq(10,30, length.out=4))
movdata <- age_animate_weight(d, c(10,20,30), 2)

LabNeuroCogDevel/LNCDR documentation built on Oct. 13, 2023, 4:31 a.m.