Skip to contents

Scale factors

Usage

pipe_scale_factors(graf, field = "frequency")

Arguments

graf

A mapfile representing a causal map. A mapfile is a tidygraph, which consists of a table of edges linked to a table of nodes, with an optional additional table of statements. In this package, nodes are called `factors` and edges are called `links.`

field

A numerical field in the factor table which will control the scale.

Value

A mapfile with a new or overwritten column `size`in the factor table varying between .2 and 1.