plot.ena.set {rENA} | R Documentation |
Plot an ena.set object
Description
Plot an ena.set object
Usage
## S3 method for class 'ena.set'
plot(x, y, ...)
Arguments
x |
ena.set to plot |
y |
ignored. |
... |
Additional parameters passed along to ena.plot functions |
Value
ena.plot.object
Examples
library(magrittr)
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(set) %>%
add_points(Condition$FirstGame, colors = "blue", with.mean = TRUE) %>%
add_points(Condition$SecondGame, colors = "red", with.mean = TRUE)
plot(set) %>%
add_network(Condition$FirstGame - Condition$SecondGame)
[Package rENA version 0.2.7 Index]