[R] error in lapply

2008-11-02 Thread Chibisi Chima-Okereke
Dear all, I am getting a error while using lapply to generate plots. The variable .name is used to identify each plot in the main variable. The method worked once but afterwards seems to throw up an error when used in a different case. The input ... dataOut - lapply(names(dataIn), FUN =

[R] error in lapply (sorry error in last e-mail)

2008-11-02 Thread Chibisi Chima-Okereke
Dear all, I am getting a error while using lapply to generate plots. The variable .name is used to identify each plot in the main variable. The method worked once but afterwards seems to throw up an error when used in a different case. The input ... dataOut - lapply(names(dataIn), FUN =

[R] lapply item names

2008-11-01 Thread Chibisi Chima-Okereke
Dear all, I am using lapply to generate plots by applying a plot function to a list of dataframes. e.g. lapply(dataSet, FUN = plotFunction) Is there a way to call the list item number inside the plot function so that I can identify each graph? Thanks Chibisi [[alternative HTML

Re: [R] lapply item names

2008-11-01 Thread Chibisi Chima-Okereke
Fantabulous, Thanks On Sat, Nov 1, 2008 at 3:43 PM, jim holtman [EMAIL PROTECTED] wrote: lapply(names(dataSet), function(.name) plotFunction(dataSet[[.name]], main=.name)) On Sat, Nov 1, 2008 at 10:31 AM, Chibisi Chima-Okereke [EMAIL PROTECTED] wrote: Dear all, I am using lapply

[R] wrireframe

2008-10-17 Thread Chibisi Chima-Okereke
Dear all, Does anyone know how to overlay a 3d line on a wireframe plot? I would also like to be able to keep the legend that you get when using the option: drape = TRUE when using the option: shade = TRUE. In addition, I would like to know how to keep the axes while getting rid of the box, I

Re: [R] Free SQL Database with R

2008-09-04 Thread Chibisi Chima-Okereke
is done with the canvas tag introduced by Safari and now available on all major browsers, except Internet Explorer where the excanvas Javascript emulation helper is used. Maybe it could be useful to you for plots etc. Cheers Iain *Chibisi Chima-Okereke [EMAIL PROTECTED]* wrote: Dear Felix

Re: [R] Free SQL Database with R

2008-09-03 Thread Chibisi Chima-Okereke
Dear Felix, Thanks for the reply, If you haven't already guessed I am new to web programming. The sort of webpage I want to build is one that presents quantitative information in graphs and charts, that people can interact with, e.g. select parts of charts to zoom into, highlight values, click

Re: [R] Free SQL Database with R

2008-09-03 Thread Chibisi Chima-Okereke
and greetings from Munich, Felix. Chibisi Chima-Okereke schrieb: Dear Felix, Thanks for the reply, If you haven't already guessed I am new to web programming. The sort of webpage I want to build is one that presents quantitative information in graphs and charts, that people can

[R] Free SQL Database with R

2008-09-02 Thread Chibisi Chima-Okereke
Hi all, could someone tell me which is the best user-friendly free/open source sql database system to use with R, particularly as a back-end for a data-hungry web page? Thanks in advance. Kind Regards Chibisi [[alternative HTML version deleted]]

[R] play3d() translation

2008-09-01 Thread Chibisi Chima-Okereke
Hi All, I would like to be able to use play3d() to translate the view along a surface, and zoom in and out. All the examples in play3d() function description are of rotations. I would also like to know if there is a method of creating a legend of for the 3d surface using rgl package. Thanks in

[R] plot3d origin

2008-08-26 Thread Chibisi Chima-Okereke
Hi all, I am trying to do a 3d plot where the x,y,z axes intersects with the origin (0,0,0) using the plot3d() funtion in the rgl package without success. I looked back at the past archives on this subject and someone suggested using djmrgl package. I searched and found it, installed it but when

Re: [R] Problems with lm()

2008-07-08 Thread Chibisi Chima-Okereke
://en.wikipedia.org/wiki/Multicollinearity Cheers, Daniel - cuncta stricte discussurus - -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Chibisi Chima-Okereke Gesendet: Monday, July 07, 2008 8:09 PM An: r

[R] Problems with lm()

2008-07-07 Thread Chibisi Chima-Okereke
Dear all, I am trying to fit a multiple linear regression model to a table of data. My data.frame is like this ... fit.data - data.frame(y, x1, x2, x3, x4, x5, x6), then I use the linea regression command ... lm(formula = y ~ x1 + x2 + x3 + x4 + x5 + x6, data = fit.data) however, for some