NetIndClass: R6 class for creating and storing a friend matrix (network IDs) for network data
Description
This R6 class defines fields and methods for creating and storing NetInd_k,
a matrix of friend indices (network IDs) of dim = (nobs x Kmax).Details
- Matrix of friend indices (network IDs) of dim = (nobs x Kmax) (Active Binding).
- nF
- Vector of integers, where nF[i] is the integer number of friends (0 to Kmax) for observation i.
- nobs
- Number of observations
- Kmax
- Maximum number of friends for any observation.