similar to: New window for plot()

Displaying 20 results from an estimated 700 matches similar to: "New window for plot()"

2002 Nov 29
1
KS for goodness of fit
Dear All, I have two distributions which I don't their nature. I want to check whether they come from the same distribution. I know that I can use KS test however the standart function ks.test applies only the ks test for testing the difference of two samples (non-parametric). By the way the distribution are of Euclidean distances. One of observed and the other of shuffled data. Thanks, Ron
2002 Dec 19
2
More on scan()
Hi, If I have a CSV file which has several comments at the top, and the data start immediately after the line: @DATA Is it possible to use the scan() command to get the CSV data into R, by only reading the lines after @DATA? If so, how can I do it? Cheers, Kevin ------------------------------------------------------------------------------ /* Time is the greatest teacher, unfortunately it
2001 Sep 13
2
image plot legends
Hi, is there anybody knowing a possibility to produce a legend (describing the color scheme) in an image plot in R. In S-Plus this works using image.legend. Thank's in advance. INGO -- ----------------------------------------------------------------- Ingo Roeder Institute for Medical Informatics, Statistics and
2004 Mar 10
1
Re: R-help Digest, Vol 13, Issue 9
C?dric Finet wrote: > > I thank you for your answer but I do not understand yet why the Fisher?s exact > test does not work. And why is a "negative key". > > C?dric Finet > Running the original TOMS643 fortran code (R uses an f2c translation of this) says: FEXACT ERROR: 30 Stack length exceeded in f3xact. This problem should not occur. The integer hash key is
2001 Oct 10
2
How to comment out multiple lines in R source code?
Hi, Is there a way to comment out multiple lines at once in R source code like C language's /* */ struct? This is quite useful when one is testing different sections of a source code. Thanks, Jonathan -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2003 Apr 10
3
A Question on lowess() function
Hi, all, I want to use lowess(x, y) where x and y are vectors of length of 4000+. In fact, x and y are log of some vectors. So, some of the elements are NaN. lowess() can not take away those elements then do the fitting. It will give the error message and do nothing. 1. Can anybody tell me how to get rid of those NaN's and use lowess()? 2. How to get the LOWESS fitting values for any
2001 Sep 07
2
adding logical vector to data frame
Hello. I'm afraid that I'm missing something very obvious this afternoon... When I add a column to a data.frame (by assigning to a "new" column name a logical vector), I thought that I had (at least) 3 options to do so: R> j <- data.frame (x=1:2) R> j$y <- c(TRUE,FALSE) #assignment 1 R> str(j) `data.frame': 2 obs. of 2 variables: $ x: int 1 2 $ y: logi
2003 Apr 16
2
Local parameter calculation
Dear all, I am a newbie in R. I encounter a problem as follows. I have 2 vectors X and Y that have a equal length of several thousand. I see Y as the function of X. Both of them are random. X is not arrranged in any order. Of course, I do plot(X,Y). Now, I want to use a sliding narrow window to run over each X, then calculate the variances within that window. Anyone knows easy way in R to do
2004 Aug 20
3
How generate "A01", "A02", ..., "A99"?
Hi, Anyone can tell me how to generate "A01", "A02", ..., "A99"? paste("A", 1:99, sep="") generates "A1", "A2",..., "A99". This is not what I want. Thanks for the help. -MY [[alternative HTML version deleted]]
2004 Feb 16
4
Questions about Matrix
How to Generate the Matrix (t+1)*m ? (0-1)^n (0-2)^n ,,,, (0-m)^n (1-1)^n (1-2)^n ,,,, (1-m)^n (2-1)^n (2-2)^n ,,,, (2-m)^n .. ... ,,,, ....... (t-1)^n (t-2)^n ,,,, (t-m)^n Appreciate your kindly help! --------------------------------- [[alternative HTML version deleted]]
2000 Oct 27
1
par(ask=T) in termplot() (PR#711)
At 11:57 25/10/00 +0100, Brian Ripley wrote: >> Date: mer., 25 oct. 2000 12:38:55 +0200 >> From: Emmanuel Paradis <paradis@isem.univ-montp2.fr> > >> I think it would be nice to have par(ask=T) set by default in termplot(), >> like it is in plot.lm(). > >Well, it isn't really the default in plot.lm, the default for `ask' being > >interactive()
2001 Sep 13
3
OT: ps -> eps -> MS Word
I've created a bunch of postscript trees (post.rpart), which I subsequently edit in Adobe Acrobat 4.05 (I need additional labelling that isn't easy to add with R). After editing the labels and annotations using Acrobat, I then export the file to Adobe's .eps format so I can insert the picture into a Microsoft Word 2000 document. The .pdf file distilled from the .ps file is
2000 Oct 25
2
par(ask=T) in termplot()
Hi, I think it would be nice to have par(ask=T) set by default in termplot(), like it is in plot.lm(). Best, Emmanuel Paradis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)
2001 Dec 26
3
bug with var(rep(1e30, 3)) (PR#1228)
There seems to be a bug with var() when the argument is a vector with exactly three values of 1e30 (or close to this value). This does not happen with twice, four (or more) times this value, or another value. > var(rep(1e30, 3)) [1] 2.971056e+28 > var(rep(1.2e30, 3)) [1] 2.971056e+28 > var(rep(0.9e30, 3)) [1] 2.971056e+28 > var(rep(0.8e30, 3)) [1] 0 > var(rep(1e29, 3)) [1] 0 >
2001 Sep 10
5
?? hmm ??
Hello again! thanks to all who helped with overlay plots - v. easy in the end. Anyway, another new(ba)bee type question - the gurus will cringe I'm sure! Q. simple R function mm <- function (u) { x <- u$GDP x m <- mean(x) m } When the function is called the vector "x" does not get printed from within the function, but the mean value "m" does, why? I
2001 Oct 16
4
two way ANOVA with unequal sample sizes
Hi, I am trying a two way anova with unequal sample sizes but results are not as expected: I take the example from Applied Linear Statistical Models (Neter et al. pp889-897, 1996) growth rate gender bone development 1.4 1 1 2.4 1 1 2.2 1 1 2.4 1 2 2.1 2 1 1.7 2 1 2.5 2 2 1.8 2 2 2 2 2 0.7 3 1 1.1 3 1 0.5 3 2 0.9 3 2 1.3 3 2 expected results are
2003 Sep 16
3
Question in Using sink function
Could anyone please explain to me why the following writes nothing into "all.Rout" file? If the "for" loop is removed, t.test output can be written into "all.out". Thanks in advance. Minghua Yao ...... zz <- file("all.Rout", open="wt") sink(zz) for(i in 1:n) { Cy3<-X[,2*i-1]; Cy5<-X[,2*i]; t.test(Cy3, Cy5)
2001 Apr 28
1
modulus operator gets syntax error (PR#925)
Full_Name: M. Edward Borasky Version: 1.2.2 OS: both Windows 2000 and Red Hat Linux 7.1 Submission from: (NULL) (208.130.245.188) According to the R language manual, "%" is the modulus operator. However, on both Windows and Linux, I get a syntax error when I type records <- 100000 records % 1000 I tried wrapping the operands with "as.integer ()" but that didn't help
2004 Apr 29
5
Problems in plot
Hello, I have R1.9.0 under Windows XP. My program plots several plots using x11() par(cex = 0.75) ...... x11() par(cex = 0.75) ...... x11() par(cex = 0.75) ...... x11() par(cex = 0.75) ...... Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is Error in plot.new() : Figure margins too large
2003 Sep 26
3
Std. errors of intercept and slope
Dear all, I have the following output generated by linear regression. Since there is only one regression intercept and one slope for one set of data, what is the meaning of std. error for intercept and that of slope? Thanks in advance. Sincerely, Minghua > data(thuesen) > attach(thuesen) > lm(short.velocity~blood.glucose) Call: lm(formula = short.velocity ~ blood.glucose)