Re: [R] Getting all possible contingency tables

2012-12-01 Thread Ted Harding
not reject the independence), and for each such table I want to calculate the Ch-sq statistic. Can somebody help me how to generate all such tables? Thanks and regards, - E-Mail: (Ted Harding

Re: [R] protentially serious R error

2012-12-01 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: 01-Dec

Re: [R] protentially serious R error

2012-11-30 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 30-Nov-2012 Time: 23:26:41 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] I don't know the difference between rank and order

2012-11-21 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 21-Nov-2012 Time: 08:13:23 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] Djjlölkjhfyn kb noknkkkkokljjyikkk hyjjjjjkjjjjkjkkpooololåååååååååååååååääääkkuiivjkoööklopipållällnbbbn mml ömmmm

2012-11-11 Thread Ted Harding
...@gmail.com A fortunate reply!!! Skål! Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 11-Nov-2012 Time: 18:00:55 This message was sent by XFMail __ R-help@r-project.org mailing list https

Re: [R] standard error for quantile

2012-10-31 Thread Ted Harding
[see in-line below] On 31-Oct-2012 10:26:14 PIKAL Petr wrote: Hi Ted -Original Message- From: ted@deb [mailto:ted@deb] On Behalf Of Ted Harding Sent: Tuesday, October 30, 2012 6:41 PM To: r-help@r-project.org snip The general asymptotic result for the pth quantile (0p1) X.p

Re: [R] standard error for quantile

2012-10-30 Thread Ted Harding
ordered sample, though there is only a restricted set of confidence levels to which it applies. If you'd like more detail about the above, I could write up derivations and make the write-up available. Hoping this helps, Ted. - E-Mail: (Ted Harding

Re: [R] Help on probability distribution question

2012-10-11 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 11-Oct-2012 Time: 18:51:47 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

Re: [R] Help on probability distribution question

2012-10-11 Thread Ted Harding
(I made a slip with the mulstivariate case below: see at [***]) On 11-Oct-2012 17:51:51 Ted Harding wrote: On 11-Oct-2012 17:22:44 Andras Farkas wrote: Dear All, I have a questions I would like to ask about and wonder if you have any thoughts to make it work in R. 1. I work in the field

Re: [R] Can anyone help why the errors are coming and rectify it?

2012-09-17 Thread Ted Harding
that the extra } has been omitted too). Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-Sep-2012 Time: 12:29:46 This message was sent by XFMail __ R-help@r-project.org mailing list

Re: [R] Post by non-member to a members-only list

2012-09-16 Thread Ted Harding
to set your R-help delivery options for one of them to non-delivery, so that you only get R-help postings once). Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 16-Sep-2012 Time: 09:34:58 This message was sent

Re: [R] create new variable with ifelse? (reproducible example)

2012-09-15 Thread Ted Harding
(4,5) # [1] TRUE NA %in% c(3,4) # [1] FALSE so all is well! Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 15-Sep-2012 Time: 23:02:14 This message was sent by XFMail

[R] Vectorial analogue of all.equal()?

2012-09-01 Thread Ted Harding
, and return a vector of TRUE/FALSE according to the values in X. Or, indeed, perhaps I am overlooking something. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-Sep-2012 Time: 14:48:01 This message was sent by XFMail

Re: [R] Vectorial analogue of all.equal()?

2012-09-01 Thread Ted Harding
) y[2] - x[2] equals(x, y) [1] FALSE TRUE FALSE FALSE FALSE Warning message: In x - y : longer object length is not a multiple of shorter object length Hope this helps, Rui Barradas Em 01-09-2012 14:48, (Ted Harding) escreveu: Greetings All. Once again, I am probably missing something

Re: [R] Writing Faroes lettsers in text and plot ?

2012-08-04 Thread Ted Harding
://r.789695.n4.nabble.com/Writing-Faroes-lettsers-in-text-and-plot-tp4639 074.html Sent from the R help mailing list archive at Nabble.com. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 04-Aug-2012 Time: 15:41:39 This message was sent

Re: [R] Printing contents of a variable

2012-08-03 Thread Ted Harding
(), cat(), or the like. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 03-Aug-2012 Time: 22:24:08 This message was sent by XFMail __ R-help@r-project.org mailing list https

[R] Turning off continuation prompt?

2012-07-30 Thread Ted Harding
this for commands extending over, say, 15-20 lines). With thanks, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 30-Jul-2012 Time: 09:58:02 This message was sent by XFMail __ R-help@r-project.org mailing

Re: [R] selecting a subset of files to be processed

2012-07-28 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: 28-Jul-2012 Time: 19:32:26 This message was sent by XFMail

[R] RGB components of plot() colours

2012-07-10 Thread Ted Harding
orange1: 1 0.6471 0 rgb However, this is a tedious way of finding out! With thanks, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 10-Jul-2012 Time: 14:05:15 This message was sent by XFMail

Re: [R] a fortune?

2012-07-09 Thread Ted Harding
by William B. King, PhD, Coastal Carolina University (http://ww2.coastal.edu/kingw/statistics/R-tutorials). Might this be appropriate for fortunes? Nice! Added to the devel version on R-Forge. Z Spencer - E-Mail: (Ted Harding

Re: [R] a fortune?

2012-07-08 Thread Ted Harding
.coastal.edu/kingw/statistics/R-tutorials). Might this be appropriate for fortunes? Nice! Added to the devel version on R-Forge. Z Spencer - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 08-Jul-2012 Time: 21:07:05

Re: [R] number of decimal places in a number?

2012-07-07 Thread Ted Harding
this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 07-Jul-2012 Time: 11:04:26 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] number of decimal places in a number?

2012-07-07 Thread Ted Harding
of characters of which is counted by nchar() See ?regex for details Cheers, Josh On Sat, Jul 7, 2012 at 3:04 AM, Ted Harding ted.hard...@wlandres.net wrote: On 07-Jul-2012 08:52:35 Martin Ivanov wrote: Dear R users, I need a function that gets a number and returns its number

Re: [R] (1-1e-100)==1 true?

2012-06-18 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 19-Jun-2012 Time: 00:07:11 This message was sent by XFMail __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] how to delete a matrix column

2012-06-17 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-Jun-2012 Time: 20:58:01 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] How to label certain values on a curve?

2012-06-06 Thread Ted Harding
choose the point and know the exact value of this point simultaneously? I appreciate your suggestions and advice! Thanks a lot! Wendy - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 06-Jun-2012 Time: 22:25:14 This message was sent

Re: [R] Wilcoxon-Mann-Whitney U value: outcomes from different stat packages

2012-05-31 Thread Ted Harding
: (Ted Harding) ted.hard...@wlandres.net Date: 01-Jun-2012 Time: 00:05:40 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] Histograms with bin proportions on the y-axis

2012-05-20 Thread Ted Harding
?postscript to find out what the various (and many .. ) options are. Hoping this helps to get you started! Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 20-May-2012 Time: 22:27:13 This message was sent by XFMail

Re: [R] solve the equation in R

2012-05-17 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 17-May-2012 Time: 23:27:09 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

Re: [R] commenting out a block of R code

2012-05-07 Thread Ted Harding
commented, minimal, self-contained, reproducible code. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 07-May-2012 Time: 08:27:10 This message was sent by XFMail __ R-help@r-project.org mailing list

Re: [R] Data frame vs matrix quirk: Hinky error message?

2012-05-01 Thread Ted Harding
on Bert's naive gounds (which, I confess, I also share[d]). Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-May-2012 Time: 19:03:14 This message was sent by XFMail __ R-help@r-project.org

Re: [R] Define lower-upper bound for parameters in Optim using Nelder-Mead method

2012-05-01 Thread Ted Harding
will very happily bounce off high walls of this kind, and if the minimum of the function is at the wall will happily converge as close to it as you please. Hoping this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 01-May-2012 Time: 22

Re: [R] A little exercise in R!

2012-04-14 Thread Ted Harding
, (Ted Harding) wrote: Greetings all! A recent news item got me thinking that a problem stated therein could provide a teasing little exercise in R programming. http://www.bbc.co.uk/news/uk-england-cambridgeshire-17680326 _ Cambridge University hosts first European 'maths Olympiad

[R] A little exercise in R!

2012-04-13 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 13-Apr-2012 Time: 22:33:43 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] R-help; generating censored data

2012-04-11 Thread Ted Harding
-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 11-Apr-2012 Time: 23:23:36 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] How to remove $ (Dollar sign) from string

2012-04-10 Thread Ted Harding
sub($,,ABC$DEF) do sub($,+,ABC$DEF) # [1] ABC$DEF+ Therefore $ needs to be escaped, so you have to use \; but since \ is itself a metacharacter you have to escape that too, hence \\$. Hoping this hrelps, Ted. - E-Mail: (Ted Harding

Re: [R] Shapiro-Wilk cpoefficients: 2 Qs

2012-04-05 Thread Ted Harding
[See at end] On 05-Apr-2012 00:34:30 Peter Ehlers wrote: Hi Ted, On 2012-04-04 15:06, Ted Harding wrote: Greetings! I want to have the coefficients that R uses in shapiro.test() for the Shapiro-Wilk test for a prticular sample size, i.e. the a[i] in W = Sum(a[i]*x[i])/(Sum(x[i] - mean

[R] Shapiro-Wilk cpoefficients: 2 Qs

2012-04-04 Thread Ted Harding
: (Ted Harding) ted.hard...@wlandres.net Date: 04-Apr-2012 Time: 23:06:32 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] simple matrix calculation

2012-03-28 Thread Ted Harding
A23*b1 + A24*b2 This generalises immediately to your 9x9 and a 3-vector. Setting up the matrices S and BB should be straightforward (and once done can be applied to any matrix A). Does this help? - E-Mail: (Ted Harding) ted.hard...@wlandres.net

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-21 Thread Ted Harding
://tolstoy.newcastle.edu.au/R/ (the old R Site Help and Archive Search at http://finzi.psych.upenn.edu/ is no longer of much use). - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 21-Mar-2012 Time: 15:35:00 This message was sent by XFMail

Re: [R] a very simple question

2012-03-19 Thread Ted Harding
numbers, avoiding the imprecision resulting from conversion to binary (but may exhibit similar problems to the above for binary input). Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 19-Mar-2012 Time: 15:02:03 This message was sent

Re: [R] Unexpected input in function

2012-03-19 Thread Ted Harding
would be greatly appreciated. Thanks, Jack -- Sarah Goslee http://www.functionaldiversity.org - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 19-Mar-2012 Time: 20:56:04 This message was sent by XFMail

Re: [R] Generation of correlated variables

2012-03-15 Thread Ted Harding
a possible situation; but then this does not achieve you goal (which is impossible) but a different one, whose relationship with your question may or may not suit what you hope to achieve. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 15

Re: [R] if statement

2012-03-07 Thread Ted Harding
this _0 0 1 2 3 4 Can anybody help me? Thanks Val -- Sarah Goslee http://www.functionaldiversity.org - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 07-Mar-2012 Time: 19:46:05 This message was sent by XFMail

Re: [R] Call the Standard Error and t-test probability in linear regression

2012-03-02 Thread Ted Harding
to coef), and so summary(lm.r)$coef[2,4] will give you the P-value for conc, and summary(lm.r)$coef[2,2] will give the SE of the estimate of conc. And so on. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 02-Mar-2012 Time: 13:09:03

[R] Finding name of variable supplied as function argument

2012-02-25 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 25-Feb-2012 Time: 19:53:49 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] Finding name of variable supplied as function argument

2012-02-25 Thread Ted Harding
[See in-line below] On 25-Feb-2012 ilai wrote: On Sat, Feb 25, 2012 at 12:53 PM, Ted Harding ted.hard...@wlandres.net wrote: I have defined a function med3x3() such that, given vectors X,Y, med3x3(X,Y) returns a 3x3 table ... But I'd like to simply be able to pick up, within the function

Re: [R] FW: NaN from function

2012-02-23 Thread Ted Harding
suspect you meant to write if (length(table(x))1) and if (length(table(x)))==1) since this distinguishes between two more more different values (length(table(x)) 1) and all equal values (length(table(x)) == 1). Ted. - E-Mail: (Ted Harding

Re: [R] I'm sure I'm missing something with formatC() or sprintf()

2012-02-23 Thread Ted Harding
in C's printf() and related functions). Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 23-Feb-2012 Time: 19:58:22 This message was sent by XFMail __ R-help@r-project.org mailing list https

Re: [R] Sorting strings

2012-02-20 Thread Ted Harding
LC_COLLATE setting (i.e. the change takes effect only within the execution of that sort() command). Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 20-Feb-2012 Time: 17:16:47 This message was sent by XFMail

Re: [R] Column wise matrix multiplication

2012-02-20 Thread Ted Harding
(t(rowProds(A))) # [,1] # [1,]6 # [2,] 14 # [3,] 24 # [4,] 36 # [5,] 50 Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 20-Feb-2012 Time: 17:54:13 This message was sent by XFMail

Re: [R] Column wise matrix multiplication

2012-02-20 Thread Ted Harding
[See at end] On 20-Feb-2012 Ted Harding wrote: On 20-Feb-2012 Graziano Mirata wrote: Hi all, I am trying to multiply each column of a matrix such to have a unique resulting vector with length equal to the number of rows of the original matrix. In short I would like to do what prod

Re: [R] Wilcoxon test p value with one decimal place

2012-02-16 Thread Ted Harding
be possible to display the result as 0.1, say, but there is no point! If you do wilcox.test(a,b, alternative=less) then you will get 0.05 as P-value -- again exactly right. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 16-Feb

Re: [R] finding and describing missing data runs in a time series

2012-02-13 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 13-Feb-2012 Time: 08:51:19 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

Re: [R] for loop

2012-02-13 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: 13-Feb-2012 Time: 19:12:47 This message was sent by XFMail

Re: [R] plotting dates, incorrectly scaled x-axis?

2012-02-12 Thread Ted Harding
to choose the 27th, in which case life may get a little more complicated! Hopiung this helps, Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 12-Feb-2012 Time: 11:15:43 This message was sent by XFMail

Re: [R] plotting dates, incorrectly scaled x-axis?

2012-02-12 Thread Ted Harding
On 12-Feb-2012 Ted Harding wrote: On 12-Feb-2012 Christof Kluß wrote: Hi, I want to plot with axis.Date(), but something is scaled incorrectly. The red vertical line in is put on a totally wrong position. (sample below) Do you have an idea what I'm doing wrong? Thx Christof x11

Re: [R] generate a random number with rexp ?

2012-01-27 Thread Ted Harding
. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 27-Jan-2012 Time: 11:48: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

Re: [R] Logrithmic histogram?

2012-01-23 Thread Ted Harding
(H$breaks)) ## So how does that look to you? If that works satisfactorily, it is easy to encapsulate it in a function. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 23-Jan-2012 Time: 09:08:02 This message was sent by XFMail

Re: [R] What does the : operator mean in glm formulas

2012-01-19 Thread Ted Harding
*second' indicates the _cross_ of 'first' and 'second'. This is the same as 'first + second + first:second'. Ted. - E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 19-Jan-2012 Time: 13:37:23 This message was sent by XFMail

Re: [R] ?any

2012-01-08 Thread Ted Harding
. -- E-Mail: (Ted Harding) ted.hard...@wlandres.net Date: 09-Jan-2012 Time: 01:28:24 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] higher derivatives using deriv

2012-01-03 Thread Ted Harding
^9 # attr(.value, gradient) - .grad # .value # }) i.e. the first derivative 10*(x^9) as before. So you are indeed obliged to define a recursive function for higher-order derivatives. Hoping this helps, Ted. -- E-Mail: (Ted Harding) ted.hard

Re: [R] adding hyperlinked text to pdf plot

2011-12-05 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 05-Dec-11 Time: 18:58:53 -- XFMail -- __ R

Re: [R] x, y for point of intersection

2011-11-22 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 22-Nov-11 Time: 22:49:54 -- XFMail -- __ R-help@r

Re: [R] Permutations

2011-11-19 Thread Ted Harding
doing these sorts of large number calculations before asking for the accurate calculation of huge numbers. Michael On Fri, Nov 18, 2011 at 4:31 PM, Ted Harding ted.hard...@wlandres.net wrote: On 18-Nov-11 16:03:44, Gyanendra Pokharel wrote: Hi all, why factorial(150) shows the error out

Re: [R] Permutations

2011-11-18 Thread Ted Harding
.Machine$double.neg.eps # [1] 1.110223e-16 Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 18-Nov-11 Time: 21:31:04

Re: [R] arrow egdes and lty

2011-11-14 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 14-Nov-11 Time: 10:39:32 -- XFMail

Re: [R] To moderator

2011-11-13 Thread Ted Harding
E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 13-Nov-11 Time: 17:23:07 -- XFMail -- __ R-help@r

Re: [R] To moderator

2011-11-13 Thread Ted Harding
-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 13-Nov-11 Time: 17:38:12 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] Predicting x from y

2011-11-11 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 11-Nov-11 Time: 21:15:57 -- XFMail -- __ R-help

Re: [R] Predicting x from y

2011-11-11 Thread Ted Harding
Follow-up: See at end. On 11-Nov-11 21:16:02, Ted Harding wrote: On 11-Nov-11 14:51:19, Schreiber, Stefan wrote: Dear list members, I have just a quick question: I fitted a non-linear model y=a/x+b to describe my data (x=temperature and y=damage in %) and it works really nicely (see

Re: [R] Interpreting Multiple Linear Regression Summary

2011-11-09 Thread Ted Harding
remain to get a meaningful fit, you will be OK (though interpretation may be dubious). Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 09-Nov-11 Time

Re: [R] Sampling with conditions

2011-11-08 Thread Ted Harding
'prob'. Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 08-Nov-11 Time: 08:13:36 -- XFMail

Re: [R] rearrange set of items randomly

2011-11-08 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 08-Nov-11 Time: 08:59:35 -- XFMail -- __ R-help@r

Re: [R] rearrange set of items randomly

2011-11-08 Thread Ted Harding
On 08-Nov-11 08:59:38, Ted Harding wrote: On 08-Nov-11 07:46:15, flokke wrote: Sorry, but I dont think that I get what you mean (I am a quite new user though) I hae a data file of a sample, so I cannot use random numbers, the only thing I want to do is to randomly reassign the order

Re: [R] Sampling with conditions

2011-11-07 Thread Ted Harding
:10) equal chances of being in the sample. For unequal chances, vary 'prob'. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 08-Nov-11

Re: [R] Sampling with conditions

2011-11-07 Thread Ted Harding
[Correction below (I was writing too late at night ... ] On 08-Nov-11 00:25:57, Ted Harding wrote: On 07-Nov-11 22:22:54, SarahJoyes wrote: Hey everyone, I am at best, an amateur user of R, but I am stuck on how to set-up the following situation. I am trying to select a random sample

Re: [R] Request for Help: remove zero in fraction from tick labe

2011-11-06 Thread Ted Harding
, you will need to know the full ranges of the axes in order to get the labels right). Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 06-Nov-11

Re: [R] 2 x 3 Probability under the null

2011-10-27 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 27-Oct-11 Time: 07:32:30 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] Plot unusual subset of data

2011-10-24 Thread Ted Harding
suggestions? -- Noah Silverman I would suggest something on the lines of: ix - which(Seg[1013:1046] 0) lines((1013:1046)[ix], Seg[1013:1046][ix], col=2) Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax

Re: [R] symmetric matrix multiplication

2011-10-23 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 23-Oct-11 Time: 08:43:18 -- XFMail -- __ R-help@r-project.org

[R] FW: Re: symmetric matrix multiplication

2011-10-23 Thread Ted Harding
Just to avoid possible confusion, let me correct a typo (at step [2] in the example below). Apologies! -FW: xfmail.111023084327.ted.hard...@wlandres.net- Date: Sun, 23 Oct 2011 08:43:27 +0100 (BST) Sender: r-help-boun...@r-project.org From: (Ted Harding) ted.hard...@wlandres.net To: r

Re: [R] Exponential fit of form y=exp(a*x) and not of form y=l*e

2011-10-23 Thread Ted Harding
) is not a good argument! Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 23-Oct-11 Time: 21:22:53

Re: [R] round() and negative digits

2011-10-09 Thread Ted Harding
On 09-Oct-11 00:46:58, Carl Witthoft wrote: On 10/8/11 6:11 PM, (Ted Harding) wrote: Carl Witthoft's serendipitous discovery is a nice example of how secrets can be guessed by wondering what if ... ?. So probably you don;t need to tell the secrets. Taking the negative digits

Re: [R] round() and negative digits

2011-10-08 Thread Ted Harding
which is what you'd logically expect (but is it what you would intuitively expect?). Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 08-Oct-11

Re: [R] extracting p-values in scientific notation

2011-10-03 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 03-Oct-11 Time: 10:05:50 -- XFMail -- __ R-help@r

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ted Harding
to solve that memory problem. Thank you very much for your answers, all the best! Ulisses E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 21-Sep-11

Re: [R] Limitations of audio processing in R

2011-09-21 Thread Ted Harding
sure R spills into if it hasn't reached it's internal limits on 32 bit installations). Windows pagefile is kind of obnoxious. Ken Hutchison On Sep 21, 2554 BE, at 5:05 PM, (Ted Harding)ted.hard...@wlandres.net wrote: Hi Ulisses! Yes, get more creative -- or get more memory

Re: [R] help in interpreting paired t-test

2011-09-20 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 20-Sep-11 Time: 19:15:47 -- XFMail

Re: [R] help in interpreting paired t-test

2011-09-20 Thread Ted Harding
. On 20-Sep-11 18:15:50, Ted Harding wrote: As can be seen by plotting as follows: plot(A,B,pch=+,col=blue) ## The raw data plot(A,B-A,pch=+,col=blue) ## The differences versus A lines(c(0,0.7),c(0,0)) Ted. On 20-Sep-11 17:54:15, Timothy Bates wrote: Yes, in over 3/4s of the data

Re: [R] question about glm vs. loglin()

2011-09-17 Thread Ted Harding
to the unscrambling of nicely cooked summary statistics handed to you on a plate ... Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 17-Sep-11 Time

Re: [R] Get previous R digest volumes/issues

2011-09-10 Thread Ted Harding
at the end of what is already there, as there should be). I believe Windows has provision for importing MBOX files. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 10

Re: [R] prcomp: results with reversed sign in output?

2011-09-09 Thread Ted Harding
http://intamap.geo.uu.nl/~paul http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770 E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 09-Sep-11 Time: 11:04

[R] Classifying values by interval

2011-08-31 Thread Ted Harding
)]. With thanks, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 31-Aug-11 Time: 09:00:27 -- XFMail

Re: [R] Classifying values by interval

2011-08-31 Thread Ted Harding
Thanks, Dimitris. That looks hopeful! Ted. On 31-Aug-11 08:06:23, Dimitris Rizopoulos wrote: Probably you're looking for function findInterval(). I hope it helps. Best, Dimitris On 8/31/2011 10:00 AM, Ted Harding wrote: Greetings All! As is often the case on this list, the answer may

Re: [R] Classifying values by interval

2011-08-31 Thread Ted Harding
On 31-Aug-11 08:25:15, Jim Lemon wrote: On 08/31/2011 06:00 PM, Ted Harding wrote: Greetings All! As is often the case on this list, the answer may well be under my nose but I can't see it! I am looking for a smart way to do the following. Say I have a vector of values, X. I set up bins

Re: [R] Surprising behaviour of fisher.test

2011-08-29 Thread Ted Harding
) is not a surprise. I am, therefore wondering if you really observed any pval 1? Did you confuse pvale == 1 with pval 1 in your posting? If you really did get any pval 1, how many did you get? Ted. E-Mail: (Ted Harding

Re: [R] Fractional component of a number

2011-08-28 Thread Ted Harding
as.integer(-2 + 2e-14) # [1] -1 as.integer(-2 - 2e-14) # [1] -2 so it is doing what it says on the box. Yes, you are better using round()! Hoping this helps to clear it up, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net

Re: [R] -log10 of 0

2011-08-28 Thread Ted Harding
will be a number rather than an expression, the first set of results is probably more relevant to your case. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 28-Aug-11

Re: [R] Correlation discrepancy

2011-08-23 Thread Ted Harding
, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 23-Aug-11 Time: 12:38:36 -- XFMail

<    1   2   3   4   5   6   7   8   9   10   >