measure_attributes {manynet}R Documentation

Describing attributes of nodes or ties in a network

Description

These functions extract certain attributes from network data:

These functions are also often used as helpers within other functions. ⁠node_*()⁠ and ⁠tie_*()⁠ always return vectors the same length as the number of nodes or ties in the network, respectively.

Usage

node_attribute(.data, attribute)

node_names(.data)

node_is_mode(.data)

tie_attribute(.data, attribute)

tie_weights(.data)

tie_signs(.data)

Arguments

.data

An object of a manynet-consistent class:

  • matrix (adjacency or incidence) from {base} R

  • edgelist, a data frame from {base} R or tibble from {tibble}

  • igraph, from the {igraph} package

  • network, from the {network} package

  • tbl_graph, from the {tidygraph} package

attribute

Character string naming an attribute in the object.

See Also

Other measures: between_centrality, close_centrality, degree_centrality, eigenv_centrality, measure_closure, measure_cohesion, measure_features, measure_heterogeneity, measure_hierarchy, measure_holes, measure_infection, measure_net_diffusion, measure_node_diffusion, measure_periods, measure_properties, member_diffusion

Examples

node_attribute(ison_lotr, "Race")
node_names(ison_southern_women)
node_is_mode(ison_southern_women)
tie_attribute(ison_algebra, "task_tie")
tie_weights(to_mode1(ison_southern_women))
tie_signs(ison_marvel_relationships)

[Package manynet version 1.0.2 Index]