cpsrmRun: Deprecated: use 'cpsrm_run' instead

View source: R/deprecated.R

cpsrmRunR Documentation

Deprecated: use cpsrm_run instead

Description

cpsrmRun has been renamed to cpsrm_run. Key argument changes: course.id -> location_id; actor.dummies -> actor_dummies; partner.dummies -> partner_dummies; zero.rho -> zero_rho; zero.actor -> zero_actor; zero.partner -> zero_partner; zero.group -> zero_group; zero.course -> zero_location; weight.partners -> weight_partners; fixed.effects -> fixed_effects; stage1.maxit -> stage1_maxit; stage2.maxit -> stage2_maxit; se.method -> se_method; rho.boundary -> rho_boundary; verbose.every -> verbose_every.

Usage

cpsrmRun(
  dv,
  actor.id,
  group.id,
  actor.dummies,
  partner.dummies,
  data,
  course.id = NULL,
  zero.rho = FALSE,
  zero.actor = FALSE,
  zero.partner = FALSE,
  zero.group = FALSE,
  zero.course = FALSE,
  weight.partners = TRUE,
  fixed.effects = NULL,
  stage1.maxit = 1000L,
  stage2.maxit = 1000L,
  se.method = c("hessian", "none"),
  rho.boundary = 0.99,
  verbose.every = 50L,
  ...
)

Arguments

dv

string; name of the outcome variable

actor.id

string; name of the actor identifier variable

group.id

string; name of the group identifier variable

actor.dummies

character vector of actor dummy column names

partner.dummies

character vector of partner dummy column names

data

a data.frame

course.id

string or NULL; higher-level clustering variable

zero.rho

logical; fix actor-partner correlation at zero

zero.actor

logical; fix actor variance at zero

zero.partner

logical; fix partner variance at zero

zero.group

logical; fix group variance at zero

zero.course

logical; fix course/location variance at zero

weight.partners

logical; weight partner dummies

fixed.effects

character vector or NULL

stage1.maxit

integer; stage 1 iterations

stage2.maxit

integer; stage 2 iterations

se.method

character; "hessian" or "none"

rho.boundary

numeric; boundary threshold

verbose.every

integer; verbose print frequency

...

additional arguments passed to cpsrm_run

Value

see cpsrm_run


roundRobinR documentation built on Sept. 18, 2026, 1:06 a.m.