netHTML2arrows {networkGen}R Documentation

Generate Network Maze (2 arrows)

Description

This function generates an network Maze with 2 arrows.

Usage

netHTML2arrows(nodeLogic = NULL, wd = NULL, names = NULL,
  concerto = "C5")

Arguments

nodeLogic

This is the connections between the nodes.

wd

is the working directory to save the HTML source code in. If not given, the file will be saved in the default working directory.

names

This allows you to put in your own names in the nodes when generating the maze.

concerto

Choose between concerto 4 or concerto 5. So if you are not using concerto, you might want to change the default option to concerto 4 instead.

Details

This function creates a maze and is saved into your working directory. This is regardless of whether it is a trail or circuit type maze. 2 arrows per maze is generated.

Author(s)

Aiden Loe

Examples

#create random names
countries <- c("Croatia","Cyprus","Denmark","Finland","France","Germany",
"Greece","Hungary","Iceland","UK","US")

#create node logic
logic <- nodeLogic(value = 8, type= "circuit", itemFamily= 1)

#Folder to save html/
#setwd("~/desktop")
#filePath<- getwd()

#Generate item
set.seed(1)
netHTML2arrows(logic, wd=NULL, names = countries,concerto="C5")



[Package networkGen version 0.1.1 Index]