Displaying 2 results from an estimated 2 matches for "cyan3".
Did you mean:
cyan
2013 Feb 25
1
colors to pie chart.
...dataset.
##TVs per household.
TVs <- factor(c(rep("0", 1), rep("1", 16), rep("2", 14), rep("3", 12), rep("4", 3), rep("5", 2), rep("6", 2)))
##this runs just fine.
pie(table(TVs))
##however, when i add:
colors <- c("cyan3","magenta","darkblue","darkmagenta","darkred", "darkgoldenrod1", "deeppink")
##and then:
pie(table(TVs, col=colors))
i receive this error.
Error in table(TVs, col = colors) :
all arguments must have the same length
i have tried...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...F8DC",
"cornsilk2", "#EEE8CD",
"cornsilk3", "#CDC8B1",
"cornsilk4", "#8B8878",
"cyan", "#00FFFF",
"cyan1", "#00FFFF",
"cyan2", "#00EEEE",
"cyan3", "#00CDCD",
"cyan4", "#008B8B",
"darkblue", "#00008B",
"darkcyan", "#008B8B",
"darkgoldenrod", "#B8860B",
"darkgoldenrod1", "#FFB90F",
"darkgoldenrod2&q...