Re: [R] ks.test ; impossible to calculate exact exact value with ex-aequos

2018-12-10 Thread Ted Harding
On Mon, 2018-12-10 at 22:17 +0100, Fatma Ell wrote: > Dear all, > I'm trying to use ks.test in order to compare two curve. I've 0 values i > think this is why I have the follonwing warnings :impossible to calculate > exact exact value with ex-aequos > > a=c(3.02040816326531, 7.95918367346939,

Re: [R] Ignoring the domain of RV in punif()

2018-10-23 Thread Ted Harding
example, the cumulative probability of reaching a point > outside the cube (u or v or w > A) is 1 however, the bigger cube does not > exists (because the Q is the reference space). Other words, I feel that we > extend the space to accommodate any cube of any size! Looks a bit weird to >

Re: [R] Ignoring the domain of RV in punif()

2018-10-23 Thread Ted Harding
Sorry -- stupid typos in my definition below! See at ===*** below. On Tue, 2018-10-23 at 11:41 +0100, Ted Harding wrote: Before the ticket finally enters the waste bin, I think it is necessary to explicitly explain what is meant by the "domain" of a random variable. This is not (though

Re: [R] Ignoring the domain of RV in punif()

2018-10-23 Thread Ted Harding
Before the ticket finally enters the waste bin, I think it is necessary to explicitly explain what is meant by the "domain" of a random variable. This is not (though in special cases could be) the space of possible values of the random variable. Definition of (real-valued) Random Variable (RV):

Re: [R] differing behavior of mean(), median() and sd() with na.rm

2018-08-22 Thread Ted Harding
I think that one can usefully look at this question from the point of view of what "NaN" and "NA" are abbreviations for (at any rate, according to the understanding I have adopted since many years -- maybe over-simplified). NaN: Mot a Number NA: Not Available So NA is typically used for missing

Re: [R] Error custom indicator Quantstrat colnames

2018-07-14 Thread Ted Harding
Pietro, Please post this to r-help@r-project.org not to r-help-ow...@r-project.org which is a mailing liat concerned with list management, and does not deal with questions regarding the use of R. Best wishes, Ted. On Sat, 2018-07-14 at 13:04 +, Pietro Fabbro via R-help wrote: > I will try to

Re: [R] prod(NaN, NA) vs. prod(NA, NaN)

2018-07-04 Thread Ted Harding
I've been following this thread, and wondering where it might lead. My (possibly naive) view of these matters is basically logical, relying on (possibly over-simplified) interpretaions of "NA" and "NaN". These are that: "NaN" means "Not a Number", though it can result from a numerical

Re: [R] R maintains old values

2018-07-03 Thread Ted Harding
On Tue, Jul 3, 2018 at 9:25 AM, J C Nash wrote: > > > . . . Now, to add to the controversy, how do you set a computer on fire? > > > > JN Perhaps by exploring the context of this thread, where new values strike a match with old values??? Ted __

Re: [R] OT --- grammar.

2018-06-24 Thread Ted Harding
On Mon, 2018-06-25 at 09:46 +1200, Rolf Turner wrote: > Does/should one say "the degrees of freedom is defined to be" or "the > degrees of freedom are defined to be"? > > Although value of "degrees of freedom" is a single number, the first > formulation sounds very odd to my ear. > > I would

Re: [R] mysterious rounding digits output

2018-05-31 Thread Ted Harding
nding of Numbers", covering the functions ceiling(), floor(), trunc(), round(), signif(). Well worth reading! Best wishes, Ted. On Thu, 2018-05-31 at 08:58 +0200, Martin Maechler wrote: > >>>>> Ted Harding > >>>>> on Thu, 31 May 2018 07:10:32

Re: [R] mysterious rounding digits output

2018-05-31 Thread Ted Harding
Well pointed out, Jim! It is infortunate that the documentation for options(digits=...) does not mention that these are *significant digits* and not *decimal places* (which is what Joshua seems to want): "‘digits’: controls the number of digits to print when printing numeric values." On the

[R] TEST message

2018-04-24 Thread Ted Harding
Apologies for disturbance! Just checking that I can get through to r-help. Ted. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Hacked

2018-04-18 Thread Ted Harding
Not necessarily. The R-help archives are publicly accessible, with a "sort by date" option. So if someone sets up a web=page monitor which reports back when new messages appear there (at the bpottom end), then their email addresses are readily copied (subject to " at " --> "@". Once they have the

Re: [R] R help

2018-03-31 Thread Ted Harding
A. On Sat, 2018-03-31 at 15:45 +0200, Henri Moolman wrote: > Could you please provide help with something from R that I find rather > puzzling? In the small program below x[1]=1, . . . , x[5]=5. R also > finds that x[1]<=5 is TRUE. Yet when you attempt to execute while, R does > not seem

Re: [R] substr gives empty output

2018-01-21 Thread Ted Harding
On Sun, 2018-01-21 at 09:59 +0100, Luigi Marongiu wrote: > Dear all, > I have a string, let's say "testing", and I would like to extract in > sequence each letter (character) from it. But when I use substr() I only > properly get the first character, the rest is empty (""). What am I getting >

Re: [R] Precision of values > 53 bits

2017-07-20 Thread Ted Harding
On Thu, 2017-07-20 at 14:33 +0200, peter dalgaard wrote: > > On 10 Jan 2013, at 15:56 , S Ellison wrote: > > > > > > > >> I am working with large numbers and identified that R looses > >> precision for such high numbers. > > Yes. R uses standard 32-bit double

Re: [R] [FORGED] Logical Operators' inconsistent Behavior

2017-05-19 Thread Ted Harding
[I unadvertently sent my reply below to Jeremie, instead of R-help. Also, I havve had an additional thought which may clarify things for R users]. [Original reply]: The point about this is that (as Rolf wrote) FALSE & (anything) is FALSE, provided logical NA is either TRUE ot FALSE but, because

Re: [R] Interesting quirk with fractions and rounding

2017-04-21 Thread Ted Harding
s normally "almost" trivial feature can, for such a simple calculation, lead to chaos or catastrophe (in the literal technical sense). For more detail, including an extension of the above, look at the original posting in the R-help archives for Dec 22, 2013: From: (Ted Harding) <ted.hard.

Re: [R] Beginner needs help with R

2017-02-07 Thread Ted Harding
p@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide http://www.R-project.org/ >>> posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code.

Re: [R] histogram first bar wrong position

2016-12-22 Thread Ted Harding
__ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/ >> posting-guide.html >> and provide commented, minimal, self-

Re: [R] detecting if a variable has changed

2016-06-05 Thread Ted Harding
k out the data.table package, as suggested. > > -- Bert > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > >

Re: [R] detecting if a variable has changed

2016-06-05 Thread Ted Harding
eakfinex.html >> >> >> >> As far as I can tell, weakrefs are only available via the C API. Is >> >> there a way to do what I want in R without resorting to C code? Is >> >> what I want to do better achieved using something other than weakrefs? >> >

Re: [R] LaplacesDemon package installation

2016-02-04 Thread Ted Harding
>> >>> install.packages("devtools") library(devtools) >>> install_github("ecbrown/LaplacesDemon") >> >> but I am not able to install devtools (for similar reasons). So my >> questions are: >> >> -Do anyone knows how to install

Re: [R] R project and the TPP

2016-02-04 Thread Ted Harding
> > saludos, > José --------- E-Mail: (Ted Harding) <ted.hard...@wlandres.net> Date: 04-Feb-2016 Time: 22:01:42 This message was sent by XFMail __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see htt

Re: [R] Has R-help changed reply-to policy?

2016-02-04 Thread Ted Harding
ering with my account defaults > doesn't change that. > > I don't _think_ things have changed at my end ... > > Steve Ellison --------- E-Mail: (Ted Harding) <ted.hard...@wlandres.net> Date: 04-Feb-2016 Time: 17:03:37 This message was sen

Re: [R] R-help mailing list activity / R-not-help?

2016-01-25 Thread Ted Harding
e R-help subscribers to click the > "Don't send" or "Save" button and think better of their replies. > > > -- > Michael Friendly Email: friendly AT yorku DOT ca > Professor, Psychology Dept. & Chair, Quantitative Methods > York University

Re: [R] If else

2015-10-31 Thread Ted Harding
;F" >>> >> >> >>> >> >> should do it. >>> >> >> >>> >> >> Best, >>> >> >> Ista >>> >> >> >>> >> >> On Fri, Oct 30, 2015 at 9:15 PM, Val

Re: [R] Subscription request

2015-10-14 Thread Ted Harding
p Towards the bottom of this page is a section "Subscribing to R-help". Follow the instructions in this section, and it should work! Best wishes, Ted. --------- E-Mail: (Ted Harding) <ted.hard...@wlandres.net> Date: 14-Oct-2015 Time: 19:

Re: [R] Beta distribution approximate to Normal distribution

2015-09-15 Thread Ted Harding
[R] Beta distribution approximate to Normal distribution > > Hi, > I need to generate 1000 numbers from N(u, a^2), however I don't > want to include 0 and negative values. How can I use beta distribution > approximate to N(u, a^2) in R. >

Re: [R] Variance is different in R vs. Excel?

2015-02-09 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-Feb-2015 Time: 22:15:44 This message was sent by XFMail __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] the less-than-minus gotcha

2015-02-02 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 02-Feb-2015 Time: 12:43:51 This message was sent by XFMail __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

Re: [R] Calculate the median age interval

2015-01-12 Thread Ted Harding
Sorry, a typo in my reply below. See at ###. On 12-Jan-2015 11:12:43 Ted Harding wrote: On 12-Jan-2015 10:32:41 Erik B Svensson wrote: Hello I've got a problem I don't know how to solve. I have got a dataset that contains age intervals (age groups) of people and the number of persons

Re: [R] Calculate the median age interval

2015-01-12 Thread Ted Harding
the = is satisfied by also. Hoping this helps! Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12-Jan-2015 Time: 11:12:39 This message was sent by XFMail __ R-help@r-project.org mailing list

Re: [R] diff question

2015-01-11 Thread Ted Harding
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 11-Jan-2015 Time: 08:48:03 This message was sent by XFMail

Re: [R] diff question

2015-01-11 Thread Ted Harding
I should have added an extra line to the code below, to complete the picture. Here it is (see below line ##. Ted. On 11-Jan-2015 08:48:06 Ted Harding wrote: Troels, this is due to the usual tiny difference between numbers as computed by R and the numbers that you think they are! tt

Re: [R] rounding down with as.integer

2015-01-01 Thread Ted Harding
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-Jan-2015 Time: 21:28:22 This message

Re: [R] Cox model -missing data.

2014-12-19 Thread Ted Harding
and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 19-Dec-2014 Time: 10:21:23 This message was sent by XFMail __ R-help@r-project.org

Re: [R] Cox model -missing data.

2014-12-19 Thread Ted Harding
for this particular co-variate is missing in the model but not completely remove the row? This is more what I was hoping someone would know if it's possible to incorporate into the model I described above? Thanks On Fri, Dec 19, 2014 at 10:21 AM, Ted Harding ted.hard...@wlandres.net wrote: Hi

Re: [R] Printing/Generating/Outputting a Table (Not Latex)

2014-12-09 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-Dec-2014 Time: 22:07:23 This message was sent by XFMail __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Inverse Student t-value

2014-09-30 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 30-Sep-2014 Time: 19:35:45 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] data.table/ifelse conditional new variable question

2014-08-17 Thread Ted Harding
109 NAfather 109 NAmother That's the data. Now a little quiz question: Can you guess the identity of the person with sample.ID = 01 ? Best wishes to all, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-Aug

Re: [R] A basic statistics question

2014-08-13 Thread Ted Harding
On 12-Aug-2014 22:22:13 Ted Harding wrote: On 12-Aug-2014 21:41:52 Rolf Turner wrote: On 13/08/14 07:57, Ron Michael wrote: Hi, I would need to get a clarification on a quite fundamental statistics property, hope expeRts here would not mind if I post that here. I leant that variance

Re: [R] A basic statistics question

2014-08-12 Thread Ted Harding
)/(dim(Data_Normalized)[1]-1) and compare the result with cor(Data) And why? Look at ?sd and note that: Details: Like 'var' this uses denominator n - 1. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12

Re: [R] A basic statistics question

2014-08-12 Thread Ted Harding
was n, apparently not being aware that R uses (n-1). Just a few thoughts ... Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12-Aug-2014 Time: 23:22:09 This message was sent by XFMail __ R-help@r

Re: [R] Generate quasi-random positive numbers

2014-08-05 Thread Ted Harding
be able to solve the equations for a and b. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 05-Aug-2014 Time: 11:46:52 This message was sent by XFMail __ R-help@r-project.org

Re: [R] Simple permutation question

2014-06-25 Thread Ted Harding
: (Ted Harding) ted.hard...@wlandres.net Date: 25-Jun-2014 Time: 21:55:42 This message was sent by XFMail __ 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

Re: [R] C: drive memory full

2014-06-17 Thread Ted Harding
can get my memory space back. Ayako [[alternative HTML version deleted]] - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-Jun-2014 Time: 14:14:40 This message was sent by XFMail __ R-help

Re: [R] matrix column division by vector

2014-05-14 Thread Ted Harding
and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 14-May-2014 Time: 18:16:12 This message was sent by XFMail __ R-help@r-project.org

Re: [R] Precedence and parentheses

2014-05-06 Thread Ted Harding
0.000 0.081 (though in fact the times are somwhat variable in both cases, so I'm not sure of the value of the relationship). Best wishes, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 06-May-2014 Time: 19:41:13 This message

Re: [R] Problem with products in R ?

2014-05-04 Thread Ted Harding
- E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 04-May-2014 Time: 17:50:54 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Problem with products in R ?

2014-05-04 Thread Ted Harding
* 36662978) [1] 6195624596620653502 library(Ryacas) yacas(168988580159 * 36662978, retclass = character) 6195624596620653502 library(gmp) as.bigz(168988580159) * as.bigz(36662978) Big Integer ('bigz') : [1] 6195624596620653502 On Sun, May 4, 2014 at 12:50 PM, Ted Harding ted.hard

Re: [R] Getting a particular weekday for a given month

2014-04-07 Thread Ted Harding
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 and now just count down the 3rd column (as before). Maybe this helps ... Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 07-Apr-2014 Time: 19:29:41

Re: [R] about lm()

2014-03-30 Thread Ted Harding
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 30-Mar-2014 Time: 21:12:16 This message was sent by XFMail

Re: [R] points with-in boundaries of a map

2014-03-23 Thread Ted Harding
are in no particular order as a whole; and in some datasets the different separate parts of the boundary do not exactly match up at the points where they should exactly join. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 23

Re: [R] rounding to whole number

2014-03-20 Thread Ted Harding
)} } rounddown - function(x){ if((x-floor(x))==1/2){ floor(x) } else {round(x)} } Also have a look at the help page ?round Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 20-Mar-2014 Time: 20:04:20

Re: [R] Pattern Matching

2014-03-02 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 02-Mar-2014 Time: 20:57:07 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] geneation

2014-02-20 Thread Ted Harding
to others ... Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 20-Feb-2014 Time: 12:00:07 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] calculate probability of union of independent events

2014-02-18 Thread Ted Harding
punion - function(p){1 - prod(1-p)} should do it! Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 18-Feb-2014 Time: 23:51:31 This message was sent by XFMail __ R-help@r-project.org mailing list

Re: [R] How to plot a shifted Gamma distribution

2014-02-13 Thread Ted Harding
shifted gamma distribution in r? Thanks a lot! Rodrigo. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 13-Feb-2014 Time: 17:27:29 This message was sent by XFMail __ R-help@r-project.org mailing

Re: [R] creating an equivalent of r-help on r.stackexchange.com ?

2014-02-03 Thread Ted Harding
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 03-Feb-2014 Time

Re: [R] How to subscribe this mailing list

2014-01-12 Thread Ted Harding
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12-Jan-2014 Time: 18:01:25 This message was sent by XFMail

Re: [R] Tracking what R actually executes

2014-01-02 Thread Ted Harding
position (down to the line number), and various measures of memory use. Duncan Murdoch Also have a look at ?trace which you may be able to use for what you want. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 03-Jan-2014 Time: 00:14

[R] Season's Greetings (and great news ... )!

2013-12-22 Thread Ted Harding
its head! All it has to do is multiply by 2 -- and it gets it cumulatively wrong! R just doesn't add up ... Season's Greetings to all -- and may your calculations always be accurate -- to within machine precision ... Ted. - E-Mail: (Ted Harding

Re: [R] Season's Greetings (and great news ... )!

2013-12-22 Thread Ted Harding
2013 10:59, Ted Harding ted.hard...@wlandres.net wrote: Greetings All! With the Festive Season fast approaching, I bring you joy with the news (which you will surely wish to celebrate) that R cannot do arithmetic! Usually, this is manifest in a trivial way when users report puzzlement

Re: [R] Converting decimal to binary in R

2013-12-14 Thread Ted Harding
: +X000U.UU000U0UU0UUU000U00U000UU0UUP+ U: +X0001.1100010110111000100100011011P+ The final result probably needs tidying up in accordance with the needs of subsequent uses! Hoping this helps, Ted. - E-Mail: (Ted Harding

Re: [R] iterated sum

2013-12-14 Thread Ted Harding
, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 14-Dec-2013 Time: 10:54:00 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Fortune? [was: Re: quotation marks and scan]

2013-11-17 Thread Ted Harding
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-Nov-2013 Time: 23:55:48

Re: [R] all combinations with replacement not ordered

2013-11-07 Thread Ted Harding
,]133 # [7,]222 # [9,]233 #[10,]333 There may be a simpler way! Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 07-Nov-2013 Time: 17:04:50 This message was sent by XFMail

Re: [R] Is there something wrong with R version 3.0.2 (2013-09-25) -- Frisbee Sailing?

2013-10-16 Thread Ted Harding
instead of 1.53? - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 16-Oct-2013 Time: 16:12:56 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Help: concurrent R sessions for different settings of simulations

2013-09-29 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 29-Sep-2013 Time: 19:31:29 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Why does sin(pi) not return 0?

2013-09-26 Thread Ted Harding
consolation to R: all.equal(0,sin(pi)) # [1] TRUE So it depends on what you mean by different from. Computers have their own fuzzy concept of this ... Babak has too fussy a concept. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 26

[R] Coordinate scales for pairs plot

2013-08-21 Thread Ted Harding
-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 21-Aug-2013 Time: 18:30:44 This message was sent by XFMail __ 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

Re: [R] Coordinate scales for pairs plot

2013-08-21 Thread Ted Harding
On 21-Aug-2013 19:08:29 David Winsemius wrote: On Aug 21, 2013, at 10:30 AM, (Ted Harding) wrote: Greetings all. I suspect this question has already been asked. Apologies for not having taced it ... In the default pairs plot produces by the function pairs(), the coordinate scales

Re: [R] odds ratio per standard deviation

2013-06-12 Thread Ted Harding
of x and then apply it to whatever multiple of the unit you happen to be interested in as a change (along with the reasons for that interest). Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12-Jun-2013 Time: 17:14:00 This message was sent

Re: [R] Fwd: Your message to R-help awaits moderator approval

2013-06-01 Thread Ted Harding
message to R-help, one of the moderators will approve it (though quite possible not immediately). Hoping this helps, Ted (one of the moderators) - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-Jun-2013 Time: 20:11:00 This message was sent

Re: [R] Unexpected behavior of apply when FUN=sample

2013-05-14 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 14-May-2013 Time: 11:07:46 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Choice of statistical test (in R) of two apparently different distributions

2013-05-09 Thread Ted Harding
by a method which was prompted by looking at the data in the first place. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-May-2013 Time: 09:35:05 This message was sent by XFMail

[R] Decomposing a List

2013-04-25 Thread Ted Harding
: V1 = c(A1,A2,A3,...) V2 = c(B1,B2,B3,...) Suggestions? With thanks, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 25-Apr-2013 Time: 11:16:46 This message was sent by XFMail __ R-help@r

Re: [R] Decomposing a List

2013-04-25 Thread Ted Harding
Thanks, Jorge, that seems to work beautifully! (Now to try to understand why ... but that's for later). Ted. On 25-Apr-2013 10:21:29 Jorge I Velez wrote: Dear Dr. Harding, Try sapply(L, [, 1) sapply(L, [, 2) HTH, Jorge.- On Thu, Apr 25, 2013 at 8:16 PM, Ted Harding ted.hard

Re: [R] Subsetting a large number into smaller numbers and find the largest product

2013-04-18 Thread Ted Harding
... Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 18-Apr-2013 Time: 10:06:43 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] I don't understand the 'order' function

2013-04-16 Thread Ted Harding
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 16-Apr-2013 Time: 19:12:21 This message was sent by XFMail

Re: [R] %*%

2013-04-11 Thread Ted Harding
to either a row or column matrix to make the two arguments conformable. If both are vectors it will return the inner product (as a matrix). Usage: x %*% y [etc.] Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 11-Apr

Re: [R] rep() fails at times=0.29*100

2013-04-09 Thread Ted Harding
*100 == 29 # [1] FALSE we have: round(0.29*100) == 29 # [1] TRUE Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-Apr-2013 Time: 17:56:33 This message was sent by XFMail

[R] Console display buffer size

2013-04-01 Thread Ted Harding
empirically). With thanks, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-Apr-2013 Time: 21:37:17 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Console display buffer size

2013-04-01 Thread Ted Harding
On 01-Apr-2013 21:26:07 Robert Baer wrote: On 4/1/2013 4:08 PM, Peter Ehlers wrote: On 2013-04-01 13:37, Ted Harding wrote: Greetings All. This is a somewhat generic query (I'm really asking on behalf of a friend who uses R on Windows, whereas I'm on Linux, but the same phenomenon appears

Re: [R] prop.test correct true and false gives same answer

2013-03-27 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 27-Mar-2013 Time: 21:21:39 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] edit.data() read-only?

2013-03-26 Thread Ted Harding
function which could offer similar viewing capability without the risk of data change? With thanks, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 26-Mar-2013 Time: 10:08:58 This message was sent by XFMail

Re: [R] edit.data() read-only?

2013-03-26 Thread Ted Harding
Rowlingson wrote: On Tue, Mar 26, 2013 at 10:09 AM, Ted Harding ted.hard...@wlandres.net wrote: Greetings All. The function edit.data() allows a convenient spreadsheet-like view of a dataframe with too many rows/columns to fit on the screen (especially when there are many columns). Very useful when

Re: [R] edit.data() read-only?

2013-03-26 Thread Ted Harding
[mailto:r-help-boun...@r-project.org] On Behalf Of Ted Harding Sent: Dienstag, 26. März 2013 11:09 To: r-help@r-project.org Subject: [R] edit.data() read-only? Greetings All. The function edit.data() allows a convenient spreadsheet-like view of a dataframe with too many rows/columns to fit

Re: [R] order statistic of multivariate normal

2013-03-22 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 22-Mar-2013 Time: 13:31:31 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] Random Sample with constraints

2013-03-03 Thread Ted Harding
at least a second moment, hence excluding, for example, the Cauchy distribution). That's about as far as one can go with your question! Hoping it helps, howevr. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 03-Mar-2013 Time: 17:12:50

Re: [R] arithmetic and logical operators

2013-01-30 Thread Ted Harding
^0.5 # [1] 1.490116e-08 .Machine$double.eps # [1] 2.220446e-16 (0.1 + 0.05) - 0.15 # [1] 2.775558e-17 Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 30-Jan-2013 Time: 23:22:53 This message was sent by XFMail

Re: [R] Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large

2013-01-27 Thread Ted Harding
on the head! (Maybe area2 = 325 was a typo?). Best wishes to all, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 28-Jan-2013 Time: 00:09:32 This message was sent by XFMail __ R-help@r-project.org

Re: [R] t-test behavior given that the null hypothesis is true

2013-01-09 Thread Ted Harding
this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-Jan-2013 Time: 10:29:21 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] t-test behavior given that the null hypothesis is true

2013-01-09 Thread Ted Harding
is this one: *http://tinyurl.com/histogram-rt-pvalues-pdf * *all the best idaios * On Wed, Jan 9, 2013 at 12:29 PM, Ted Harding ted.hard...@wlandres.netwrote: On 09-Jan-2013 08:50:46 Pavlos Pavlidis wrote: Dear all, I observer a strange behavior of the pvalues of the t-test under the null

Re: [R] Regression line does not show on scatterplot

2012-12-18 Thread Ted Harding
) abline(lm3) Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 18-Dec-2012 Time: 21:00:25 This message was sent by XFMail __ R-help@r-project.org mailing list https

Re: [R] Regression line does not show on scatterplot

2012-12-18 Thread Ted Harding
Sorry, I made a mistake in re-writing your code below. See at [***] On 18-Dec-2012 21:00:28 Ted Harding wrote: On 18-Dec-2012 20:09:36 Beatriz González Domínguez wrote: Hello, I have done a scatterplot and now would like to add its regression line but it does not show. Below, the code I

Re: [R] discrepancy in fisher exact test between R and wiki formula

2012-12-03 Thread Ted Harding
are based on the probabilities of the tables, and take as 'more extreme' all tables with probabilities less than or equal to that of the observed table, the p-value being the sum of such probabilities. I hope this helps. Ted. - E-Mail: (Ted Harding

Re: [R] Chi-squared test when observed near expected

2012-12-03 Thread Ted Harding
: (Ted Harding) ted.hard...@wlandres.net Date: 03-Dec-2012 Time: 22:44:14 This message was sent by XFMail __ 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

Re: [R] Getting all possible contingency tables

2012-12-02 Thread Ted Harding
curve is plotted at the mid-points of the cells. Hence, try something like: hist(Sample_ChiSq, freq = FALSE, breaks=0.5*(0:40)) x0 - 0.25+0.5*(0:20) lines(x0,dchisq(x0,1)) Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date

  1   2   3   4   5   6   7   8   9   10   >