selectionTableWithMax: Creates a dataframe with the selection table, plus max values...

Description Usage Arguments Details Value

Description

Creates a dataframe with the selection table, plus max values across alter values

Usage

1
2
selectionTableWithMax(x, xd, name, vname, levls, levls.alt = levls,
  discrete = TRUE)

Arguments

x

sienaFit: Results from a single group analysis

xd

siena: the RSiena Data Object or Data Set that was used to generate x

name

character: the name of the endogenous variable of interest (a network or behavior variable)

vname

character: the actor variable name (i.e. predictor variable)

levls

numeric: number of ego levels in the variable given by vname

levls.alt

numeric (=levls): number of alter levels in vname (usually = levls, in which case you do not need to include it in the call)

Details

Creates a data frame including the selection table for siena data set xd, sienaFit object x, actor covariate vname, dependent variable name, levels for ego levls, levels for alter levls.alt, to which is appended the values for the maximum across alter, where alter ranges over levls.alt (a grid with 200 points between minimum and maximum is used).

Value

dataframe: MUST DOCUMENT THIS STRUCTURE WHEN YOU CAN FIGURE IT OUT! Apparently, there are two types of rows; if 'kind'=1, it's the selection table, and if 2, it's the max values.


johninpdx/RSSelectionTbl documentation built on May 21, 2019, 12:20 p.m.