[R] summary(list) is awesome, but I want more than summary

2011-01-08 Thread Krishna Kirti Das
When I load a table from a data source and run summary() on it, the summary gives me basic summary statistics I'm looking for, and it also discriminates between quantitative and qualitative data and summarizes them accordingly. For example, if I do this: mydata - read.table(data.txt)

Re: [R] summary(list) is awesome, but I want more than summary

2011-01-08 Thread Duncan Murdoch
On 11-01-08 2:07 AM, Krishna Kirti Das wrote: When I load a table from a data source and run summary() on it, the summary gives me basic summary statistics I'm looking for, and it also discriminates between quantitative and qualitative data and summarizes them accordingly. For example, if I do

Re: [R] Trouble compiling R-2.10.0

2011-01-08 Thread Prof Brian Ripley
On Fri, 7 Jan 2011, zacz wrote: Hi, I am having trouble compiling R-2.10.0 on the Solaris x86_64 platform using the native solaris-studio cc/F99 compilers. Which versions of those compilers? We don't support R-2.10.0 any more: please use a current R (2.12.1 or 2.12.1 patched) as we asked

Re: [R] Error: unexpected string constant

2011-01-08 Thread Gavin Simpson
On Fri, 2011-01-07 at 12:17 -0800, paogeomat wrote: I want to analize some points location using the ppp, but i have this problem: Datos=read.table(puntos_texto.txt,dec=.,sep=\t,header=T) summary(Datos) id y x Min. : 1.0 Min.

[R] Normal Distribution Quantiles

2011-01-08 Thread Rainer Schuermann
This is probably embarrassingly basic, but I have spent quite a few hours in Google and RSeek without getting a clue - probably I'm asking the wrong questions... There is this guy who has decided to walk through Australia, a total distance of 4000 km. His daily portion (mean) is 40km with an

Re: [R] How to make a Cluster of Clusters

2011-01-08 Thread Tal Galili
Hi Diego, It sounds like what you want to do is to cluster 18 observations (each of them are clusters themselves), and then have each of the 18 tips have the rest of the cluster hierarchy in them. I don't think this is possible through hclust, BUT, it can (relatively) be easier to program using a

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread David Winsemius
On Jan 8, 2011, at 6:56 AM, Rainer Schuermann wrote: This is probably embarrassingly basic, but I have spent quite a few hours in Google and RSeek without getting a clue - probably I'm asking the wrong questions... There is this guy who has decided to walk through Australia, a total

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread Rainer Schuermann
Sounds like homework, which is not an encouraged use of the Rhelp list. You can either do it in theory... It is _from_ a homework but I have the solution already (explicitly got that done first!) - this was the pasted Latex code (apologies for that, but in plain text it looks unreadable[1],

Re: [R] anova vs aov commands for anova with repeated measures

2011-01-08 Thread Dieter Menne
Bill.Venables wrote: ... If you want to fit a multistratum model, such as a repeated measures model, you need to use aov. ...Or lme in nlme / lmer in lme4. Dieter -- View this message in context:

Re: [R] Problems with glht function for lme object

2011-01-08 Thread Dieter Menne
anord wrote: I'm trying to make multiple comparisons for an lme-object. ... My final model takes the following form: feedings ~ treat + year + data^2, random = ~1|site,data=feed.df ... == feedings sex site treat year date^2 1.8877888 M 838 H 2009 81

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread David Winsemius
On Jan 8, 2011, at 9:25 AM, Rainer Schuermann wrote: Sounds like homework, which is not an encouraged use of the Rhelp list. You can either do it in theory... It is _from_ a homework but I have the solution already (explicitly got that done first!) - this was the pasted Latex code

[R] 3D scatter plot with projections

2011-01-08 Thread Gang Chen
I want to create some 3D scatter plot with a diagonal line. In addition, I'd like to have those points plus the diagonal line projected to those three planes (xy, yz and xz). Which package can I use to achieve this, scatterplot3d or something else? Thanks, Gang [[alternative HTML version

Re: [R] 3D scatter plot with projections

2011-01-08 Thread Uwe Ligges
On 08.01.2011 16:38, Gang Chen wrote: I want to create some 3D scatter plot with a diagonal line. In addition, I'd like to have those points plus the diagonal line projected to those three planes (xy, yz and xz). Which package can I use to achieve this, scatterplot3d or something else? Yes,

Re: [R] 3D scatter plot with projections

2011-01-08 Thread Gang Chen
Thanks a lot for the quick help! How to project the scatter plot with the diagonal line to the three planes with scatterplot3d? I could not find such an example demonstrating that in the vignette. Thanks, Gang 2011/1/8 Uwe Ligges lig...@statistik.tu-dortmund.de On 08.01.2011 16:38, Gang Chen

Re: [R] anova vs aov commands for anova with repeated measures

2011-01-08 Thread Frodo Jedi
Dear Bill, many thanks for your answer. I got the point but still I would need an help with a numeric example, as I haven´t fully understood how it works with R (I had a look to proj() but I am not aware of how can be used correctly). Could you please make an example? For example, in attachment

Re: [R] Assumptions for ANOVA: the right way to check the normality

2011-01-08 Thread Frodo Jedi
Dear Greg, many thanks for your answer. Now I have a problem then in understanding how to check normality in case of ANOVA with repeated measures. I would need an help with a numeric example, as I haven´tu fully understood how it works with the proj() command as it as suggested by another R

[R] R-2.12.1 on OpenBSD: Tk problem

2011-01-08 Thread lum
I've compiled R-2.12.1 on OpenBSD and everything works great from the console. However, if I load R with the --gui=Tk option, R opens in a window and will accept input, but will crash (90% of the time) after trying to execute the first command. For example, if I type: mynumbers - c(1,2,3,4)

[R] Question on list objects

2011-01-08 Thread Ron Michael
Hi, I have 2 questions on list object:   1. Suppose I have a matrix like: dat - matrix(1:9,3)   Now I want to replicate this entire matrix 3 times and put entire result in a list object. Means, if res is the resulting list then I should have:   res[[1]]=dat, res[[2]]=dat, res[[3]]=dat   How can I

Re: [R] how to calculate this natural logarithm

2011-01-08 Thread Petr Savicky
On Sat, Jan 08, 2011 at 12:20:59AM +0800, zhaoxing731 wrote: Hello I want to calculate natural logarithm of sum of combinations as follow: (R code) {

[R] max.print

2011-01-08 Thread Stat Consult
Dear All I saw the end of data [[reached getOption(max.print) -- omitted 11844 rows ]]. How can I see all of the data? I would be appreciated if you guide me. Regards, R G [[alternative HTML version deleted]] __ R-help@r-project.org mailing

[R] YourCast Data Format

2011-01-08 Thread Thomas Jensen
Dear R-List, I have data that is collected in panels like this (output from the dput() function, the first 20 observations in the data set): structure(list(Country = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L), .Label = c(Belgium, Denmark,

Re: [R] anova vs aov commands for anova with repeated measures

2011-01-08 Thread Frodo Jedi
Dear Dieter, thanks a lot for your answer. Don´t you mind to do an example of the use of the command? For example, in attachment you find a .csv table resulting from an experiment, you can access it by means of this command: scrd-

Re: [R] 3D scatter plot with projections

2011-01-08 Thread David Winsemius
On Jan 8, 2011, at 11:21 AM, Gang Chen wrote: Thanks a lot for the quick help! How to project the scatter plot with the diagonal line to the three planes with scatterplot3d? I could not find such an example demonstrating that in the vignette. I'm puzzled. If you have (x1, y1, z1) and

Re: [R] Question on list objects

2011-01-08 Thread Charles C. Berry
On Sat, 8 Jan 2011, Ron Michael wrote: Hi, I have 2 questions on list object: ? 1. Suppose I have a matrix like: dat - matrix(1:9,3) ? Now I want to replicate this entire matrix 3 times and put entire result in a list object. Means, if res is the resulting list then I should have: ?

Re: [R] Question on list objects

2011-01-08 Thread Joshua Wiley
Hi Ron, Here you go. Cheers, Josh dat - matrix(1:9,3) ldat - list(dat, dat, dat) ldat[[1]] == dat ## Or lapply(1:3, function(x) dat) ## which is similar in spirit to output - vector(list, 3) for(i in 1:3) { output[[i]] - dat } list1 - list2 - vector(list, length=2) for(i in 1:2) {

Re: [R] Question on list objects

2011-01-08 Thread Gabor Grothendieck
On Sat, Jan 8, 2011 at 6:26 AM, Ron Michael ron_michae...@yahoo.com wrote: Hi, I have 2 questions on list object: 1. Suppose I have a matrix like: dat - matrix(1:9,3) Now I want to replicate this entire matrix 3 times and put entire result in a list object. Means, if res is the resulting

Re: [R] max.print

2011-01-08 Thread Joshua Wiley
Hi R G, You can see what the value for the maximum printed is with: getOption(max.print) then just increase this to whatever your needs are. For example: options(max.print = ) See ?options for the pertinent documentation. HTH, Josh On Sat, Jan 8, 2011 at 4:42 AM, Stat Consult

Re: [R] R not recognized in command line

2011-01-08 Thread Aaditya Nanduri
Mr. Gregory : I may have to resort to a roundabout method like yours. I just cant seem to make it work. Thank you for your help. Mr. Spector : Everytime I change the path, I closed all the DOS windows. Yet, R is not recognized as a command. Also, I just want to say, you have an awesome last name.

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread Charles C. Berry
On Sat, 8 Jan 2011, Rainer Schuermann wrote: Sounds like homework, which is not an encouraged use of the Rhelp list. You can either do it in theory... It is _from_ a homework but I have the solution already (explicitly got that done first!) - this was the pasted Latex code (apologies for

Re: [R] Accessing data via url

2011-01-08 Thread John Kane
Thanks --- On Fri, 1/7/11, David Winsemius dwinsem...@comcast.net wrote: From: David Winsemius dwinsem...@comcast.net Subject: Re: [R] Accessing data via url To: John Kane jrkrid...@yahoo.ca Cc: Henrique Dallazuanna www...@gmail.com, r-help@r-project.org, Dieter Menne

Re: [R] Accessing data via url

2011-01-08 Thread Uwe Ligges
On 07.01.2011 19:18, John Kane wrote: --- On Fri, 1/7/11, Prof Brian Ripleyrip...@stats.ox.ac.uk wrote: From: Prof Brian Ripleyrip...@stats.ox.ac.uk Subject: Re: [R] Accessing data via url ?read.table says ‘file’ can also be a complete URL. This is implemented by url():

Re: [R] R not recognized in command line

2011-01-08 Thread Uwe Ligges
OK, then let's see if you managed to change the PATH or let is see what is incorrect there. Therefore, please do the following: 1. open a Windows command shell (what you call a DOS window) 2. type echo %PATH% 3. Send us the output. Uwe Ligges On 08.01.2011 19:29, Aaditya Nanduri wrote: Mr.

Re: [R] 3D scatter plot with projections

2011-01-08 Thread Gang Chen
Yes, too bad I didn't realize that it's so simple like that! Thanks... On Sat, Jan 8, 2011 at 12:45 PM, David Winsemius dwinsem...@comcast.netwrote: On Jan 8, 2011, at 11:21 AM, Gang Chen wrote: Thanks a lot for the quick help! How to project the scatter plot with the diagonal line to the

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread Joshua Wiley
On Sat, Jan 8, 2011 at 6:25 AM, Rainer Schuermann rainer.schuerm...@gmx.net wrote: It is _from_ a homework but I have the solution already (explicitly got that done first!) - this was the pasted Latex code (apologies for that, but in plain text it looks unreadable[1], and I thought everybody

Re: [R] how to run linear regression models at once

2011-01-08 Thread wangwallace
cool, it worked. thank you very much for your help!! :) -- View this message in context: http://r.789695.n4.nabble.com/how-to-run-linear-regression-models-at-once-tp3179256p3205186.html Sent from the R help mailing list archive at Nabble.com. __

[R] Anova with repeated measures for unbalanced design

2011-01-08 Thread Frodo Jedi
Dear all, I need an help because I am really not able to find over internet a good example in R to analyze an unbalanced table with Anova with repeated measures. For unbalanced table I mean that the questions are not answered all by the same number of subjects. For a balanced case I would use

Re: [R] Anova with repeated measures for unbalanced design

2011-01-08 Thread Ben Bolker
Frodo Jedi frodo.jedi at yahoo.com writes: Dear all, I need an help because I am really not able to find over internet a good example in R to analyze an unbalanced table with Anova with repeated measures. For unbalanced table I mean that the questions are not answered all by the same

[R] Error on loading libraries -

2011-01-08 Thread primozv
Hello everyone! I'm working this school project in R and everything was fine until I moved to other computer. The problem is that I can't load few libraries like Snowball or openNLP. Like I said, everything was fine on other computers, but at the moment, the only computer is this one that I'm

Re: [R] Normal Distribution Quantiles

2011-01-08 Thread Bert Gunter
If I understand what you have said below, it looks like you do NOT have the problem solved manually. You CAN use qnorm , and when you do so, your equation yields a simple quadratic which, of course, has an exact solution that you can calculate in R. Of course, one can use uniroot or whatever to

Re: [R] Accessing data via url

2011-01-08 Thread Duncan Temple Lang
Just for the record, you don't need to manually find the URL to which your are being redirected by using the followlocation option in any of the RCurl functions: tt = getURLContent(https://sites.google.com/site/jrkrideau/home/general-stores/duplicates.csv;, followlocation

[R] zoo column names

2011-01-08 Thread Pete B
Hi All I am trying to find a way to prevent column names from changing on zoo objects when I merge them. I have column names that contain a - that after merging have become . # Example zz1 = zoo(as.matrix(1:5)) zz2 = zoo(as.matrix(10:12)) names(zz1)=c(aa-1) names(zz2)=c(bb-1)

Re: [R] Error: unexpected string constant

2011-01-08 Thread paogeomat
Thank you so much, Finally i solve that problem but now appears this: Cant find ppp function in the spatstat package, i already try with the R 2.8, 2.9, 2.10, 2.12, that function is missing? thanks a lot -- View this message in context:

Re: [R] zoo column names

2011-01-08 Thread Achim Zeileis
On Sat, 8 Jan 2011, Pete B wrote: Hi All I am trying to find a way to prevent column names from changing on zoo objects when I merge them. I have column names that contain a - that after merging have become . # Example zz1 = zoo(as.matrix(1:5)) zz2 = zoo(as.matrix(10:12))

Re: [R] Creating a Matrix from a vector with some conditions

2011-01-08 Thread Petr Savicky
On Thu, Jan 06, 2011 at 01:34:31PM -0800, ADias wrote: Hi Suppose we have an object with strings: A-c(a,b,c,d) Now I do: B-matrix(A,4,4, byrow=F) and I get a a a a b b b b c c c c d d d d But what I really want is: a b c d b c d a c d a b d a b c How can I do

Re: [R] zoo column names

2011-01-08 Thread Pete B
Achim Thanks. Much appreciated. Best regards Pete -- View this message in context: http://r.789695.n4.nabble.com/zoo-column-names-tp3205568p3205584.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] Anova with repeated measures for unbalanced design

2011-01-08 Thread Frodo Jedi
Hi Ben, many many thanks!! From: Ben Bolker bbol...@gmail.com To: r-h...@stat.math.ethz.ch Sent: Sat, January 8, 2011 9:39:20 PM Subject: Re: [R] Anova with repeated measures for unbalanced design Frodo Jedi frodo.jedi at yahoo.com writes: Dear all, I

Re: [R] Trouble with installing Rmpi package

2011-01-08 Thread Tena Sakai
Hi Dirk, Many thanks for your reply and comments. I have downloaded sprng2.0 from the link you mentioned and am editing the make.CHOICES file. For LIB_REL_DIR directive, should I change this to (something like) /usr/local/lib64 for R to know its existence? Or should I leave it alone to default