Description Usage Arguments Details Author(s) Examples
This function generates an network Maze with 1 arrow.
1 2 |
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. |
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. 1 arrow per maze is generated.
Aiden Loe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #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)
netHTML1arrow(logic, wd=NULL, names = countries,concerto="C5")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.