Generates an a plot from a given ENA set object
The ENAset
that will be used to generate a plot
A character used for the title of the plot, default: ENA Plot
A character vector containing labels for the axes, default: c(X, Y)
An integer determining the font size for graph labels, default: 10
A character determining the color of label font, default: black
A character determining the font type, choices: Arial, Courier New, Times New Roman, default: Arial
"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
ENAplot
used for plotting an ENAset
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
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);