Re: [R] Using termplot() with transformations of x

2010-08-29 Thread David Winsemius
On Aug 26, 2010, at 7:10 PM, Peter Dunn wrote: Hi all I was playing with termplot(), and came across what appears to be an inconsistency. It would appreciate if someone could enlighten me: # First, generate some data: y <- rnorm(100) x <- runif(length(y),1,2) # Now find the log of x:

Re: [R] Using termplot() with transformations of x

2010-08-29 Thread Peter Dunn
Hi >the two models are identical because of having the same independent > variable and dependent variable.they produce different termplot()s because > of they base on different variables,one is x,the other is logx.see the > lateral axis. Sure; this is all obvious from the code and the plots.

Re: [R] Using termplot() with transformations of x

2010-08-27 Thread Niels Richard Hansen
On 27/08/10 01.10, Peter Dunn wrote: Hi all I was playing with termplot(), and came across what appears to be an inconsistency. It would appreciate if someone could enlighten me: # First, generate some data: y<- rnorm(100) x<- runif(length(y),1,2) # Now find the log of x: logx<- log(x)