ena.plot | R Documentation |
Generates an a plot from a given ENA set object
ena.plot( enaset, title = "ENA Plot", dimension.labels = c("", ""), font.size = 10, font.color = "#000000", font.family = c("Arial", "Courier New", "Times New Roman"), scale.to = "network", ... )
enaset |
The |
title |
A character used for the title of the plot, default: ENA Plot |
dimension.labels |
A character vector containing labels for the axes, default: c(X, Y) |
font.size |
An integer determining the font size for graph labels, default: 10 |
font.color |
A character determining the color of label font, default: black |
font.family |
A character determining the font type, choices: Arial, Courier New, Times New Roman, default: Arial |
scale.to |
"network" (default), "points", or a list with x and y ranges. Network and points both scale to the c(-max, max) of the corresponding data.frame |
... |
additional parameters addressed in inner function |
This function defines the axes and other features of a plot for displaying an ENAset; generates an ENAplot object that can used to plot points, network graphs, and other information from an ENAset
ENAplot
used for plotting an ENAset
ena.make.set
, ena.plot.points
data(RS.data) codeNames = c('Data','Technical.Constraints','Performance.Parameters', 'Client.and.Consultant.Requests','Design.Reasoning','Collaboration'); accum = ena.accumulate.data( units = RS.data[,c("UserName","Condition")], conversation = RS.data[,c("Condition","GroupName")], metadata = RS.data[,c("CONFIDENCE.Change","CONFIDENCE.Pre","CONFIDENCE.Post")], codes = RS.data[,codeNames], window.size.back = 4 ) set = ena.make.set( enadata = accum ) plot = ena.plot(set) group1.points = set$points.rotated[set$enadata$units$Condition == "FirstGame",] plot = ena.plot.points(plot, points = group1.points); print(plot);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.