writeData | R Documentation |
Saves information from graphs and data objects created by package. Plots are saved as .tiff at 300 dpi
writeData(project_name, objectfile, dirpath = NULL)
project_name |
Name of the project |
objectfile |
The saved data object data file |
dirpath |
The working directory that the files will be saved to. Path required for write function to work. Current directory, use "." as the dirpath |
Saves the requested object file to disk. Saves graphs or summary information sheets.
attributeData <- attributeData
df <- sampleData1
prepNet <- tabulate_edges(df, silentNodes = 0)
baseNet <- prepareGraphs(prepNet, project_title = "Sample Data 1", weightedGraph = TRUE)
NetPlots2 <- plot2Att(baseNet, attribute1 = attributeData$ethnicity,
attribute2 = attributeData$gender, attribute.node.labels = attributeData$node,
attribute1.label = "Ethnicity", attribute2.label = "Gender")
writeData("Sample Data 1", NetPlots2, dirpath = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.