rties5.0.0 package

Modeling Interpersonal Dynamics

actorPartnerDataCross

Takes individual cross-sectional data from dyads and turns it into act...

actorPartnerDataTime

Takes individual repeated measures data from dyads and turns it into a...

autoCorPlots

Produces auto-correlation plots of the observed state variable for lag...

cloCoupledOde

Provides the equation for a coupled oscillator model for the different...

cloPlotTraj

Plots the bivariate state variable's clo model-predicted temporal traj...

cloResids

Produces histograms of the residuals from the oscillator model for eac...

cloUncoupledOde

Provides the equation for an un-coupled oscillator model for the diffe...

crossCorPlots

Produces cross-correlation plots of the observed state variable for la...

dataPrep

Reformat a user-provided dataframe in a generic form appropriate for *...

dyadic

Produces plots for sysVarIn when sysVar is dyadic.

estDerivs

Estimates first and second derivatives of an oberved state variable

histAll

Histograms for all numeric variables in a dataframe.

indiv2profilesCat

Produces plots for sysVarIn when sysVar is categorical and there are 2...

indiv2profilesCont

Produces plots for sysVarIn when sysVar is continuous and there are 2 ...

indiv3profilesCat

Produces plots for sysVarIn when sysVar is categorical and there are 3...

indiv3profilesCont

Produces plots for sysVarIn when sysVar is continuous and there are 3 ...

indiv4profilesCat

Produces plots for sysVarIn when sysVar is categorical and there are 4...

indiv4profilesCont

Produces plots for sysVarIn when sysVar is continuous and there are 4 ...

indivClo

Estimates either an uncoupled or coupled oscillator model for each dya...

indivCloCompare

Compares model fit for the uncoupled and coupled oscillator for each d...

indivCloPlots

Produces plots of either an uncoupled or coupled oscillator model-pred...

indivInertCoord

Estimates versions of the inertia-coordination model for each dyad.

indivInertCoordCompare

Compares model fit for the inertia-only, coordination-only and full in...

indivInertCoordPlots

Produces plots of the inertia-coordination model-predicted trajectorie...

inertCoordPlotTraj

Plots the bivariate state variables' model-predicted temporal trajecto...

inertCoordResids

Produces histograms of the residuals from the inertia-coordination mod...

inspectProfiles

Provides information to help decide how many profiles to use for subse...

makeCrossCorr

Calculates cross-correlations for a given variable and returns a dataf...

makeDist

Create a distinguishing variable (called "dist") for non-distinguishab...

makeFullData

Combines profile membership data from the latent profile analysis with...

Max_Min_CCF_Signed

A helper function for makeCrossCorr

plotDataByProfile

Plots of de-trended observed variable over time, with dyads separated ...

plotRaw

Plots of observed variable over time by dyad.

removeDyads

Remove data for specified dyads from a dataframe

sysVarIn

Provides results for predicting couples' latent profile membership fro...

sysVarInPlots

Produces plots for interpreting the results from sysVarIn.

sysVarInResults

Produces results from sysVarIn.

sysVarOut

Provides results for predicting the system variable from the latent pr...

sysVarOutPlots

Produces plots for interpreting the results from sysVarIn.

sysVarOutResults

Produces results from sysVarOut.

The name of this package grew out of our research on temporal interpersonal emotion systems (TIES), hence 'rties'. It provides tools for using a set of models to investigate temporal processes in bivariate (e.g., dyadic) systems. The general approach is to model, one dyad at a time, the dynamics of a variable that is assessed repeatedly from both partners, extract the parameter estimates for each dyad, and then use those parameter estimates as input to a latent profile analysis to extract groups of dyads with qualitatively distinct dynamics. Finally, the profile memberships can be used to either predict, or be predicted by, another variable of interest. Currently, 2 models are supported: 1) inertia-coordination, and 2) a coupled-oscillator. Extended documentation is provided in vignettes. Theoretical background can be found in Butler (2011) <doi:10.1177/1088868311411164> and Butler & Barnard (2019) <doi:10.1097/PSY.0000000000000703>.

  • Maintainer: Emily Butler
  • License: GPL-3
  • Last published: 2020-05-11