ospSender: otp sender

View source: R/effectsActor.R

ospSenderR Documentation

otp sender

Description

This function specified the input for the baseline effect in the formula argument for the function remulateActor. Not to be used independently.

Usage

ospSender(param = NULL, scaling = c("none", "std", "prop"))

Arguments

param

numeric value, data.frame or function with time parameter. Specifies the value of the effect for the baseline in the REM model

scaling

the method for scaling the otp sender statistic. "none" [default] gives raw value of the statistic at time t, "std" the statistic is standardized per time point, and "prop" denotes proportional scaling in which raw counts are divided by the out degree of the sender at time t.

Details

if param is a data frame, it must have three columns: sender, receiver, and value (numeric), representing the parameter value for thay dyadic pair. The data.frame must contain all pairs of actors or dyads corresponding to the riskset.

if param is a function, it's first argument must be 't', corresponding to the time. The function may have additional arguments.

Value

List with all information required by 'remulate::remulateActor()' to compute the statistic.


remulate documentation built on April 16, 2025, 5:09 p.m.