calc_positions: Calculate Node Postitions

Description Usage Arguments Details Value Author(s)

View source: R/utils.R

Description

Calculate node positions for a specific time period.

Usage

1

Arguments

periods

Integer vector of time periods for which to calculate the position.

pos

Matrix of latent locations.

traj

Matrix of trajectories.

fn

Function taking a time period, latent starting positions, and trajectories, which returns a matrix of latent position. Default is the simple linear trajectory model.

...

List of parameters to pass to the trajectory function.

Details

Calculate node positions for a specific time period.

Value

List of latent locations, one for each time period.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/dynnet documentation built on May 18, 2019, 4:53 p.m.