Re: [R] An R question

2017-06-07 Thread li li
Thank you! 2017-06-07 10:38 GMT-04:00 Ivan Calandra : > Hi, > > Check the FAQ 7.31 > https://cran.rstudio.com/doc/FAQ/R-FAQ.html#Why-doesn_0027t- > R-think-these-numbers-are-equal_003f > > And read the posting guide too... > https://www.r-project.org/posting-guide.html > > HTH,

Re: [R] An R question

2017-06-07 Thread Ivan Calandra
Hi, Check the FAQ 7.31 https://cran.rstudio.com/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f And read the posting guide too... https://www.r-project.org/posting-guide.html HTH, Ivan -- Dr. Ivan Calandra TraCEr, Laboratory for Traceology and Controlled Experiments

Re: [R] An R question

2017-06-07 Thread Rui Barradas
Hello, See FAQ 7.31 And try ?all.equal. Hope this helps, Rui Barradas Em 07-06-2017 15:32, li li escreveu: Hi all, In checking my R codes, I encountered the following problem. Is there a way to fix this? I tried to specify options(digits=). I did not fix the problem. Thanks so much

[R] An R question

2017-06-07 Thread li li
Hi all, In checking my R codes, I encountered the following problem. Is there a way to fix this? I tried to specify options(digits=). I did not fix the problem. Thanks so much for your help! Hanna > cdf(pmass)[2,2]==pcum[2,2][1] FALSE> cdf(pmass)[2,2][1] 0.758> > pcum[2,2][1]

Re: [R] Basic R question

2013-05-13 Thread arun
Hi, Try: integrate(Pareto,lower=0,upper=(MM-1)+0.5,x0=x0,alpha2=alpha2) #170.5065 with absolute error 0.016 A.K. For a homework assignment I'm constructing a simple code. R keeps returning that a x0 is missing in evaluating p2. I can't figure out why. lab1 - 50; mu - 1; sigma - 1 alpha1 -

[R] Simple R Question...

2011-05-21 Thread Lars Bishop
Let's say I have the data frame 'dd' below. I'd like to select one column from this data frame (say 'a') and keep its name in the resulting data frame. That can be done as in #2. However, what if I want to make my selection based on a vector of names (and again keep those names in the resulting

Re: [R] Simple R Question...

2011-05-21 Thread Jim Holtman
dd[[ myname]] Sent from my iPad On May 21, 2011, at 7:37, Lars Bishop lars...@gmail.com wrote: Let's say I have the data frame 'dd' below. I'd like to select one column from this data frame (say 'a') and keep its name in the resulting data frame. That can be done as in #2. However, what if I

Re: [R] Simple R Question...

2011-05-21 Thread Jeff Newmiller
Or dd[,myname] should work too. If you are worried about getting multiple columns, you can just make myname a vector of column names using c() before you use either Jim's list indexing or the above matrix indexing syntax.

Re: [R] Simple R Question...

2011-05-21 Thread Patrick Burns
Are you looking for: dd[, a, drop=FALSE] On 21/05/2011 12:37, Lars Bishop wrote: Let's say I have the data frame 'dd' below. I'd like to select one column from this data frame (say 'a') and keep its name in the resulting data frame. That can be done as in #2. However, what if I want to make my

Re: [R] Simple R Question...

2011-05-21 Thread David Winsemius
On May 21, 2011, at 7:37 AM, Lars Bishop wrote: Let's say I have the data frame 'dd' below. I'd like to select one column from this data frame (say 'a') and keep its name in the resulting data frame. That can be done as in #2. However, what if I want to make my selection based on a vector of

Re: [R] RV: R question

2011-05-06 Thread Philipp Pagel
which is the maximum large of digits that R has?, because SQL work with 50 digits I think. and I need a software that work with a lot of digits. The .Machine() command will provide some insight into these matters. cu Philipp -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte

Re: [R] RV: R question

2011-05-06 Thread David Winsemius
On May 6, 2011, at 4:03 AM, Philipp Pagel wrote: which is the maximum large of digits that R has?, because SQL work with 50 digits I think. I am wondering if that is binary or decimal. and I need a software that work with a lot of digits. The .Machine() command will provide some insight

Re: [R] RV: R question

2011-05-06 Thread Philipp Pagel
On Fri, May 06, 2011 at 09:17:11AM -0400, David Winsemius wrote: On May 6, 2011, at 4:03 AM, Philipp Pagel wrote: The .Machine() command will provide some insight into these matters. On my device (and I suspect on all versions of R) .Machine is a built-in list and there is no .Machine()

[R] RV: R question

2011-05-05 Thread Pamela Santelices Elgueta
which is the maximum large of digits that R has?, because SQL work with 50 digits I think. and I need a software that work with a lot of digits. Thanks. Pamela Santelices Elgueta Estadístico Instituto Nacional de Estadísticas Fono: (56-2) 7962491 Paseo Bulnes 209 oficina 82 Santiago

Re: [R] Newbie R question PART2

2009-04-30 Thread Tena Sakai
package? Please clue me in. Regards, Tena Sakai tsa...@gallo.ucsf.edu -Original Message- From: Martin Morgan [mailto:mtmor...@fhcrc.org] Sent: Wed 4/29/2009 10:32 AM To: Tena Sakai Cc: ted.hard...@manchester.ac.uk; r-help@r-project.org Subject: Re: [R] Newbie R question PART2 Tena Sakai

Re: [R] Newbie R question PART2

2009-04-30 Thread Martin Morgan
: Re: [R] Newbie R question PART2 Tena Sakai wrote: Hi, Many thanks to Wacek Kusnierczyk and Ted Harding. I learned 3 new tricks. (Not bad for a newbie?) $ R --silent --no-save barebone.R $ R --quiet --no-save barebone.R $ R --slave barebone.R With slight differences, they all

Re: [R] Newbie R question PART2

2009-04-30 Thread Tena Sakai
To: Tena Sakai Cc: ted.hard...@manchester.ac.uk; r-help@r-project.org Subject: Re: [R] Newbie R question PART2 Tena Sakai wrote: Hi, The example given: library(hwriter) htmlFile = tempfile() hwrite(Hello World, htmlFile) browseURL(htmlFile) worked. Including the line: example

Re: [R] Newbie R question PART2

2009-04-29 Thread Dieter Menne
Tena Sakai tsakai at gallo.ucsf.edu writes: I learned 3 new tricks. (Not bad for a newbie?) $ R --silent --no-save barebone.R $ R --quiet --no-save barebone.R $ R --slave barebone.R And don't forget R --vanilla which I like most because of the taste. Dieter

Re: [R] Newbie R question PART2

2009-04-29 Thread Wacek Kusnierczyk
Wacek Kusnierczyk wrote: Dieter Menne wrote: R --vanilla which I like most because of the taste. once we talk about preferences, here's the version which i like most because of (a) least typing, (b) the non-pompous little r: ... and (c) superior performance (in this

Re: [R] Newbie R question PART2

2009-04-29 Thread Wacek Kusnierczyk
Dieter Menne wrote: Tena Sakai tsakai at gallo.ucsf.edu writes: I learned 3 new tricks. (Not bad for a newbie?) $ R --silent --no-save barebone.R $ R --quiet --no-save barebone.R $ R --slave barebone.R And don't forget R --vanilla which I like most because of the

Re: [R] Newbie R question PART2

2009-04-29 Thread Tena Sakai
:49 AM To: Dieter Menne Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] Newbie R question PART2 Wacek Kusnierczyk wrote: Dieter Menne wrote: R --vanilla which I like most because of the taste. once we talk about preferences, here's the version which i like most because

Re: [R] Newbie R question PART2

2009-04-29 Thread Wacek Kusnierczyk
Tena Sakai wrote: Hi, That's pretty impressive performance, but wait. Where does this little r come from? And how does it differ from its big brother? the little r comes from littler [1]. it doesn't claim to be larger than it is. [1] http://dirk.eddelbuettel.com/code/littler.html

Re: [R] Newbie R question PART2

2009-04-29 Thread Stefan Evert
the little r comes from littler [1]. it doesn't claim to be larger than it is. [1] http://dirk.eddelbuettel.com/code/littler.html Unless you're working on a Mac or Windows (if I'm not mistaken about case handling there), where it will just overwrite the standard R interpreter. :-(

Re: [R] Newbie R question PART2

2009-04-29 Thread Ista Zahn
: Re: [R] Newbie R question PART2 Hi, Many thanks to Wacek Kusnierczyk and Ted Harding. I learned 3 new tricks. (Not bad for a newbie?) $ R --silent --no-save barebone.R $ R --quiet --no-save barebone.R $ R --slave barebone.R With slight differences, they all do what I wanted

Re: [R] Newbie R question PART2

2009-04-29 Thread Martin Morgan
for simpleminded newbie. Regards, Tena Sakai tsa...@gallo.ucsf.edu -Original Message- From: ted.hard...@manchester.ac.uk [mailto:ted.hard...@manchester.ac.uk] Sent: Tue 4/28/2009 2:11 PM To: r-help@r-project.org Cc: Tena Sakai Subject: RE: [R] Newbie R question On 28

Re: [R] Newbie R question PART2

2009-04-29 Thread Tena Sakai
Hi, Thank you for littler webpage. It is quite interesting. Tena Sakai tsa...@gallo.ucsf.edu -Original Message- From: Wacek Kusnierczyk [mailto:waclaw.marcin.kusnierc...@idi.ntnu.no] Sent: Wed 4/29/2009 1:22 AM To: Tena Sakai Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] Newbie R

Re: [R] Newbie R question PART2

2009-04-29 Thread Tena Sakai
Hi, Thanks for the warning. I'll be careful. Tena Sakai tsa...@gallo.ucsf.edu -Original Message- From: Stefan Evert [mailto:stefan.ev...@uos.de] Sent: Wed 4/29/2009 5:44 AM To: Wacek Kusnierczyk; Tena Sakai Cc: R help Subject: Re: [R] Newbie R question PART2 the little r comes

Re: [R] Newbie R question PART2

2009-04-29 Thread Tena Sakai
/2009 6:26 AM To: Tena Sakai Cc: r-help@r-project.org Subject: Re: [R] Newbie R question PART2 Hi Tena, I recommend rapache for building websites with R. See http://biostat.mc.vanderbilt.edu/rapache/ -Ista -- Forwarded message -- From: Tena Sakai tsa...@gallo.ucsf.edu To: ted.hard

Re: [R] Newbie R question PART2

2009-04-29 Thread Tena Sakai
: Wed 4/29/2009 10:32 AM To: Tena Sakai Cc: ted.hard...@manchester.ac.uk; r-help@r-project.org Subject: Re: [R] Newbie R question PART2 Tena Sakai wrote: Hi, Many thanks to Wacek Kusnierczyk and Ted Harding. I learned 3 new tricks. (Not bad for a newbie?) $ R --silent --no-save

[R] Newbie R question

2009-04-28 Thread Tena Sakai
Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save barebone.R And it does what I expect. What I get is 20+/- lines of text, one of which is 'Hello World!'. How would I

Re: [R] Newbie R question

2009-04-28 Thread Wacek Kusnierczyk
Tena Sakai wrote: Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save barebone.R And it does what I expect. What I get is 20+/- lines of text, one of which is

Re: [R] Newbie R question

2009-04-28 Thread Ted Harding
On 28-Apr-09 20:42:45, Tena Sakai wrote: Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save barebone.R And it does what I expect. What I get is 20+/- lines

Re: [R] Newbie R question PART2

2009-04-28 Thread Tena Sakai
Subject: RE: [R] Newbie R question On 28-Apr-09 20:42:45, Tena Sakai wrote: Hi, I am a newbie with R. My environment is linux and I have a file. I call it barebone.R, which has one line: cat ('Hello World!\n') I execute this file as: R --no-save barebone.R And it does what I

[R] About R question

2008-03-22 Thread shuyan wu
Hi, After I installed R in my computer, I have loaded package Faraway, but when I want to plot, it will show errors like below: * x-c(1,2) y-c(3,4) plot(x,y) Error in windows() : unable to start device devWindows* I don't know why, please help me. Shuyan [[alternative HTML version

Re: [R] About R question

2008-03-22 Thread Uwe Ligges
shuyan wu wrote: Hi, After I installed R in my computer, I have loaded package Faraway, You probably mean package faraway, but that should not be related to the following problem. but when I want to plot, it will show errors like below: * x-c(1,2) y-c(3,4) plot(x,y) Error in

[R] [Not R question] using java COM bridge to pass array of double through R(D)COM SetSymbol method

2007-12-12 Thread adschai
Hi My apology as I am really getting stuck. I know that this is not appropriate to post here but I do not know where to turn to. In any case, any thoughts or experience that you could share would be really appreciated. I have a need to use java to access R on windows. And I need to spawn each

Re: [R] not R question : alternative to logistic regression

2007-11-16 Thread S Ellison
Probabilities can only be even approximately linearly related to a continuous predictor variable for a limited range, otherwise the model will predict probabilities below 0 or above 1. At some point, they have to tail off... unless you are modelling something trivial like 'probability of being

Re: [R] not R question : alternative to logistic regression

2007-11-15 Thread Ben Bolker
=...) the pmin/pmax cut the probabilities off before they get to 1 or 0. I'm not sure this is a good idea, but it is possible. cheers Ben Bolker -- View this message in context: http://www.nabble.com/not-R-question-%3A-alternative-to-logistic-regression-tf4816865.html#a13781110 Sent from the R

[R] not R question : alternative to logistic regression

2007-11-15 Thread markleeds
I was just curious if anyone knew of an alternative model to logistic regression where the probabilities seems pretty linear to the predictor rather than having that S shape that probit and logit assume. Maybe there is there some kind of other GLM that could accomplish that. Any textbook

Re: [R] not R question : alternative to logistic regression

2007-11-15 Thread Nordlund, Dan (DSHS/RDA)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, November 15, 2007 12:04 PM To: r-help@r-project.org Cc: [EMAIL PROTECTED] Subject: [R] not R question : alternative to logistic regression I was just curious

[R] [non-R question] methodological problem

2007-10-27 Thread eugen pircalabelu
Sorry, I meant non-R question. Sorry for the inconvenience! __ [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE