save_network: Uniform interface for saving networks

Description Usage Arguments

Description

Uniform interface for saving networks

Usage

1
2
3
4
5
6
7
8
9
save_network(
  input,
  netlab,
  weighted,
  cond,
  chunkBy = NULL,
  nresp = NULL,
  netdir = NULL
)

Arguments

input

The network or association data for composing the network.

netlab

Network label (CHILDES, CoxHae, or SWOW).

weighted

A logical (should a weighted nework be produced and written?)

cond

A flexible variable that is used to differentiate the network (and possibly subset associations).

chunkBy

An informative labels, used with CHILDES networks, to indicate whether windows were "chunked" by transcript or utterance. If chunked by utterance, associations cannot be tracked across utterances. If chunked by transcript, then associations can be tracked across utterances in the same transcript, but not across transcripts.

nresp

An informative label (and filter) for CoxHae and SWOW associations. For each cue, a participant was asked to provide 3 word associations. This variable indicates how many of those responses should be considered when constructing the network.

netdir

The basename for the directory where the network should be written to. This will be a subfolder of the project_root/network/ directory.


crcox/netbuildr documentation built on Dec. 19, 2021, 6:19 p.m.