Re: [R] Statistical analysis of olive dataset

2016-03-12 Thread Jim Lemon
Hi Axel, It seems to me that cluster analysis could be what you are seeking. Identify the clusters of different combinations of fatty acids in the oils. Do they correspond to location? If so, is there a method to predict the cluster membership of a new set of measurements? Have a look at the

Re: [R] (no subject)

2016-03-12 Thread Bert Gunter
**Exactly** what procedures/commands did you use to install the caret package? (Reply to the list, not to me). -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip

Re: [R] Statistical analysis of olive dataset

2016-03-12 Thread Bert Gunter
Inline. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Mar 12, 2016 at 9:39 AM, Axel wrote: > Hi to all the members of

Re: [R] specify size of box around legend

2016-03-12 Thread Jim Lemon
Hi Rainer, You can use the text.width argument and override the calculated legend text widths. Jim On Sat, Mar 12, 2016 at 1:01 AM, Rainer M Krug wrote: > Hi > > assume the following code: > > --8<---cut here---start->8--- > plot(1,1) >

[R] (no subject)

2016-03-12 Thread Sudhansu Senapati
I am not able to install "caret" package in R. Installation is successful but when I go to Library it says some namespaces not loaded. Please guide me. Sudhansu Sekhar Senapati [[alternative HTML version deleted]] __ R-help@r-project.org

[R] Statistical analysis of olive dataset

2016-03-12 Thread Axel
Hi to all the members of the list! I am a novice as regards to statistical analysis and the use of the R software, so I am experimenting with the dataset "olive" included in the package "tourr". This dataset contains the results of the determination of the fatty acids in 572 samples of olive

[R] Everything in ggplot2 is blue

2016-03-12 Thread KMNanus
I’m working with a data frame called “Koufax” (his lifetime pitching stats) in order to improve my ggplot2 skills. I’ve worked with a variety of iterations of ken <- ggplot(koufax, aes(x = W, y = IPouts, color = SO)) + geom_bar(stat = "identity”) but all the bars come up blue, even if I

Re: [R] specify size of box around legend

2016-03-12 Thread Duncan Mackay
Hi If you cannot get anything right in base graphics You could plot the graph and then use library(grid) viewport() etc for each of the legends or even lattice and grid xyplot(..., legend = list( ), ) see https://stat.ethz.ch/pipermail/r-help/2005-April/069459.html

Re: [R] Warning message with "projectRaster" (package "raster"): 'from' has no cell values

2016-03-12 Thread David Winsemius
> On Mar 12, 2016, at 11:27 AM, Marine Regis wrote: > > Hello, > > > > I have two rasters with different resolution and projection. Generally posting questions about spatial functions will get faster and better responses on the sig-geo mailing list:

[R] Warning message with "projectRaster" (package "raster"): 'from' has no cell values

2016-03-12 Thread Marine Regis
Hello, I have two rasters with different resolution and projection. > r1 class : RasterLayer dimensions : 2510, 5233, 13134830 (nrow, ncol, ncell) resolution : 56, 56 (x, y) extent : 503198, 796246, 4917498, 5058058 (xmin, xmax, ymin, ymax) coord. ref. : +proj=utm

[R] Ipred Bagging Question

2016-03-12 Thread Majid Javanmard
Hello everyone here is the code that implements bagging using ipred package : library(ipred) library(mlbench) data("BostonHousing") # Test set error (nbagg=25, trees pruned): 3.41 (Breiman, 1996a, Table 8) mod <- bagging(medv ~ ., data=BostonHousing, coob=TRUE) print(mod) it`s output is just