netvar: Creates a NetworkVariable object

Description Usage Arguments

View source: R/NetworkVariable.r

Description

The function transform network data given in a tabular form to a NetworkVariable object.

Usage

1
2
3
netvar(x, n.col.by.network, valids = valids(x[[1]]),
  missings = missings(x[[1]]), description, directed = T, metadata.depends,
  ...)

Arguments

x

A Rsocialdata object. The variables specifying who cites who within the networks, given in a tabular form.

n.col.by.network

a

valids

A named numeric. Specify which survey codes correspond to valids cases and label them.

missings

A named numeric. Specify which survey codes correspond to valids cases and label them.

description

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

directed

A logical. Are the networks directed? Default is TRUE.

metadata.depends

A character of length 1. Specify the NetworkMetadata object containing covariates describing individuals of the networks.

...

Additional parameters. When the number of cited people is not the same for all networks, the n.cited.by.network (a numeric) allows to specify them.


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