[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 = func

[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 = func

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:

[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 version

Re: [R] wrireframe

2008-10-19 Thread Chibisi Chima-Okereke
Thanks alot On Sun, Oct 19, 2008 at 8:38 PM, Deepayan Sarkar <[EMAIL PROTECTED]>wrote: > On 10/17/08, Chibisi Chima-Okereke <[EMAIL PROTECTED]> wrote: > > Dear all, > > > > Does anyone know how to overlay a 3d line on a wireframe plot? > > See > >

[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 u

Re: [R] Free SQL Database with R

2008-09-04 Thread Chibisi Chima-Okereke
> The plugin is targeting all newer browsers. If you find a problem, please > report it. Drawing is done with the 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

Re: [R] Free SQL Database with R

2008-09-03 Thread Chibisi Chima-Okereke
do you > have access to your own root-server, or just some megabytes of ordinary > webspace...?). > > Kind regards and greetings from Munich, > Felix. > > Chibisi Chima-Okereke schrieb: > > Dear Felix, > > > > Thanks for the reply, > > > > If you

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 b

[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 a

[R] Loading Bitmapped files

2008-08-28 Thread Chibisi Chima-Okereke
Dear all, is there a package that I could use to load bit mapped files into R? Everytime I save a picture as .jpg it loses it's exactness because of some type of interpolation. If not .bmp or .png then please tell me a free program I could use to convert those to the bit mapped file type that R wi

[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 I

Re: [R] Problems with lm()

2008-07-08 Thread Chibisi Chima-Okereke
formation convey by them is > marginal. Multicollinearity violates the model assumptions of OLS. > > http://en.wikipedia.org/wiki/Multicollinearity > > Cheers, > Daniel > > - > cuncta stricte discussurus > --------- > &

[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 tabl