longitudinal_plot_b: Plot longitudinal random effects - dyadic reciprocity

View source: R/longitudinal_plot_b.R

longitudinal_plot_bR Documentation

Plot longitudinal random effects - dyadic reciprocity

Description

Plot longitudinal random effects - dyadic reciprocity

Usage

longitudinal_plot_b(
  input,
  results,
  plot = TRUE,
  save_plot = NULL,
  height = 6,
  width = 6,
  palette = NULL
)

Arguments

input

A STRAND model object, obtained by fitting a longitudinal combined stochastic block and social relations model.

results

A results data.frame or matrix with colnames: c("Variable", "Layer", "Target" , "Base" , "Median", "L", "H", "Mean","SD","LayerNumeric")

plot

Should a plot be displayed?

save_plot

Should a plot be exported to working directory? If so, set save_plot="desired_filename.pdf".

height

Height of exported plot.

width

Width of exported plot.

palette

Override the default palette with a 3-vector of color codes.

Value

A figure or tabluar data to make a figure.


ctross/STRAND documentation built on Dec. 15, 2024, 6:02 a.m.