Re: [R] Should I use T-test or prop.test

2011-01-02 Thread Dieter Menne
Az Ha wrote: > > I have a set of data where two groups of animals walk around in an > environment and I have calculated the percentages of the area covered by > them. Each group covers different area, for example the arithmetic mean is > 35% and 23% with n=40 and 29 respectively. > ... > Should

Re: [R] error in calling source(): invalid multibyte character in parser

2011-01-02 Thread Phil Spector
Luca - What happens why you type Sys.setlocale('LC_ALL','C') before issuing the source command? - Phil Spector Statistical Computing Facility Department of Statistics

[R] error in calling source(): invalid multibyte character in parser

2011-01-02 Thread Luca Meyer
Being italians when writing comments/instructions we use accented letters - like à, ò, è, etc when running R scripts using such characters I get and error saying: invalid multibyte character in parser I have been looking at the help and searched the r-help archives but I haven't find anyth

[R] using "plot" with time series object - "axes = FALSE" option does not appear to work

2011-01-02 Thread Clifford Long
Dear R-help, I am attempting to plot data using standard R plot utilities. The data was retrieved from FRED (St. Louis Federal Reserve) using the package quantmod. My question is NOT about quantmod. While I retrieve data using quantmod, I am not using its charting utility. I have been having s

[R] Errors in installing Matrix package

2011-01-02 Thread Yingfeng Zheng
Good Morning R-Help Community: I cannot install the "Matrix" package on R (version 2.12.1). Here are the errors: > > Library(Matrix) > > Error in length(label) : could not find function ".extendsForS3" > Error: package/namespace load failed for 'Matrix' > Any help would be appreciated. Thank

Re: [R] Modules for using geostatistics for image classification

2011-01-02 Thread Mike Marchywka
> From: chethanuniver...@gmail.com > Date: Mon, 3 Jan 2011 06:42:21 +0530 > To: r-sig-...@r-project.org; r-help@r-project.org > Subject: [R] Modules for using geostatistics for image classification > > Hello everyone! > > I am using GRASS with spgrass6 for my work. I will be using variograms in

Re: [R] Logical Indicator for Warning and Error Messages?

2011-01-02 Thread David Winsemius
On Jan 2, 2011, at 11:41 PM, David Crow wrote: Dear R Community- Is there a logical variable indicating the presence of a warning or error message after executing a command? I’m bootstrapping a logit model (1,000 iterations, relevant code posted below), but the model fails to converge

[R] Logical Indicator for Warning and Error Messages?

2011-01-02 Thread David Crow
Dear R Community- Is there a logical variable indicating the presence of a warning or error message after executing a command? I’m bootstrapping a logit model (1,000 iterations, relevant code posted below), but the model fails to converge on many iterations. (I’m guessing that a small sample

[R] Using PCA to correct p-values from snpMatrix

2011-01-02 Thread Justin Reese
Hi R-help folks, I have been doing some single SNP association work using snpMatrix. This works well, but produces a lot of false positives, because of population structure in my data. I would like to correct the p-values (which snpMatrix gives me) for population structure, possibly using princi

Re: [R] iPhone 3G App For R?

2011-01-02 Thread David Winsemius
On Jan 2, 2011, at 9:35 PM, Roy Mendelssohn wrote: Check the archive for r-sig-mac (https://stat.ethz.ch/pipermail/r-sig-mac/ ). There has been extensive discussion about this. If memory serves (and it rarely does anymore :-) ) the issue is mainly licensing, there already exists the ab

Re: [R] iPhone 3G App For R?

2011-01-02 Thread Roy Mendelssohn
Check the archive for r-sig-mac (https://stat.ethz.ch/pipermail/r-sig-mac/). There has been extensive discussion about this. If memory serves (and it rarely does anymore :-) ) the issue is mainly licensing, there already exists the ability to compile to the ARM processor. -Roy M. On Jan

Re: [R] iPhone 3G App For R?

2011-01-02 Thread Shige Song
Does iphone even support the GNU tool chain? Shige On Sun, Jan 2, 2011 at 9:25 PM, Ben Ward wrote: > On 02/01/2011 23:28, Mkip wrote: >> >> Does anyone know if a free iphone 3G app for R is available now? >> >> Thanks, >> Matilda Gogos >> >> __ >> R-he

Re: [R] iPhone 3G App For R?

2011-01-02 Thread Ben Ward
On 02/01/2011 23:28, Mkip wrote: Does anyone know if a free iphone 3G app for R is available now? Thanks, Matilda Gogos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-pro

[R] Modules for using geostatistics for image classification

2011-01-02 Thread Chethan S
Hello everyone! I am using GRASS with spgrass6 for my work. I will be using variograms in the process of landsat image classification. I am quite ok with GRASS but am finding R really tough. I understand that spgrass6 is a link between GRASS and R which can read and write raster/vector layers. Out

[R] iPhone 3G App For R?

2011-01-02 Thread Mkip
Does anyone know if a free iphone 3G app for R is available now? Thanks, Matilda Gogos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and pro

Re: [R] Probably with default library tree

2011-01-02 Thread Gabor Grothendieck
On Sun, Jan 2, 2011 at 2:35 PM, Chiquoine, Ben wrote: > Hi, > > > > I just installed R on a new windows 7 machine and am having a probelm with > the default libraries. The default libraries are not what I want them to be > so when i say install.packages("XXX") the packages don't install where I

Re: [R] Probably with default library tree

2011-01-02 Thread Joshua Wiley
Hi Ben, The documentation for ?.libPaths makes me think you might be able to get somewhere by setting the Windows environment variables R_LIBS and/or R_LIBS_USER. See also: http://cran.r-project.org/bin/windows/base/rw-FAQ.html#Packages Another option would be to create a user profile directly s

Re: [R] filehash for big data

2011-01-02 Thread jim holtman
Exactly how do you want to work with this data? How do you want it organized? What is the structure of the file that you want to read in? What types of analysis are you going to do? Does all the data have to be in memory at once, or can you construct your analysis to do it in pieces and the agg

Re: [R] Please, need help with a plot

2011-01-02 Thread David Winsemius
On Jan 2, 2011, at 1:15 PM, Ben Bolker wrote: Victor F Seabra uol.com.br> writes: Please, I wonder if someone knows how to add the less than or equal to symbol in the plot generated by the code below: var1<-c('age <= 3','age <= 7','age <= 10','age <= 11','age <= 20','age <= 25

[R] Probably with default library tree

2011-01-02 Thread Chiquoine, Ben
Hi, I just installed R on a new windows 7 machine and am having a probelm with the default libraries. The default libraries are not what I want them to be so when i say install.packages("XXX") the packages don't install where I want them to. Ideally everything would install to the same locat

[R] filehash for big data

2011-01-02 Thread michael curran
Hi all, I am trying to use the filehash library to analyze a 5M by 20 matrix with both double and string data types. After consulting a few tutorials online, it seems as though one needs to first read the data into R; then create an R object; and then assign that object a location in my com

Re: [R] Please, need help with a plot

2011-01-02 Thread Ben Bolker
Victor F Seabra uol.com.br> writes: > > >Please, I wonder if someone knows how to add the >less than or equal to symbol in the plot generated by the code below: >var1<-c('age <= 3','age <= 7','age <= 10','age <= 11','age <= 20','age <= >25','age <= 30','age <= 45','age <= 50','a

Re: [R] Class "coef.mer" into a data.frame?

2011-01-02 Thread Jukka Koskela
Thank you! This was exactly what I was looking for. Jukka Lainaus "David Winsemius" : On Dec 31, 2010, at 2:49 AM, Jukka Koskela wrote: Hello, Could somebody please tell me what am I doing wrong in following? I try extract coefficients (using arm-package) from the lmer frunction, but I

[R] Please, need help with a plot

2011-01-02 Thread Victor F Seabra
Please, I wonder if someone knows how to add the less than or equal to symbol in the plot generated by the code below: var1<-c('age <= 3','age <= 7','age <= 10','age <= 11','age <= 20','age <= 25','age <= 30','age <= 45','age <= 50','age < 55','age >= 55') var2<-c(3.8,5.4,3.7,3.8,5.

Re: [R] The Percentile of a User-Defined pdf

2011-01-02 Thread David Winsemius
On Jan 1, 2011, at 10:42 PM, Nissim Kaufmann wrote: I would like to give a probability distribution function of a function of (x,y) on the half-plane y>0, and a constant 0to know the c percentile of the marginal distribution of x. I have tried along the lines of the following but I keep ge

[R] How to compute the density of a variable that follows a proportional error distribution

2011-01-02 Thread mahesh samtani
Hello, I am trying to compute the density of a variable k that is either (1) Normally distributed; (2) Log-Normally distributed; or (3) follows proportional error distribution. I tried to search R-help and the answer for normal distribution was easy to find (please see 1c). I am not sure if my form

Re: [R] changing method of estimation in GLM

2011-01-02 Thread Ben Bolker
ATANU gmail.com> writes: > can anyone tell me how can i control the method of estimation (i.e. scoring > method or Newton raphson method) in glm and compute deviance function ? I don't think you can; you would have to write your own, although you can take advantage of the framework of the cur

Re: [R] changing method of estimation in GLM

2011-01-02 Thread Uwe Ligges
On 02.01.2011 12:32, ATANU wrote: can anyone tell me how can i control the method of estimation (i.e. scoring method or Newton raphson method) in glm and compute deviance function ? See ?glm. With method="model.frame" the model frame is returned and you can do any fitting yourself. Defaul

Re: [R] Clusteranalysis Chi-square test and SingleLinkage

2011-01-02 Thread Uwe Ligges
On 02.01.2011 02:28, Thorsten Biegner wrote: Hi The short version of my questions is this: How can I run a chi-square test over a matrix (table) to get the distanaces between rows and then run a SingleLinkage (or other fusion algorithm over the resulting table? The long-version

Re: [R] Problem with uploading library

2011-01-02 Thread gaja
wow guys, thanx for so quick reply. I'm in the office now, as soon as I get home, I'll try to do it! Many thanx -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-uploading-library-tp3170455p3170840.html Sent from the R help mailing list archive at Nabble.com. ___

[R] changing method of estimation in GLM

2011-01-02 Thread ATANU
can anyone tell me how can i control the method of estimation (i.e. scoring method or Newton raphson method) in glm and compute deviance function ? -- View this message in context: http://r.789695.n4.nabble.com/changing-method-of-estimation-in-GLM-tp3170836p3170836.html Sent from the R help mai

Re: [R] The Percentile of a User-Defined pdf

2011-01-02 Thread Dieter Menne
Nissim Kaufmann wrote: > > > J=sapply(xc, function(xc) {integrate(function(x) { >sapply(y, function(x) { > integrate(function(y) { >sapply(x, function(y) 1/(1+x^2+y^2)) > }, -c, c)$value >}) > }, -c, xc)$value > }) > > Once you are inside the first "{", R only kn

Re: [R] dataframe, simulating data

2011-01-02 Thread Sarah
Thanks, Petr! With your script my problem is solved. David, thanks for your help and time as well!! I really appreciate it. -- View this message in context: http://r.789695.n4.nabble.com/dataframe-simulating-data-tp3169246p3170764.html Sent from the R help mailing list archive at Nabble.com. _