Displaying 2 results from an estimated 2 matches for "dotcol".
Did you mean:
dotcot
2011 Jul 28
2
Animated gif or something similar in R?
...round(abs(rnorm(5,16,2)),1),round(abs(rnorm(5,4,2)),1),round(abs(rnorm(5,7,2)),1)),
z=c(round(abs(rnorm(5,7,2)),1),round(abs(rnorm(5,12,2)),1),
round(abs(rnorm(5,16,1)),1),round(abs(rnorm(5,6,2)),1),round(abs(rnorm(5,17,2)),1)),
dotcol=c(rep('red2',5),rep('green2',5),rep('blue2',5),rep('yellow1',5),rep('purple2',5))
)
#this call doesn't show the right colors--why?
plot3d(clusset, xlim=c(0,25), ylim=c(0,25),
zlim=c(0,25),xlab='',ylab='',zlab='...
2012 Aug 24
1
help with a special variant of balloonplot
...standard plot
# Now comes the attempt at something more special
FreqThresh=50 # A threshold level
Freqdev<-Freq-FreqThresh # A new variable
colors=ifelse(Freqdev>0,"green","magenta")
balloonplot(x=Class,y=list(Age,Sex),z=Freqdev,sort=TRUE,show.zeros=TRUE,cum.margins=FALSE,dotcol=colors,
show.margins=FALSE,main="BalloonPlot : Surviving passengers")
I am interested in a table with the
values unchanged from the titanic dataframe. These values should be highlighted
in balloons in two different colours, let’s say, green and magenta. For
positive values of Freqdev, t...