Re: [R] 0 x 0 matrix

2009-09-04 Thread Ted Harding
-conformable arrays c+M # Error in c + M : non-conformable arrays So what would you want to use the [1,1]-matrix scalars for, that cannot be done just using them as numbers? Ted. E-Mail: (Ted Harding) ted.hard

[R] Function for all 2^N subsets of N

2009-09-01 Thread Ted Harding
... (This is prompted by the recent OT discussion on HT vs. HH, to which I want to respond later). With thanks, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 01-Sep-09

Re: [R] Function for all 2^N subsets of N

2009-09-01 Thread Ted Harding
... (This is prompted by the recent OT discussion on HT vs. HH, to which I want to respond later). With thanks, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 01-Sep-09

Re: [R] Offtopic, HT vs. HH in coin flips

2009-09-01 Thread Ted Harding
9 10 111213 #HHcounts12358 13 21 34 5589 144 Lo and Behold, we have a Fibonnaci sequence! Another exercise for the reader ... Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] Google style

2009-09-01 Thread Ted Harding
are not dead yet). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 01-Sep-09 Time: 11:37:52 -- XFMail

Re: [R] Bootstrap inference for the sample median?

2009-08-31 Thread Ted Harding
]) to the other [(3,10)]! Or you could choose one of them at random ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 31-Aug-09 Time: 12:05:40

Re: [R] write file to date-stamped folder

2009-08-31 Thread Ted Harding
: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 31-Aug-09 Time: 14:42:51 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] Google's R Style Guide

2009-08-29 Thread Ted Harding
it depends on what it is, and on how readily I find I can read it. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 29-Aug-09 Time: 19:26:51

Re: [R] breaking multi-modal histograms down into combinations o

2009-08-28 Thread Ted Harding
You may want to look at http://finzi.psych.upenn.edu/R/library/mclust/html/00Index.html (Model-Based Clustering / Normal Mixture Modeling). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094

Re: [R] Google's R Style Guide

2009-08-28 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Aug-09 Time: 14:21:58 -- XFMail -- __ R-help@r-project.org

Re: [R] Statistical question about logistic regression simulatio

2009-08-26 Thread Ted Harding
this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 26-Aug-09 Time: 16:03:49 -- XFMail

Re: [R] robust method to obtain a correlation coeff?

2009-08-24 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 24-Aug-09 Time: 16:26:53 -- XFMail -- __ R-help

Re: [R] unix like commands in R?

2009-08-24 Thread Ted Harding
This was an improvement on a previous solution of my own, which is also quoted in the above URL. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 24-Aug-09

Re: [R] A matrix calculation

2009-08-23 Thread Ted Harding
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...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date

Re: [R] Help on comparing two matrices

2009-08-22 Thread Ted Harding
, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 22-Aug-09 Time: 22:24:49 -- XFMail

Re: [R] Special LS estimation problem

2009-08-21 Thread Ted Harding
or longitudinal model, with 4 observations per subject, and correlated error within-subject. But you really need to spell out more detail of the kind of model you are seeking to fit. What you described is not enough! Ted. E-Mail: (Ted

Re: [R] Special LS estimation problem

2009-08-21 Thread Ted Harding
-subject. But you really need to spell out more detail of the kind of model you are seeking to fit. What you described is not enough! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094

Re: [R] PowerCut Killed R - is my code retrievable?

2009-08-19 Thread Ted Harding
, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Aug-09 Time: 00:21:42 -- XFMail

Re: [R] Adding logical vectors

2009-08-13 Thread Ted Harding
result. (I hope I've got this right)! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 13-Aug-09 Time: 20:50:51

Re: [R] lm coefficients output confusing

2009-08-13 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 13-Aug-09 Time: 22:53:22 -- XFMail

Re: [R] Random sampling while keeping distribution of nearest ne

2009-08-12 Thread Ted Harding
- (0:(N-L)) Y - 1 + (V-A) + sample(M,1) I think this does it! E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 12-Aug-09 Time: 23:49:22

Re: [R] matrix power

2009-08-10 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 10-Aug-09 Time: 22:53:25 -- XFMail

Re: [R] matrix power

2009-08-10 Thread Ted Harding
linearly independent set (or possibly find the principal components with nozero weights). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 10-Aug-09

Re: [R] How '.' is used?

2009-08-09 Thread Ted Harding
So, unless there is something I don't know about, there is hardly anything to discuss about the detailed usage of '.' in R! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug

Re: [R] How '.' is used?

2009-08-09 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-09 Time: 19:58:32 -- XFMail

Re: [R] How '.' is used?

2009-08-09 Thread Ted Harding
On 09-Aug-09 19:31:47, Duncan Murdoch wrote: (Ted Harding) wrote: [...] Next -- and this is the real question -- how does R parse the name summary.glm? In my naivety, I simply suppose that it looks for an available function whose name is summary.glm in just the same way as it looks

Re: [R] Seeing negative numbers to zero

2009-08-07 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Aug-09 Time: 22:59:42 -- XFMail

Re: [R] Strange column shifting with read.table

2009-08-02 Thread Ted Harding
# 2.1,2.2,2.3 # 3.1,3.2,3.3 Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 02-Aug-09 Time: 22:35:04

Re: [R] Tests for Two Independent Samples

2009-07-31 Thread Ted Harding
-squared test with simulated p-value # (based on 1e+05 replicates) # data: M # X-squared = 11.7862, df = NA, p-value = 0.01501 So the P-values are similar in both tests. (Another) Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] string

2009-07-31 Thread Ted Harding
: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 31-Jul-09 Time: 23:31:17 -- XFMail -- __ R-help@r-project.org mailing list https

Re: [R] How to do poisson distribution test like this?

2009-07-29 Thread Ted Harding
out in a few cases ([12], [13], [17]). The puzzle clearly qrose in the first place becaue the authors reported their Expected Numbers as integers, not fractions! Well, well, well! Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] How to do poisson distribution test like this?

2009-07-29 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 29-Jul-09 Time: 12:43:26 -- XFMail

Re: [R] How to do poisson distribution test like this?

2009-07-28 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Jul-09 Time: 11:42:08 -- XFMail -- __ R-help@r-project.org

Re: [R] check for new files in a given directory

2009-07-28 Thread Ted Harding
-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Jul-09 Time: 12:24:42 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] check for new files in a given directory

2009-07-28 Thread Ted Harding
only if 'recursive = FALSE'. Surely the latter is the wrong way round, and should be Directories are included only if 'recursive = TRUE'. (that's how it worked when I just tried it). Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] Looking for example of usage of function unz

2009-07-28 Thread Ted Harding
in Linux), find out what the files in it are called. But once you have got that far, you may prefer to handle the .zip file outside of R ... Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax

Re: [R] check for new files in a given directory

2009-07-28 Thread Ted Harding
! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Jul-09 Time: 15:24:09 -- XFMail

Re: [R] help

2009-07-28 Thread Ted Harding
,par3,par4,par5)) # SD # [1,] 1.0 5.200 # [2,] 1.5 9.425 # [3,] 2.0 15.100 # [4,] 2.5 22.225 # [5,] 3.0 30.800 Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0

Re: [R] error message: .Random.seed is not an integer vector but

2009-07-23 Thread Ted Harding
... And, while I'm at it, your x=as.vector(c(1:12)) is overkill! Simply x - (1:12) ; sample(x,3) should be enough, or even sample((1:12),3) since (1:12) is a vector (of integers). Hoping this helps, Ted. E-Mail: (Ted Harding

Re: [R] error message: .Random.seed is not an integer vector but

2009-07-23 Thread Ted Harding
.Random.seed was lost, so you have to create it again. If, after the above, you still get the problem, then something is very seriously wrong. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date

Re: [R] Random # generator accuracy

2009-07-23 Thread Ted Harding
in the sample is 3 - 1.046218 = 1.953782 and their ratio 1.953782/1.046218 = 1.867471 Compare this with the value 1.867351 (above) obtained by simulation! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870

Re: [R] Random # generator accuracy

2009-07-23 Thread Ted Harding
. Sorry. Ted. On 23-Jul-09 20:05:09, Ted Harding wrote: On 23-Jul-09 17:59:56, Jim Bouldin wrote: Dan Nordlund wrote: It would be necessary to see the code for your 'brief test' before anyone could meaningfully comment on your results. But your results for a single test could have been a valid

Re: [R] Random # generator accuracy

2009-07-23 Thread Ted Harding
the expected number of weight=2 in the sample is 3 - 1.046218 = 1.953782 and their ratio 1.953782/1.046218 = 1.867471 Compare this with the value 1.867351 (above) obtained by simulation! Ted. E-Mail: (Ted Harding

Re: [R] Random # generator accuracy

2009-07-23 Thread Ted Harding
a nice selection of ways to draw PPS samples without replacement. -thomas Thanks, Thomas. There is of course also the package 'pps'. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861

Re: [R] Correction.

2009-07-21 Thread Ted Harding
: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 21-Jul-09 Time: 10:41:38 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] Zinb for Non-interger data

2009-07-19 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Jul-09 Time: 12:25:39 -- XFMail -- __ R-help@r

Re: [R] (-8)^(1/3) == NaN?

2009-07-18 Thread Ted Harding
number)^(1/(odd integer)) then you are better off modifying the logic of your program so as to ensure the result you want. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861

Re: [R] Package norm has been removed. What to use for Maximum L

2009-07-17 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 17-Jul-09 Time: 13:38:23 -- XFMail

Re: [R] Package norm has been removed. What to use for Maximum L

2009-07-17 Thread Ted Harding
Follow-up: On 17-Jul-09 12:38:27, Ted Harding wrote: On a point of information: The licence in question: License: The software may be distributed free of charge and used by anyone if credit is given. It has been tested fairly well, but it comes with no guarantees

Re: [R] Package norm has been removed. What to use for Maximum L

2009-07-17 Thread Ted Harding
On 17-Jul-09 13:01:46, Gabor Grothendieck wrote: On Fri, Jul 17, 2009 at 8:54 AM, Ted Hardingted.hard...@manchester.ac.uk wrote: Follow-up: On 17-Jul-09 12:38:27, Ted Harding wrote: On a point of information: The licence in question: License: The software may be distributed free of charge

Re: [R] Help with Conditional Logit

2009-07-16 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 16-Jul-09 Time: 20:54:18 -- XFMail -- __ R-help@r

Re: [R] predictive punishment module (was: Re: Simple cat statem

2009-07-15 Thread Ted Harding
we know ... :( Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 15-Jul-09 Time: 16:21:53 -- XFMail

Re: [R] mann-whitney U-test - U-value

2009-07-11 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 11-Jul-09 Time: 20:04:40 -- XFMail -- __ R-help@r

Re: [R] linear regression and testing the slope

2009-07-08 Thread Ted Harding
is not proof that the null hypothesis is true. There is a good basic outline of the t-test in the Wikipedia article Student's t-test: http://en.wikipedia.org/wiki/Student%27s_t-test Hoping this helps, Ted. E-Mail: (Ted Harding

Re: [R] Uncorrelated random vectors

2009-07-07 Thread Ted Harding
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jul-09 Time: 16:48:06 -- XFMail -- __ R-help@r

Re: [R] Test for X=1 fails, test for 0 works, data in text file

2009-07-07 Thread Ted Harding
and provide commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jul-09 Time: 20:28:44

Re: [R] r-project.org address blacklisted by anti-spam software

2009-07-07 Thread Ted Harding
and, last but not least: http://www.ft.com/cms/s/7880e774-99f1-11dc-ad70-779fd2ac.html E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Jul-09

Re: [R] Hartigan's Dip test

2009-07-06 Thread Ted Harding
://finzi.psych.upenn.edu/R/library/diptest/html/qDiptab.html Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 06-Jul-09 Time: 13:50:25

Re: [R] Computer Modern

2009-07-02 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 02-Jul-09 Time: 11:59:29 -- XFMail -- __ R-help@r-project.org

Re: [R] (no subject)^2

2009-07-02 Thread Ted Harding
(Ret.csv) you will have a dataframe with 1 column, namely a list with one element. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 02-Jul-09 Time

Re: [R] Name of data.frame as a text string?

2009-07-02 Thread Ted Harding
of DataFrs - c(My1stDF, My2ndDFD, My3rdDF, My4thDF) for( datafr in DataFrs ) { {stuff like the above} } Several variants of this kind of approach are possible! Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] fitting in logistic model

2009-06-30 Thread Ted Harding
and Fit0. max(abs(Fit1 - exp(S0)/(1+exp(S0 # [1] 1.110223e-16 the same again!! Hence, if I have understood him aright, Fabrizio's question. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk

Re: [R] How do I change which R Graphics Device is active?

2009-06-30 Thread Ted Harding
didn't *I* think of that? category). Cheers, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 30-Jun-09 Time: 18:33:40

Re: [R] fitting in logistic model

2009-06-30 Thread Ted Harding
On 30-Jun-09 17:41:20, Marc Schwartz wrote: On Jun 30, 2009, at 10:44 AM, Ted Harding wrote: On 30-Jun-09 14:52:20, Marc Schwartz wrote: On Jun 30, 2009, at 4:54 AM, Renzi Fabrizio wrote: I would like to know how R computes the probability of an event in a logistic model (P(y=1)) from

Re: [R] read.csv, header=TRUE but skip the first line

2009-06-28 Thread Ted Harding
the lines in the file. Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Jun-09 Time: 22:37:46

Re: [R] ANOVA with means and SDs as input

2009-06-25 Thread Ted Harding
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 25-Jun-09 Time: 11:51:38 -- XFMail

Re: [R] How to draw a line in plot when I know the start point(x

2009-06-25 Thread Ted Harding
with any additional paramaters to lines() for line-type, colour, etc. -- I do this all the time ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 25-Jun-09

Re: [R] How to change ONLY the first character of each variable

2009-06-18 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Jun-09 Time: 00:46:40 -- XFMail -- __ R-help@r-project.org

Re: [R] a proposal regarding documentation

2009-06-14 Thread Ted Harding
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-Jun-09

Re: [R] Issues getting R to write image files

2009-06-11 Thread Ted Harding
on what sort of structure z is, for instance. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 11-Jun-09 Time: 10:43:51

Re: [R] Postcript font size

2009-06-11 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 11-Jun-09 Time: 23:47:59 -- XFMail

Re: [R] ridiculous behaviour printing to eps: labels all messed

2009-06-08 Thread Ted Harding
was GNU groff (with the 'pic' preprocessor to create the figures). But that's just me. Dinosaurs do not easily digest organisms more recently evolved ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44

Re: [R] Re flect Back to Back Histograms in x-axis?

2009-06-08 Thread Ted Harding
). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Jun-09 Time: 15:50:48 -- XFMail

Re: [R] Journal Articles that Have Used R

2009-06-07 Thread Ted Harding
and provide commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Jun-09 Time: 12:37:34

Re: [R] Journal Articles that Have Used R

2009-06-07 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...@manchester.ac.uk

Re: [R] Journal Articles that Have Used R

2009-06-07 Thread Ted Harding
On 07-Jun-09 14:01:14, Ted Harding wrote: I think the reason Google will not find it is that, in the Journal website, the R files (and the names of the article directories that might contain them, such as journal.sjdm.org/8210/ -- see below) are not directly pointed to by any index.html or any

Re: [R] Journal Articles that Have Used R

2009-06-06 Thread Ted Harding
+Computing (158,000 hits of which, on briefly scanning through the first 40, about half seem to be hournal articles; draw you own conclusions). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094

Re: [R] contrasts

2009-06-03 Thread Ted Harding
derive the variance-covariance matrix (and hence the SEs) of your derived contrasts. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 03-Jun-09

Re: [R] strange behavior when reading csv - line wraps

2009-05-31 Thread Ted Harding
commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 31-May-09 Time: 16:24:27

Re: [R] strange behavior when reading csv - line wraps

2009-05-30 Thread Ted Harding
, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 30-May-09 Time: 21:15:13 -- XFMail

Re: [R] Regular point pattern on multi-segment line

2009-05-29 Thread Ted Harding
this should work (not tested in detail)! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 29-May-09 Time: 13:14:27

Re: [R] question about using a remote system

2009-05-28 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-May-09 Time: 07:33:09 -- XFMail

Re: [R] how do I get to be a member?

2009-05-27 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 27-May-09 Time: 20:35:02 -- XFMail

Re: [R] Animal Morphology: Deriving Classification Equation with

2009-05-24 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 24-May-09 Time: 20:07:43 -- XFMail -- __ R-help@r-project.org

Re: [R] [correction] Animal Morphology: Deriving Classification Equation with

2009-05-24 Thread Ted Harding
[Apologies -- I made an error (see at [***] near the end)] On 24-May-09 19:07:46, Ted Harding wrote: [Your data and output listings removed. For comments, see at end] On 24-May-09 13:01:26, cdm wrote: Fellow R Users: I'm not extremely familiar with lda or R programming, but a recent

Re: [R] Animal Morphology: Deriving Classification Equation with

2009-05-24 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 24-May-09 Time: 20:07:43 -- XFMail

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Ted Harding
to operate beyond the limits of precision of R, and so will need to re-cast your question in alternative terms which will yield an adequately precise result. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax

Re: [R] Product of 1 - probabilities

2009-05-21 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 21-May-09 Time: 16:39:16 -- XFMail

Re: [R] Loop avoidance and logical subscripts

2009-05-21 Thread Ted Harding
() it to the elements (which are the separate character strings) of data$sequences (which is presumably a vector of character strings). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 21-May-09

Re: [R] postscript problems (landscape orientation)

2009-05-21 Thread Ted Harding
) from the PostScript file. The only reason for going through postscript is if you want to use psfrag -- or psnup and/or psbook or ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861

Re: [R] round function seems to produce maximum 2 decimals

2009-05-20 Thread Ted Harding
=4) # [1] 2345.167 round(h,digits=3) # [1] 2345.167 round(h,digits=2) # [1] 2345.17 Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-May-09

Re: [R] what is wrong with this code?

2009-05-19 Thread Ted Harding
are 1 short of what is required to complete the expression in the line beginning -(n/theta). In that case, R will continue on to the next line seeking the completion, and will encounter d2logl non-syntactically. Ted. E-Mail: (Ted

Re: [R] Concatenating two vectors into one

2009-05-18 Thread Ted Harding
' will attempt to perform a numerical multiplication. This cannot work for character vectors. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 18-May-09

[R] Output of binary representation

2009-05-17 Thread Ted Harding
suggestions, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 17-May-09 Time: 18:23:49 -- XFMail

Re: [R] Output of binary representation

2009-05-17 Thread Ted Harding
, + C= 1100, D= 1101, E= 1110, F= ) gsubfn([0-9A-F], binary.digits, 0X1.921FB54442D18P+1) [1] X0001.1001001110110101010001000110110100011000P+0001 On Sun, May 17, 2009 at 1:23 PM, Ted Harding ted.hard...@manchester.ac.uk wrote: I am interested in studying

Re: [R] Output of binary representation

2009-05-17 Thread Ted Harding
(pi,raw(),endian='big') Ted. On 17-May-09 20:04:58, jim holtman wrote: Are you looking for how the floating point is represented in the IEEE-754 format? If so, you can use writeBin: writeBin(pi,raw(),endian='big') [1] 40 09 21 fb 54 44 2d 18 On Sun, May 17, 2009 at 1:23 PM, Ted Harding

Re: [R] sprintf() question

2009-05-17 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 17-May-09 Time: 23:32:19 -- XFMail -- __ R-help@r

Re: [R] replace % with \%

2009-05-15 Thread Ted Harding
\% 4,25\% 5,50\% 6,75\% 7,100\% which, again, is what you wanted. Hoping this helops, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 15-May-09

Re: [R] Simulation

2009-05-14 Thread Ted Harding
(or?), but that's below the abstraction useful for the recipe purpose. But it does influence how you organise the subsequent garbage collection. :) Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0

Re: [R] specify the number of decimal numbers

2009-05-14 Thread Ted Harding
] 003.14159265358979312 So you can do pretty much what you want, in terms of output format. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-May-09

<    2   3   4   5   6   7   8   9   10   >