You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
faction <- get.vertex.attribute(karate, "Faction")
Error in get.vertex.attribute(karate, "Faction") :
get.vertex.attribute requires an argument of class network.
f.colors <- as.character(length(faction))
Error: object 'faction' not found
f.colors[faction == 1] <- "red"
Error in f.colors[faction == 1] <- "red" : object 'f.colors' not found
f.colors[faction == 2] <- "cyan"
Error in f.colors[faction == 2] <- "cyan" : object 'f.colors' not found
plot(f.vec, pch=16, xlab="Actor Number",
ylab="Fiedler Vector Entry", col=f.colors)
Error in plot.xy(xy, type, ...) : object 'f.colors' not found
abline(0, 0, lwd=2, col="lightgray")
The text was updated successfully, but these errors were encountered:
CHUNK 41
faction <- get.vertex.attribute(karate, "Faction")
Error in get.vertex.attribute(karate, "Faction") :
get.vertex.attribute requires an argument of class network.
Error in plot.xy(xy, type, ...) : object 'f.colors' not found
The text was updated successfully, but these errors were encountered: