Learn R Programming

networkGen (version 0.1.1)

netHTML: Generate Network Maze (No arrows)

Description

This function generates an network Maze with at most 2 arrows.

Usage

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

Arguments

nodeLogic

This is the connections between the nodes.

wd

This 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. CSS scale on concerto 5 is slightly off. 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. At most up to 2 arrows per maze is generated.

Examples

Run this code
# NOT RUN {
#create node logic
logic <- nodeLogic(value = 8, type= "circuit", itemFamily= 1)

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

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


# }

Run the code above in your browser using DataLab