[R] 3d cloud plot with point size reflecting variable value

2009-03-31 Thread R User R User
Hello all, I'm using the cloud function to plot the iris data as per the document: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf I'd like to change the point size to reflect a fourth variable, as done here

Re: [R] including tabular information with a plot in R Graphics

2009-03-06 Thread R User R User
a very good example Thanks again, Richie 2009/3/5 Eik Vettorazzi e.vettora...@uke.uni-hamburg.de Hi Richie, have a look at textplot() from the gplots-package. hope, it helps! R User R User schrieb: Hi all, I have a presentation problem that I cannot find a solution to in the documetnation

[R] including tabular information with a plot in R Graphics

2009-03-05 Thread R User R User
Hi all, I have a presentation problem that I cannot find a solution to in the documetnation. I have a nice barplot. Below this I would also like a table with some information relating to the plot. My idea was to have the plot and table on the same graphics window so I can output them as an image

[R] barplot with specific order of x axis labels

2009-03-02 Thread R User R User
Hi all, I'd appreciate your help with this problem. I need to plot a barplot with the categories in a specific order. My data might be: hours Freq AN 10 MO 14 LU 30 I need the categories to be in the order: MO LU AN Is there some way to pass sort the dataset into this order so

[R] vertically aligned X axis labels disappear off R Graphics window

2009-02-25 Thread R User R User
Hi guys, I'm evaluating R for basic data exploration. I produce a bar plot of the data, with the x axis labels aligned vertically. However, the start of labels longer than about 10 characters are cut off by the bottom of the graphics window. I'd appreciate your help in properly spacing the space

[R] multiple levels of nesting with trellis plots

2009-02-17 Thread R User R User
Hi guys, I have a tricky problem that I'd appreciate your help with. I have two categorical variables, say varA and varB and an associated frequency Freq for combinations of the levels of varA and varB. This was created with a table() call. I'd now like to make panel plots of the frequency. I

[R] how to obtain p values from an ANOVA result

2009-02-13 Thread R User R User
Hi all, I'm tryint to turn my ANOVA result from anova(model) in to p values. The default output is: term ; Df ; Deviance ; resid Df; Resid. Dev Is there a way to add p values to this output so the significance of the terms can be easily determined? Thanks in advance. Richie

[R] barplot() x axes are not updated after removal of categories from the dataframe

2009-02-12 Thread R User R User
Hi all, I'd be grateful for your help. I am a new user struggling with a barplot issue. I am plotting categories (X axis) and their mean count (Y axies) with barplot(). The first call to barplot works fine. I remove records from the dataframe using final=[!final$varname == some value,] I echo

[R] Error in storage when attempting to run GLM

2009-02-11 Thread R User R User
Hello, I'd be very grateful for help with the following. I attempt to run a basic GLM as follows: basic_model=glm(factor(A$b) ~ factor(A$c) ) variables b and c are text values and their class is factor. they have no missing values. I get the error: Error: NA/NaN/Inf in foreign function call