Re: [R] DOUBT

2023-03-21 Thread avi.e.gross
Your spelling of: HH size Is two word. -Original Message- From: R-help On Behalf Of Nandini raj Sent: Monday, March 20, 2023 1:17 PM To: r-help@r-project.org Subject: [R] DOUBT Respected sir/madam can you please suggest what is an unexpected symbol in the below code for running a

Re: [R] DOUBT

2023-03-21 Thread Bill Dunlap
The HH Size is the problem - it doesn't follow R's rules for a name. Put backticks around it: `HH Size`. -Bill On Tue, Mar 21, 2023 at 9:47 AM Nandini raj wrote: > Respected sir/madam > can you please suggest what is an unexpected symbol in the below code for > running a multinomial logistic

Re: [R] DOUBT

2023-03-21 Thread John Fox
Dear Nandiniraj, Please cc r-help in your emails so that others can see what happened with your problem. You don't provide enough information to know what exactly is the source of your problem -- you're more likely to get effective help if you provide a minimal reproducible example of the

Re: [R] DOUBT

2023-03-21 Thread John Fox
Dear Nandini raj, You have a space in the variable name "HH size". I hope this helps, John John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada web: https://socialsciences.mcmaster.ca/jfox/ On 2023-03-20 1:16 p.m., Nandini raj wrote: Respected sir/madam can you please

Re: [R] Doubt regarding the autoplot function in ggfortify library

2019-04-25 Thread Jeff Newmiller
True, but reading the supplied help is appropriate before contacting the maintainer. Specifically, help("ggfortify") and click the link to the index and find the autoplot method in the list and follow that link. Or you can read the help for the "pam" function and discover that the class of

Re: [R] Doubt regarding the autoplot function in ggfortify library

2019-04-25 Thread Bert Gunter
As I believe the posting guide notes, you may do better addressing questions about specialized packages to the package maintainers, who often do not monitor this list. Cheers, Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus

Re: [R] doubt clarification

2016-03-15 Thread Duncan Murdoch
On 15/03/2016 12:53 PM, MEHER DIVYA BARATAM wrote: dear sir/madam, i am a new learner of r software. while plotting a graph of data which contains date. i have dates on X-axis, while learning i got to know i have to convert into R understandable language. i got an error

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Michael Dewey
Dear Rosa Please keep the list on the recipients as others may be able to help. See inline On 23/09/2015 19:19, Rosa Oliveira wrote: Dear Michael, *New cleaned code :)(I think :))* casedata <-read.spss("tas_05112008.sav") tas.data<-data.frame(casedata) #Delete patients that were not

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Rosa Oliveira
Dear Michael (and all :)) Thank you very much. I fixed my problem, I think ;) Best, RO Atenciosamente, Rosa Oliveira -- Rosa Celeste dos Santos Oliveira, E-mail: rosit...@gmail.com Tlm: +351 939355143

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-24 Thread Eik Vettorazzi
Dear Rosa, coefficents of a probit-regression do not have a odds-ratio interpretation, you should use a logit link for that. cheers. Am 24.09.2015 um 09:51 schrieb Michael Dewey: > Dear Rosa > > Please keep the list on the recipients as others may be able to help. > > See inline > > On

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Michael Dewey
Dear Rosa It would help if you posted the error messages where they occur so that we can see which of your commands caused which error. However see comment inline below. On 22/09/2015 22:17, Rosa Oliveira wrote: Dear all, I’m trying to compute Odds ratio and OR confidence interval. I’m

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Michael Dewey
Dear Rosa Can you remove all the code which is not relevant to calculating the odds ratio so we can see what is going on? On 23/09/2015 16:06, Rosa Oliveira wrote: Dear Michael, I found some of the errors, but others I wasn’t able to. And my huge huge problem concerns OR and OR confidence

Re: [R] doubt with Odds ratio - URGENT HELP NEEDED

2015-09-23 Thread Rosa Oliveira
Dear Michael, I found some of the errors, but others I wasn’t able to. And my huge huge problem concerns OR and OR confidence interval :( New Corrected code: casedata <-read.spss("tas_05112008.sav") tas.data<-data.frame(casedata) #Delete patients that were not

Re: [R] Doubt in simple merge

2014-01-17 Thread PIKAL Petr
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of kingsly Sent: Friday, January 17, 2014 6:14 AM To: r-help@r-project.org Subject: Re: [R] Doubt in simple merge Thank you dear friends. You have cleared my first doubt. My second

Re: [R] Doubt in simple merge

2014-01-17 Thread Marc Schwartz
On Jan 16, 2014, at 11:14 PM, kingsly ecoking...@yahoo.co.in wrote: Thank you dear friends. You have cleared my first doubt. My second doubt: I have the same data sets Elder and Younger. Elder - data.frame( ID=c(ID1,ID2,ID3), age=c(38,35,31)) Younger - data.frame(

Re: [R] Doubt in simple merge

2014-01-16 Thread Adams, Jean
You are telling it to merge by ID only. But it sounds like you would like it to merge by both ID and age. merge(Elder, Younger, all=TRUE) Jean On Thu, Jan 16, 2014 at 6:25 AM, kingsly ecoking...@yahoo.co.in wrote: Dear R community I have a two data set called Elder and Younger. This is

Re: [R] Doubt in simple merge

2014-01-16 Thread Frede Aakmann Tøgersen
No I think the OP wants mer - merge(Elder, Younger) Br. Frede Oprindelig meddelelse Fra: Adams, Jean Dato:16/01/2014 15.45 (GMT+01:00) Til: kingsly Cc: R help Emne: Re: [R] Doubt in simple merge You are telling it to merge by ID only. But it sounds like you would like

Re: [R] Doubt in simple merge

2014-01-16 Thread Frede Aakmann Tøgersen
Ups, sorry that should have been mer - rbind(Elder, Younger) /frede Oprindelig meddelelse Fra: Frede Aakmann Tøgersen Dato:16/01/2014 15.54 (GMT+01:00) Til: Adams, Jean ,kingsly Cc: R help Emne: Re: [R] Doubt in simple merge No I think the OP wants mer - merge(Elder

Re: [R] Doubt in simple merge

2014-01-16 Thread Marc Schwartz
meddelelse Fra: Frede Aakmann Tøgersen Dato:16/01/2014 15.54 (GMT+01:00) Til: Adams, Jean ,kingsly Cc: R help Emne: Re: [R] Doubt in simple merge No I think the OP wants mer - merge(Elder, Younger) Br. Frede Oprindelig meddelelse Fra: Adams, Jean Dato:16

Re: [R] Doubt in simple merge

2014-01-16 Thread kingsly
Thank you dear friends.  You have cleared my first doubt.   My second doubt: I have the same data sets Elder and Younger. Elder - data.frame(   ID=c(ID1,ID2,ID3),   age=c(38,35,31)) Younger - data.frame(   ID=c(ID4,ID5,ID3),   age=c(29,21,NA))  Row ID3 comes in both data set. It has a

Re: [R] doubt with function on R software

2013-02-18 Thread Pete Brecknock
monicamir88 wrote Hello! I have a doubt with the R software. I have this function: results - function(bCODBOD, BOD, VSS, COD, sBOD, sCOD, TSS, TKNpa, T, NH3Ne, DO, Q, TKN, MLSS, NO3Ne, RAS, tanoxic1, tanoxic2, rbCOD, SDNR1, SDNR2, tdanoxic, tanaerobic, IRp, P) { bCOD - bCODBOD*BOD nbCOD -

Re: [R] doubt in command

2012-10-23 Thread Ivan Calandra
Hi Julio, Someone correct me if I'm wrong, but I think you can use '::' For example: Stats::filter() HTH, Ivan -- Ivan CALANDRA Université de Bourgogne UMR CNRS/uB 6282 Biogéosciences 6 Boulevard Gabriel 21000 Dijon, FRANCE +33(0)3.80.39.63.06 ivan.calan...@u-bourgogne.fr

Re: [R] doubt in command

2012-10-23 Thread Duncan Murdoch
On 23/10/2012 9:42 AM, Ivan Calandra wrote: Hi Julio, Someone correct me if I'm wrong, but I think you can use '::' For example: Stats::filter() Yes, but there is no Stats package: R is case-sensitive, and the package is called stats, and needs to be used that way: stats::filter()

Re: [R] Doubt in relation with packaging

2012-08-21 Thread Eva Prieto Castro
Thank you, Michael and Rui. I think I will adjust namespaces file. Cheers, Eva --- El mar, 21/8/12, R. Michael Weylandt michael.weyla...@gmail.com escribió: De: R. Michael Weylandt michael.weyla...@gmail.com Asunto: Re: [R] Doubt in relation with packaging Para: Rui Barradas ruipbarra

Re: [R] Doubt in relation with packaging

2012-08-20 Thread Rui Barradas
Hello, I believe that the simplest way (the one I allways use) is to have the invisible functions' names start with a period. .aux - function(x) # user doesn't see it, R CMD check doesn't force .Rd file Hope this helps, Rui Barradas Em 20-08-2012 22:06, Eva Prieto Castro escreveu: Hi,

Re: [R] Doubt in relation with packaging

2012-08-20 Thread R. Michael Weylandt
Rui's solution certainly works, but don't fear namespaces. For a simple package, you basically just write export(xxx) for all the main functions and import(yyy) for all the packages yyy you use. If you have S3 methods, it's also important to register those as S3method(plot, zzz) If you are

Re: [R] doubt in climate variability analysis in R! - code

2010-10-31 Thread govindas
I am sorry, i think the link was broken..! here is the correct one!!! http://www.4shared.com/file/4zV0g3JR/RF_80-85.html [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] doubt in climate variability analysis in R! - code

2010-10-31 Thread steven mosher
Ok I downloaded it and showed you how to get your data out. How to read it into a raster brick, how to plot the data, how to get the mean rainfall of every day.lots more you can do. there is a bad bit of data in the last time step. check my blog. In the future what you should do is write code

Re: [R] doubt in climate variability analysis in R! - code included!

2010-10-30 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of govin...@msu.edu Sent: Friday, October 29, 2010 11:56 AM To: r-help@r-project.org Subject: Re: [R] doubt in climate variability analysis in R! - code included

Re: [R] doubt in climate variability analysis in R! - code included!

2010-10-30 Thread govindas
Quoting Nordlund, Dan (DSHS/RDA) nord...@dshs.wa.gov: -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of govin...@msu.edu Sent: Friday, October 29, 2010 11:56 AM To: r-help@r-project.org Subject: Re: [R] doubt

Re: [R] doubt in climate variability analysis in R!

2010-10-29 Thread Daniel Nordlund
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of govin...@msu.edu Sent: Friday, October 29, 2010 8:33 AM To: r-help@r-project.org Subject: [R] doubt in climate variability analysis in R! Hello all, I am trying to use

Re: [R] doubt in climate variability analysis in R! - code included!

2010-10-29 Thread govindas
the following code was used library(akima) library(clim.pact) nc.1 - RF_80-05.nc nc.rf.in - open.ncdf(nc.1) x1 - retrieve.nc(nc.1, v.nam=Rainfall,l.scale=FALSE,  x.rng=c(70, 80), y.rng=c(10, 13.5)) #dimension is checked for the subset. (lon, lat, time) is changed as (time, lat, lon)

Re: [R] Doubt on using lattice

2010-10-19 Thread Dennis Murphy
Hi: On Mon, Oct 18, 2010 at 11:32 PM, Cristina Ramalho cristina.rama...@grs.uwa.edu.au wrote: Hi all, I suppose this is a very simple question, but as I've lost already a bit of time with it, without being able to get what I wanted, I'm addressing the question to the group in the hope

Re: [R] doubt about samr siggenes.table$genes.up

2010-05-25 Thread Peter Ehlers
On 2010-05-25 10:54, Leonardo K wrote: Hi, here's my siggenes.table$genes.up snippet. Two class unpaired SAMR analysis. Row Gene ID Gene Name Score(d) Numerator(r) Denominator(s+s0) Fold Change q-value(%) 1 25 RPL15P22 RPL15P22 -1.44115338424578 -18 12.4899959967968 1.27368448239355 0 2 47

Re: [R] doubt about samr siggenes.table$genes.up

2010-05-25 Thread Shi, Tao
Message From: Peter Ehlers ehl...@ucalgary.ca To: Leonardo K shik...@gmail.com Cc: r-help@r-project.org Sent: Tue, May 25, 2010 1:41:36 PM Subject: Re: [R] doubt about samr siggenes.table$genes.up On 2010-05-25 10:54, Leonardo K wrote: Hi, here's my siggenes.table$genes.up snippet

Re: [R] Doubt about CCA and PCA

2009-11-23 Thread Jombart, Thibaut
Dear Francisco, CCA and PCA are quite different methods. CCA regresses your 'response' data onto a set of explanatory variables. This needs to invert the matrix of covariances of the predictors, which is only possible if np, where n is the number of observations and p the number of

Re: [R] Doubt about CCA and PCA

2009-11-23 Thread Jari Oksanen
Jombart, Thibaut t.jombart at imperial.ac.uk writes: Dear Francisco, CCA and PCA are quite different methods. CCA regresses your 'response' data onto a set of explanatory variables. This needs to invert the matrix of covariances of the predictors, which is only possible if np, where n is

Re: [R] doubt

2009-05-11 Thread David Winsemius
You might try again, assuming you are a Windows user, which was suggested by your choice of repositories but not actually stated by you. The repository may have been temporarily unavailable. It seems to be open for service now with a version of cluster that is 1.11.13. -- David Winsemius

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Rolf Turner
There is no bug. Both of your examples work fine for me. You may have a corrupt version of ``iris'' somewhere in your search path before ``datasets''. What does find(iris) tell you? What does names(iris) tell you? cheers, Rolf Turner On 9/04/2009, at 8:16 AM, Jose

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Jose Claudio Faria
I've been finding the same problem in all R versions I'm using after 2.6.0 (I think). find(iris) [1] .GlobalEnv package:datasets It is really strange... -- ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria Estatistica - prof. Titular UESC/DCET/Brasil

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Peter Dalgaard
Rolf Turner wrote: There is no bug. Both of your examples work fine for me. Ditto You may have a corrupt version of ``iris'' somewhere in your search path before ``datasets''. What does find(iris) tell you? What does names(iris) tell you? Could also be something interfering with the

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Jose Claudio Faria
# a) aov av - aov(Sepal.Length ~ Species, data=iris) Error in parse(text = x) : unexpected symbol in Sepal(Sepal.Length+Species)Length traceback() 13: parse(text = x) 12: eval(parse(text = x)[[1]]) 11: formula(eval(parse(text = x)[[1]])) 10: formula.character(object, env = baseenv()) 9:

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Peter Dalgaard
Jose Claudio Faria wrote: # a) aov av - aov(Sepal.Length ~ Species, data=iris) Error in parse(text = x) : unexpected symbol in Sepal(Sepal.Length+Species)Length traceback() 13: parse(text = x) 12: eval(parse(text = x)[[1]]) 11: formula(eval(parse(text = x)[[1]])) 10:

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Jose Claudio Faria
Hi Peter and Rolf, Many thanks for all! The bug was just found: it is related with the package AlgDesign! (and I've been loading it from Rprofile.site already for a long long time). :-( See below: R version 2.8.1 Patched (2009-01-22 r47680) Copyright (C) 2009 The R Foundation for Statistical

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Rolf Turner
On 9/04/2009, at 9:17 AM, Jose Claudio Faria wrote: Hi Peter and Rolf, Many thanks for all! The bug was just found: it is related with the package AlgDesign! (and I've been loading it from Rprofile.site already for a long long time). :-( snip I wonder it is really a small bug.

Re: [R] Doubt about aov and lm function... bug?

2009-04-08 Thread Peter Dalgaard
Jose Claudio Faria wrote: library(AlgDesign) aov(Sepal.Length ~ Species, data=iris) Error in parse(text = x) : unexpected symbol in Sepal(Sepal.Length+Species)Length I wonder it is really a small bug. Do you agree? Yes, in AlgDesign. I'm always suspicious of things involving parse()

Re: [R] Doubt(load large amount of data) -reg

2009-03-31 Thread jim holtman
I assume that you mean a file sie of 566MB? Is this the size of the text file? If so how is the text file structured? What type of system are you running? How much physical memory do you have? What kind of processing do you want to do with the data? Do you have to have all of it at once?

Re: [R] Doubt Linear Regression

2009-03-05 Thread Chuck Cleland
On 3/5/2009 7:53 AM, Sueli Rodrigues wrote: Hello. I have a file with 480 lines but each 6 lines corresponding just one sample. How can can work out the linear regression to each 6 lines? I use the model: model=lm(y~x) mydf - data.frame(X = rnorm(480), Y = rnorm(480)) mydf$SAMPLE - rep(1:80,

Re: [R] doubt

2008-09-08 Thread Uwe Ligges
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Uwe Ligges Kurapati, Ravichandra (Ravichandra) wrote: Hi Lets say Main(){