Re: [R] problem with the precision of numbers

2010-01-19 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Jan-10 Time: 18:41:27 -- XFMail

Re: [R] problem with the precision of numbers

2010-01-19 Thread Ted Harding
On 19-Jan-10 18:48:47, Gabor Grothendieck wrote: On Tue, Jan 19, 2010 at 1:41 PM, Ted Harding ted.hard...@manchester.ac.uk wrote: On 19-Jan-10 17:55:43, Ben Bolker wrote: kayj kjaja27 at yahoo.com writes: Hi All, I was wodering if it is possible to increase the precision using R. I ran

Re: [R] advice/opinion on - vs = in teaching R

2010-01-15 Thread Ted Harding
On 15-Jan-10 08:14:04, Barry Rowlingson wrote: On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding ted.hard...@manchester.ac.ukwrote: There is at least one context where the distinction must be preserved. Example: pnorm(1.5) # [1] 0.9331928 pnorm(x=1.5) # Error in pnorm(x = 1.5) : unused

Re: [R] advice/opinion on - vs = in teaching R

2010-01-15 Thread Ted Harding
On 15-Jan-10 09:29:16, Deepayan Sarkar wrote: On Fri, Jan 15, 2010 at 2:38 PM, Ted Harding ted.hard...@manchester.ac.uk wrote: On 15-Jan-10 08:14:04, Barry Rowlingson wrote: On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding ted.hard...@manchester.ac.ukwrote: There is at least one context where

Re: [R] To add text in a matrix

2010-01-14 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-Jan-10 Time: 11:55:22 -- XFMail -- __ R-help@r-project.org

Re: [R] advice/opinion on - vs = in teaching R

2010-01-14 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 15-Jan-10 Time: 06:57:16 -- XFMail -- __ R

Re: [R] Conditional Sampling

2010-01-12 Thread Ted Harding
(Y,5,replace=FALSE) x # [1] 43 50 18 27 21 83 5 20 32 34 ## (as before) y # [1] 14 70 4 66 96## (as before) Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0

Re: [R] Conditional Sampling

2010-01-12 Thread Ted Harding
is obtained without replacement, however). I hope this is getting close! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 12-Jan-10 Time: 14:34

Re: [R] how to handle missing values . when importing data in

2010-01-12 Thread Ted Harding
[is.na(D)] - 0 D # 1 1.1 1.2 1.3 1.4 # 2 2.1 2.2 0.0 2.4 # 3 3.1 0.0 3.3 3.4 # 4 4.1 0.0 0.0 4.4 Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 12-Jan-10

Re: [R] Newbie question on precision

2010-01-08 Thread Ted Harding
be packages which can work to greater precision, but I have to leave it to others to describe them (if any). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Jan-10

Re: [R] Strange behaviour of as.integer()

2010-01-08 Thread Ted Harding
[0,1]). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Jan-10 Time: 18:13:41 -- XFMail

Re: [R] A better way to Rank Data that considers ties

2010-01-08 Thread Ted Harding
# Jim 43 # David61 Maybe this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Jan-10 Time: 21:53:21

Re: [R] Extract p-value from linear model

2010-01-07 Thread Ted Harding
2.1661 3.599 0.00699 ** # b-0.6230 0.4279 -1.456 0.18351 # --- summary(lm(a~b))$coef[,4] # (Intercept) b # 0.006992306 0.183511560 Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk

Re: [R] How to not to terminate read.table if the input file is

2010-01-01 Thread Ted Harding
. The result would not be NULL, but can be tested for zero rows. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 01-Jan-10 Time

Re: [R] Effect of na.omit()

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

Re: [R] Why do histogram bars vary their width?

2009-12-26 Thread Ted Harding
of breaks) histogram(~X | F, breaks=10) # Explicit specification of break-points: histogram(~X | F, breaks=0.5*(-6:6)) Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date

[R] Is there a problem with lattice axes?

2009-12-26 Thread Ted Harding
. R version 2.10.0 (2009-10-26) lattice version: 0.17-26 (2009/10/05) Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 26-Dec-09 Time: 20:07

Re: [R] Is there a problem with lattice axes?

2009-12-26 Thread Ted Harding
] On 26-Dec-09 20:38:28, Dennis Murphy wrote: scales = free, perhaps? On Sat, Dec 26, 2009 at 12:07 PM, Ted Harding ted.hard...@manchester.ac.ukwrote: After answering a previous post by James Rome: Re: [R] Why do histogram bars vary their width? I noticed that the lateral axis scales

Re: [R] Is there a problem with lattice axes?

2009-12-26 Thread Ted Harding
, so in that case the percentages were the same as the counts, and hence not diagnostic. The proper solution (giving rise to the outcome A: which I describe at the end) is to use type=count. Apologies for the noise! Ted. On 26-Dec-09 22:03:48, Ted Harding wrote: Thanks, Dennis, that does

Re: [R] String question

2009-12-23 Thread Ted Harding
as a value, which could be assigned to a variable. If there were such a way, that would be a very smooth solution! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 23-Dec-09

Re: [R] String question

2009-12-23 Thread Ted Harding
postings. I think that solves it for Knut! Ted. 2009/12/23 Ted Harding ted.hard...@manchester.ac.uk: On 23-Dec-09 11:08:02, Knut Krueger wrote: Jim Lemon schrieb: Not as easy as I thought it would be, but: mlist-as.list(paste(m,1:sample(5:10,1),sep=)) do.call(paste,c(mlist,sep=,)) Hi Jim, yes

Re: [R] Problem with Cannot compute correct p-values with ties

2009-12-23 Thread Ted Harding
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 23-Dec-09 Time: 18:14:03 -- XFMail -- __ R-help@r

Re: [R] expand.grid game

2009-12-21 Thread Ted Harding
what I'm after is some kind of C or C++ macro expansion, because the number of loops should not be hard coded. Thanks for any tips you may have! Best regards, baptiste E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax

Re: [R] expand.grid game

2009-12-21 Thread Ted Harding
OOPS!! See correction below! On 21-Dec-09 08:45:13, Ted Harding wrote: I wonder whether this answers Baptiste's question as asked. 1: An 8-digit number can have some digits equal to 0; see Baptiste's comment maxi - 9 # digits from 0 to 9 2: According to the man-page fror blockparts

Re: [R] Plot odds ratios on log scale

2009-12-21 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 21-Dec-09 Time: 22:13:40 -- XFMail -- __ R

Re: [R] insert a dot to the numbers

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

Re: [R] Random numbers for a group

2009-12-15 Thread Ted Harding
-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 15-Dec-09 Time: 13:57:50 -- XFMail

Re: [R] Plotting frequency curve over histogram

2009-12-09 Thread Ted Harding
, where dx is the width of the bin. The total sample size being N, the expected count for that bin is N*dnorm((x1 - m)/s)*dx. With this explanation, the above should now be clear! Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] length of a density curve (or any curve)

2009-12-04 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: 04-Dec-09 Time: 13:02:27

Re: [R] Normal tests disagree?

2009-12-02 Thread Ted Harding
from the Null Hypothesis. See also Uwe Ligges's remarks ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 02-Dec-09 Time: 11:53:22

Re: [R] Replying to Posts Within Same Thread

2009-12-02 Thread Ted Harding
this option is not available. -- Charlotte Maia http://sites.google.com/site/maiagx/home E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 02-Dec-09

Re: [R] Histogram and Density on the the same graph

2009-11-30 Thread Ted Harding
explanation. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 30-Nov-09 Time: 11:27:49 -- XFMail

Re: [R] Histogram and Density on the the same graph

2009-11-30 Thread Ted Harding
(density(y),xlim=c(-30,120),ylim=c(0,0.015)) hist(y,freq=FALSE,add=TRUE) Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 30-Nov-09

Re: [R] extract coordinates from contour lines

2009-11-28 Thread Ted Harding
for! Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Nov-09 Time: 22:15:09 -- XFMail

Re: [R] Concave hull

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

Re: [R] Concave hull

2009-11-26 Thread Ted Harding
On 26-Nov-09 21:11:02, baptiste auguie wrote: 2009/11/26 Ted Harding ted.hard...@manchester.ac.uk: Raising a rather general question here. This is a tantalising discussion, but the notion of concave hull strikes me as extremely ill-defined! I'd like to see statement of what

[R] contour(): lines labels in different colours?

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

Re: [R] contour(): lines labels in different colours?

2009-11-22 Thread Ted Harding
] vecspaces(1:10) [1] [8] -- David Duncan Murdoch Cheers, Peter (Ted Harding) wrote: Greetings, All! I want to draw contour lines in red, using contour(), but also have

[R] PLoS, Arial, R linux

2009-11-19 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Nov-09 Time: 11:00:15 -- XFMail

Re: [R] PLoS, Arial, R linux

2009-11-19 Thread Ted Harding
On 19-Nov-09 11:52:57, Deepayan Sarkar wrote: On Thu, Nov 19, 2009 at 4:30 PM, Ted Harding ted.hard...@manchester.ac.uk wrote: Greetings All. According to the PLoS (Public Library of Science) Guidelines for Figure preparation, if a figure is submitted as EPS rather than TIFF then Figure text

[R] [Follow-up] Re: PLoS, Arial, R linux

2009-11-19 Thread Ted Harding
See Addendum at end. On 19-Nov-09 12:17:54, Ted Harding wrote: On 19-Nov-09 11:52:57, Deepayan Sarkar wrote: On Thu, Nov 19, 2009 at 4:30 PM, Ted Harding ted.hard...@manchester.ac.uk wrote: Greetings All. According to the PLoS (Public Library of Science) Guidelines for Figure preparation

Re: [R] One basic question - combining two conditions

2009-11-17 Thread Ted Harding
because the first line was a complete statement). Putting the else in the same line as the if means that R knows it is there before executing the if. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870

Re: [R] Basic question on nominal data

2009-11-17 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 17-Nov-09 Time: 23:26:25 -- XFMail -- __ R

Re: [R] Odp: ^ operator

2009-11-16 Thread Ted Harding
, but I hope the above helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 16-Nov-09 Time: 12:55:25 -- XFMail

Re: [R] Odp: ^ operator

2009-11-16 Thread Ted Harding
On 16-Nov-09 13:13:27, Liviu Andronic wrote: On 11/16/09, Ted Harding ted.hard...@manchester.ac.uk wrote: Not in this case (see below), though of course in general - takes precedence over ^, so, for example, in the expression -2^(1/3) the - is applied first, giving (-2

Re: [R] fitting a logistic regression with mixed type of variabl

2009-11-16 Thread Ted Harding
to proceed in such a case! Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 16-Nov-09 Time: 20:14:52

[R] R installer can't find math.h, stdio.h

2009-11-11 Thread Ted Harding
got lost! Any advice welcome! With thanks, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 11-Nov-09 Time: 14:42:21

Re: [R] a bug with Student t-value??

2009-11-07 Thread Ted Harding
(0.975,9) # [1] 2.262157 The second value agrees with your table. Many printed tables give the two-sided values, rather than the one-sided. Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email

Re: [R] Enrolling to R help mailing list

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

Re: [R] underflow of fisher.test result

2009-11-04 Thread Ted Harding
On 01-Nov-09 20:23:30, Peng Yu wrote: On Tue, Oct 20, 2009 at 8:14 AM, Ted Harding ted.hard...@manchester.ac.uk wrote: On 20-Oct-09 13:34:49, Peng Yu wrote: fisher.test() gives a very small p-value, which is underflow on my machine. However, the log of it should not be underflow. I'm

Re: [R] splitting scientific names into genus, species, and sub

2009-11-04 Thread Ted Harding
speciesAA no.subspecies 3 # 3 genusC speciesAAA subspeciesA 2 # 4 genusC speciesAAA subspeciesB 4 Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 04

Re: [R] splitting scientific names into genus, species, and sub

2009-11-04 Thread Ted Harding
speciesAAA subspeciesB25 Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 04-Nov-09 Time: 21:47:29 -- XFMail

Re: [R] splitting scientific names into genus, species, and sub

2009-11-04 Thread Ted Harding
OPPS^2!! Did it again. The version given below now does seem to work properly: last line now changed (yet again) to A$Count - as.numeric(levels(A$Count)[unclass(A$Count)]) On 04-Nov-09 21:47:32, Ted Harding wrote: OOPS! Sorry, I made an oversight in the code I posted just now (and I didn't

Re: [R] Sandard deviation calculation

2009-10-26 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 26-Oct-09 Time: 14:28:38 -- XFMail

Re: [R] NULL elements in lists ... a nightmare

2009-10-25 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 25-Oct-09 Time: 09:30:45 -- XFMail -- __ R-help@r

Re: [R] NULL elements in lists ... a nightmare

2009-10-25 Thread Ted Harding
[Apologies -- I inadvertently omitted an example, essential for clarity, from the examples below. Now corrected.] On 25-Oct-09 09:30:51, Ted Harding wrote: On 25-Oct-09 09:52:42, Patrick Burns wrote: 'The R Inferno' page 59. Patrick Burns patr...@burns-stat.com +44 (0)20 8525 0696 http

Re: [R] dev.copy(postscript,...) generates a disrupted string

2009-10-24 Thread Ted Harding
this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 24-Oct-09 Time: 21:53:23 -- XFMail

[R] contour() contourLines()

2009-10-22 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 22-Oct-09 Time: 19:03:37 -- XFMail -- __ R-help@r-project.org

[R] Simple extraction of level,x,y from contourLines()

2009-10-22 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 22-Oct-09 Time: 19:57:09 -- XFMail -- __ R-help@r-project.org

Re: [R] contour() contourLines()

2009-10-22 Thread Ted Harding
hunch is correct. Cheers, Peter Ehlers (Ted Harding) wrote: Hi Folks, I have been using contour() to produce some contour plots (of a spatially-smooted density produced by kde2d()), with very satisfactory results. I now want access to the coordinates of the points on the contours

Re: [R] Simple extraction of level,x,y from contourLines()

2009-10-22 Thread Ted Harding
On 22-Oct-09 19:03:06, Duncan Murdoch wrote: On 22/10/2009 2:57 PM, (Ted Harding) wrote: A follow-up to my previous query. Say one of the results returned by contourLines() is C.W - contourLines() Then C.W is a list of (in this case 28) lists, each of which is a list

Re: [R] underflow of fisher.test result

2009-10-20 Thread Ted Harding
the question: Why the interest in having the value of such a very small number? Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Oct-09 Time: 15:14:26

Re: [R] generalization of tabulate()

2009-10-17 Thread Ted Harding
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 Fax-to-email: +44 (0)870 094 0861

Re: [R] Frequencies, proportions cumulative proportions

2009-10-16 Thread Ted Harding
- function(X){ Table - data.frame( table(X) ) Table$Prop - prop.table( Table$Freq ) Table$CumProp - cumsum( Table$Prop ) Table } myTable - mkMyTable(Score) Hoping this helps! Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] Linear Regression Question

2009-10-14 Thread Ted Harding
it in fact works, it is not a good idea to use a function name (sum) as the name of a variable.] Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-Oct-09

Re: [R] Nelder-Mead with output of simplex vertices

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

[R] Nelder-Mead with output of simplex vertices

2009-10-10 Thread Ted Harding
-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 10-Oct-09 Time: 22:26:16 -- XFMail -- __ R-help@r-project.org mailing list

Re: [R] lm output

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

Re: [R] lm output

2009-10-09 Thread Ted Harding
-contained, reproducible code. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 09-Oct-09 Time: 23:00:09 -- XFMail

Re: [R] Rounding error in seq(...)

2009-09-30 Thread Ted Harding
do wonder just what is going on then things do not seem to match up as expected! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 30-Sep-09 Time

Re: [R] How can I avoid a for-loop through sapply or lapply ?

2009-09-29 Thread Ted Harding
-7a MIMAT062 Homo sapiens let-7a, hsa-let-7b MIMAT063 Homo sapiens let-7b, hsa-let-7c MIMAT064 Homo sapiens let-7c) sub( .*,,Strings) # [1] hsa-let-7a hsa-let-7b hsa-let-7c Ted. E-Mail: (Ted Harding

Re: [R] Scaling data

2009-09-28 Thread Ted Harding
with identical results if applied to Y - as.data.frame(X) Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Sep-09 Time: 11:11:23

Re: [R] probability density function for maximum values in repea

2009-09-28 Thread Ted Harding
. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-Sep-09 Time: 13:45:49 -- XFMail

Re: [R] logarithmic seq() ?

2009-09-21 Thread Ted Harding
proposal! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 21-Sep-09 Time: 20:32:22 -- XFMail

Re: [R] Linear Model NA Value Test

2009-09-21 Thread Ted Harding
, withing the domain of logical values, x == y could be either TRUE or FALSE and we don't know which, so it could be anything in that domain. Hence x == y returns NA. That's logical ... Ted. E-Mail: (Ted Harding) ted.hard

Re: [R] How to avoid copy-paste when copying code from this list

2009-09-19 Thread Ted Harding
?). The best way would be to able to send this straight from your e-mail reader into R (e.g. from gmail). -Johannes E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Sep-09

Re: [R] How to avoid copy-paste when copying code from this list

2009-09-19 Thread Ted Harding
) the format I describe is clearly enough distinguished. Ted. 2009/9/19 Ted Harding ted.hard...@manchester.ac.uk: On 19-Sep-09 08:00:18, Cedrick W. Johnson wrote: At least in windows, if you right click directly in the r console, there's a command for 'Paste commands only' which may be one solution

Re: [R] How to avoid copy-paste when copying code from this list

2009-09-19 Thread Ted Harding
], count[ix])) 8 3976.7 10 3955 12 3972.8 13 3961 15 4008 17 3981.2 20 4029.5 23 3848.3 27 3936.7 But, most of the time, it should just work. Thanks for the tip. One for my .Rprofile, I think! Ted. On Sat, Sep 19, 2009 at 5:46 AM, Ted Harding ted.hard...@manchester.ac.uk wrote: On 19-Sep

Re: [R] Turning points in a series

2009-09-17 Thread Ted Harding
=17, i=21(maybe). Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 17-Sep-09 Time: 09:47:53

Re: [R] Grouped Logistic (Or conditional Logistic.)

2009-09-17 Thread Ted Harding
of the kind you seem to be proposing would certainly not be realistic! I would be happier thinking about your problem in the context of a different kind of example ... Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax

Re: [R] A matrix problem

2009-09-16 Thread Ted Harding
such as tiger -- try it! You would still get the warning, and this time there might even be some point to it ... ). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 16-Sep-09

Re: [R] Generalized cumsum?

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

Re: [R] acf gives correlations 1

2009-09-14 Thread Ted Harding
] - mu)) / length(ind) / sig2 [1] 1.280317 HTH Cheers, Berwin E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-Sep-09 Time: 18:20:53

[R] Plea: No long unbroken lines, please!

2009-09-14 Thread Ted Harding
? In that way, it could resume its rightful place in one's own email inbox. (This is not the first time I have wished for this). Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 14-Sep-09

Re: [R] Plea: No long unbroken lines, please!

2009-09-14 Thread Ted Harding
On 14-Sep-09 22:30:12, Duncan Murdoch wrote: On 14/09/2009 4:32 PM, Liviu Andronic wrote: Hello On 9/14/09, Ted Harding ted.hard...@manchester.ac.uk wrote: This has been sent by software which inserted no line-breaks. As a result, each paragraph is viewed (by my browser, Firefox) as one

Re: [R] Brand new To R

2009-09-13 Thread Ted Harding
! Hoping this helps. Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 13-Sep-09 Time: 19:59:58 -- XFMail

[R] ountour resolution

2009-09-13 Thread Ted Harding
Help and Archive Search at http://finzi.psych.upenn.edu, searching on contour, but nothing has leapt obviously to the eye amongst the 494 hits. With thanks, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44

Re: [R] Best R text editors?

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

Re: [R] Best R text editors?

2009-09-11 Thread Ted Harding
On 11-Sep-09 14:16:44, Clint Bowman wrote: On Fri, 11 Sep 2009, Duncan Murdoch wrote: On 11/09/2009 6:53 AM, (Ted Harding) wrote: On 11-Sep-09 10:41:21, Jim Lemon wrote: On 09/11/2009 05:15 PM, Patrick Connolly wrote: ... |and in previous versions, you could always do M-x cua

Re: [R] Best R text editors?

2009-09-11 Thread Ted Harding
On 11-Sep-09 21:02:06, Patrick Connolly wrote: On Fri, 11-Sep-2009 at 03:46PM +0100, Ted Harding wrote: [] | Well, not really!! My point (and certainly Charles Curran's point) | is that in touch-typing you know by proprioception and | neuromuscular coordination where your fingers

Re: [R] eps file with embedded font

2009-09-09 Thread Ted Harding
these files are imported into a PS document using 'groff', the blanking problem described at the end of my included orifginal posting (below) persisted. So I posted a summary of the problem to the 'groff' mailing-list. This can be found in the thread [Groff] EPS importing problem, Ted Harding, 2009

[R] [OT] _ inserted in postings

2009-09-08 Thread Ted Harding
to substitution of _ for on the ,art of the mailer. What do others think? Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Sep-09 Time: 10

Re: [R] [OT] _ inserted in postings

2009-09-08 Thread Ted Harding
On 08-Sep-09 10:40:18, Duncan Murdoch wrote: On 08/09/2009 6:09 AM, (Ted Harding) wrote: Sorry if this is too OT, but there is a particular relevance to postings to R-help. Of recent times, I have received several postings via R-help (and some other mailing-lists) in which the _ character

Re: [R] Data separated by spaces, getting data into R using fiel

2009-09-08 Thread Ted Harding
it. Otherwise no-one will be able to get past the above! Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Sep-09 Time: 14:03:12

Re: [R] sparse vectors

2009-09-08 Thread Ted Harding
) AplusB # $index # [1] 3e+00 2e+01 3e+01 1e+08 # $val # [1] 0.1 2.2 3.4 4.4 Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 08-Sep-09

Re: [R] Data separated by spaces, getting data into R using fiel

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

Re: [R] Data separated by spaces, getting data into R using fiel

2009-09-08 Thread Ted Harding
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: 08-Sep-09

Re: [R] How Does One Use the Value of Density Function?

2009-09-07 Thread Ted Harding
)/ (pnorm(2.0201,2,.24) - pnorm(2.0199,2,.24)) # = -2.873419e-08 Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 07-Sep-09 Time: 10:14

Re: [R] eps file with embedded font

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

Re: [R] 0 x 0 matrix

2009-09-05 Thread Ted Harding
)==1) ) X - as.matrix(x) diwish(X) } (This may not be optimal, but it gives the idea). Hoping this helps, Ted. E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 05-Sep-09

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