Skip to content

nicebread/fSRM

Repository files navigation

Build Status

fSRM: An R package for Social Relations Model with Roles ("family SRM")

The package computes Social Relations Analysis with roles ("Family SRM"), using a structural equation modeling approach. Groups ranging from three members up to an unlimited number of members are supported and the mean structure can be computed. A delta method approach allows the comparison of means and variances between two groups of families, a Wald statistic tests the hypothesis that actor or partner means are equal across roles.

The package is described in this paper:

Stas, L., Schönbrodt, F. D., & Loeys, T. (2015). Getting the most out of family data with the R package fSRM. Journal of Family Psychology, 29, 263–275. doi:10.1037/fam0000058 Free PDF version

Please cite the paper when you use the package in your research.

Installation

The stable version can be installed from CRAN:

install.packages("fSRM")

The current development version can be installed from this repository:

install.packages(c("devtools", "lavaan", "plyr", "reshape2", "ggplot2", "grid", "scales", "foreign", "tcltk", "tcltk2", "gridExtra"), dependencies=TRUE)
library(devtools)
install_github("nicebread/fSRM", subdir="package")	

About

R package for Social Relations Model with Roles ("family SRM")

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages