[R] How to fine control bar plot width?

2014-11-01 Thread Fabrice Tourre
Dear expert, I want to combine 4 figures in the same plot. Each bar plot is related to the image() plot. I want to bar width is extractly the same width as grid width in the image() plot. The up-barplot and the left-barplot. I have pasted my code to follow. How can I modify for this purpose? Thank

Re: [R] MSE increased by increasing the sample size for Nadaraya-Watson kernel regression

2014-11-01 Thread peter dalgaard
You seem to be using bw.ucv to set the bandwidth for ksmooth. However, bw.ucv selects the bandwidth for estimating the _density_ of x. I see no reason to believe that the same bandwidth selection should be optimal or even consistent for a kernel smoother like ksmooth. Check out the KernSmooth

Re: [R] MSE increased by increasing the sample size for Nadaraya-Watson kernel regression

2014-11-01 Thread Bert Gunter
1. I am unfamiliar with the functional package. 2. I think the proper question is: Why do you expect the mse to decrease with decreasing sample size? Example: the precision of an average (as an estimator of the population mean) increases (gets smaller) as sample size increases, but the mse is esse

[R] mixdist to mixture of exponential

2014-11-01 Thread hadeel kalktawi
Dear R-useres,Please help me on using "mix" function under package "mixdist"..I would like to model an one-dimensional data (x), with a mixture of exponential, using "mix"what I understand that we can do this through "gamma" distribution, in the argument of dist, then we need to set that mu of g

[R] MSE increased by increasing the sample size for Nadaraya-Watson kernel regression

2014-11-01 Thread Khulood Aljehani
Hello I hope that you will help me in my problem with the Nadaraya-Watson kernel regression estimation method (NW) I used a simulation data and made a loop ​​to calculate the NW estimator for the regression model Y=1-X+exp(-200*(X-0.5)^2)+E where, Y: the response variable, X: the explan

[R] Сolor specification in KML() {raster} function

2014-11-01 Thread Антон Морковин
Good morning, I use raster package to process sattelite image maps. Could anyone help me with exporting data into KML? I have a raster image which I need to transfer into Google Maps. The colors of this image is described in raster@legend@colortable slot. Each color corresponds to raster cell v

[R] treating missing values in timeSeries package

2014-11-01 Thread Upananda Pani
Dear All, I am getting the following error when i am using interpNA function from timeSeries package # Missing Value Treatment (Linear Interpolation) > spt = interpNA(spt, method = c("linear")) Error in interpNA(spt, method = c("linear")) : spt is not a tis object > fut = interpNA(fut, method = c

Re: [R] problem with posting question: This post has NOT been accepted by the mailing list yet

2014-11-01 Thread David Winsemius
On Oct 31, 2014, at 4:20 PM, Neda Nikiforova wrote: > Dear administrator, > my name is Neda Nikiforova and I'm trying to post a question in R help . I > subscribed the list but it gives me the following problem: > This post has NOT been accepted by the mailing list yet > That is not a message