Displaying 5 results from an estimated 5 matches for "bgcols".
Did you mean:
bcols
2010 Jun 02
1
how to label the som notes by the majority vote
...2classvec(outcome.xyf)) #change matrix
to vectors.
outcome.label<-LETTERS[outcome.predict] #conver the numeric value to
letters.
plot(final.xyf, type="property", property=outcome.predict,
labels=outcome.label, palette.name =rainbow, main="Prediction ")
cl <- colors()
bgcols <- cl[2:14]
plot(final.xyf, type="mapping", labels=outcome.label, col="black",
bgcol=bgcols[as.integer(outcome.predict)],
main="Mapping plot")
--
Sincerely,
Changbin
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name...
2008 May 23
1
Line Breaks and Axis breaks..
Hello all,
I have two questions. One probably has a very simple answer but I have checked the FAQ, other websites and still have not found an answer. I am new to using R. My very simple question is how to do line breaks when creating an axis title (xlab) ? I have a few that are too long and they get cut off... I found on the internet the "/n" function but I think I must be using it
2008 Jul 28
2
axis.break on Date-x-axis in lattice xyplot
Dear list,
i am using the following code to produceĀ a lattice xyplot, but the
axis.break-function is seemingly not executed.
Date<-seq(as.Date("2006-08-29"), as.Date("2007-08-28"), by="2 weeks")
Period<-
var1<-rnorm(27, 90000000, 30000000)
var2<-rnorm(27, 500000000,250000000)
var3<-rnorm(27, 1000000,500000)
var4<-rnorm(27, 600000,300000)
2010 Sep 09
4
Axis break with gap.plot()
Hi everyone.
I'm trying to break the y axis on a plot. For instance, I have 2 series
(points and a loess). Since the loess is a "continuous" set of points, it
passes in the break section. However, with gap.plot I cant plot the loess
because of this (I got the message "some values of y will not be
displayed").
Here's my code:
library(plotrix);
#generate some data
x
2008 Jun 25
3
gap.boxplot error message?
Hello,
When I put in the following script line:
gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000), bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE)
I get a '+' telling me I am missing something. I have tried adding ')', 'width=NULL', etc and then I get this error:
Error: unexpected symbol in:
"gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7,