netmetavar: Creates NetworkMetavar objects

Description Usage Arguments

View source: R/NetworkMetadata.r

Description

The function creates a codeNetworkMetavar from a tabular view of the networks.

Usage

1
2
netmetavar(name, description, alterdata, names, nmetavarbyalter, nbalter,
  metavar.id.alter = NULL)

Arguments

name

A character of length 1. Name of the NetworkMetavar object.

description

A character of length 1. A short description for the NetworkMetavar object.

alterdata

Rsocialdata object. The covariates variables.

names

A character. Define names of the demographic variables describing people within networks.

nmetavarbyalter

An integer. Number of variable to use for each alter individual.

nbalter

An integer. Obsolete.

metavar.id.alter

if An integer. IDs for alters are given en metavar we can use them, else we assume meta variables are given in the same order than id alters


Rsocialdata.network documentation built on May 2, 2019, 4:52 p.m.