Create.actor.web: Create web actor network

View source: R/Create.actor.web.R

Create.actor.webR Documentation

Create web actor network

Description

Creates a web page domain network from pages. Nodes are site domains.

Usage

## S3 method for class 'actor.web'
Create(datasource, type, ..., writeToFile = FALSE, verbose = TRUE)

Arguments

datasource

Collected social media data with "datasource" and "web" class names.

type

Character string. Type of network to be created, set to "activity".

...

Additional parameters passed to function. Not used in this method.

writeToFile

Logical. Write data to file. Default is FALSE.

verbose

Logical. Output additional information. Default is TRUE.

Value

Network as a named list of two dataframes containing $nodes and $edges.

Examples

## Not run: 
# create a web actor network graph
net_activity <- data_collect |> Create("actor")

# network
# net_activity$nodes
# net_activity$edges

## End(Not run)


vosonlab/vosonSML documentation built on July 23, 2024, 6:32 p.m.