[R] [OT] Dispersion in French

2005-07-08 Thread Ted Harding
! Nevertheless, perhaps francophone statisticians will have a default interpretation of dispersion in such a context. With thanks for any help, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 08-Jul-05

Re: [R] missing data imputation

2005-07-09 Thread Ted Harding
On 08-Jul-05 Anders Schwartz Corr wrote: Dear R-help, I am trying to impute missing data for the first time using R. The norm package seems to work for me, but the missing values that it returns seem odd at times -- for example it returns negative values for a variable that should only be

Re: [R] missing data imputation

2005-07-09 Thread Ted Harding
On 09-Jul-05 Ted Harding wrote: On 08-Jul-05 Anders Schwartz Corr wrote: [...] ]...] Meanwhile, I will try to have a look at the dataset whose URL you give, and see if I have any more specific comments. Now that I look at the histograms of your 21 variables, I would not think of treating

Re: [R] Boxplot philosophy {was Boxplot in R}

2005-07-11 Thread Ted Harding
one, if that would be useful for the case in hand. Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 11-Jul-05 Time: 22:19:47

Re: [R] Boxplot philosophy {was Boxplot in R}

2005-07-12 Thread Ted Harding
-rnorm(1000,0,sqrt(26)) nomod-sqrt(12*26)*runif(1000) boxplot(data.frame(cbind(unimod,nomod,bimod))) Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 12-Jul-05

Re: [R] How to use the function plot as Matlab?

2005-07-13 Thread Ted Harding
) so as to include the entirety of each successive graph? Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Jul-05 Time: 09:12:34

Re: [R] How to use the function plot as Matlab

2005-07-13 Thread Ted Harding
. best wishes rksh On 13 Jul 2005, at 09:12, (Ted Harding) wrote: Although this is an over-worked query -- for which an answer, given that t=l has been specified, is to use plot(a,t=l,col=blue,ylim=c(0,10)) lines(b,t=l,col=red) there is a more interesting issue associated

Re: [R] cbind a list of matrices

2005-07-16 Thread Ted Harding
,] 1.2 1.4 1.6 [5,] 1.1 1.3 1.5 [6,] 1.2 1.4 1.6 If there's an exception under which the above does not work, I'd be interested to hear of it! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44

Re: [R] %03d in the pdf command

2005-07-23 Thread Ted Harding
this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 23-Jul-05 Time: 22:22:15 -- XFMail

Re: [R] HOW to Create Movies with R with repeated plot()?

2005-07-27 Thread Ted Harding
Software world. There are also several programs for non-Linux platforms. Sorry I can't help with suggestions for creating .avi files. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 27

Re: [R] two term exponential model

2005-08-09 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-05 Time: 08:34:06 -- XFMail

Re: [R] Digest reading is tedious

2005-08-09 Thread Ted Harding
wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 09-Aug-05 Time: 18:48:42 -- XFMail

Re: [R] queer data set

2005-08-15 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 16-Aug-05 Time: 00:45:49 -- XFMail

Re: [R] Conditional Matrices

2005-08-16 Thread Ted Harding
9 B[A==0]-NA B # [,1] [,2] [,3] # [1,]1 NA7 # [2,] NA58 # [3,]369 Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 16-Aug-05

Re: [R] Concurrence Matrix

2005-08-17 Thread Ted Harding
as though 1*outer(D,C,==) does what you want (and shows up that E[1,5] and E[1,6] seem to be wrong in your example, since D[1] = C[5] = 0 and D[1] = C[6] = 0). Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email

Re: [R] Warning when using 'prelim.mix' from the package 'mix'

2005-08-21 Thread Ted Harding
are categorical and use 'cat' instead. You have to make that choice yourself. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 21-Aug-05

Re: [R] priority of operators in the FOR ( ) statement

2005-08-23 Thread Ted Harding
On 23-Aug-05 Duncan Murdoch wrote: [...] ... in extreme cases, read the documentation. One for fortunes? Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 23-Aug-05

Re: [R] chisq.,test`

2005-08-26 Thread Ted Harding
: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 26-Aug-05 Time: 09:53:38 -- XFMail -- __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Multivariate Skew Normal distribution

2005-09-01 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 01-Sep-05 Time: 15:02:37 -- XFMail -- __ R-help

Re: [R] The Perils of PowerPoint

2005-09-02 Thread Ted Harding
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 03-Sep-05

Re: [R] help

2005-09-05 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 05-Sep-05 Time: 16:11:22 -- XFMail -- __ R-help

Re: [R] The Perils of PowerPoint

2005-09-06 Thread Ted Harding
for it. Thanks for reading so far! Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 06-Sep-05 Time: 14:29:26

Re: [R] fitting distributions with R

2005-09-06 Thread Ted Harding
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date

Re: [R] Prediction with multiple zeros in the dependent variable

2005-09-08 Thread Ted Harding
if you would respond to the comments above in terms of the real situation you are dealing with, so that we know what sort of thing we should be thinking about. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax

[R] Floating-point arithmetic

2005-09-13 Thread Ted Harding
that some of you may have been thinking of asking ... ). Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Sep-05 Time: 08:30:03

Re: [R] Floating-point arithmetic

2005-09-13 Thread Ted Harding
of these ;-) -thomas Except, perhaps, from people (like me) who had not read that FAQ -- and who knows what legions these may be? ;) Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Sep

Re: [R] Reading data from a serial port

2005-09-13 Thread Ted Harding
simply want to store a batch of lines for later processing, then set a (possibly large) number of lines to be read at a time. An so on. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094

Re: [R] Floating-point arithmetic

2005-09-13 Thread Ted Harding
On 13-Sep-05 Ted Harding wrote: [..] Except, perhaps, from people (like me) who had not read that FAQ -- and who knows what legions these may be? ;) Ted. Apologies that people may have received two copies of the above message. When I first sent it there was a bounce on the grounds

Re: [R] Reading data from a serial port

2005-09-13 Thread Ted Harding
On 13-Sep-05 vittorio wrote: Alle 21:26, martedì 13 settembre 2005, Ted Harding ha scritto: ... Have a look at ?scan. You will have to do several things which depend on your hardware setup, your operating system, the behaviour of your medical applicance

Re: [R] Reading data from a serial port

2005-09-14 Thread Ted Harding
-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 14-Sep-05 Time: 13:09:55 -- XFMail -- __ R-help@stat.math.ethz.ch mailing list https

Re: [R] column-binary data

2005-09-16 Thread Ted Harding
-order bit on top). If so, or if you precisely describe the binary format you have, then the above or similar should be easy to get into R. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094

Re: [R] column-binary data

2005-09-16 Thread Ted Harding
, I deconstruct my example below (see at end). On 9/16/05, Ted Harding [EMAIL PROTECTED] wrote: On 16-Sep-05 David Barron wrote: I have a number of datasets that are multipunch column-binary format. Does anyone have any advice on how to read this into R? Thanks. David Do you mean

Re: [R] distance to eye in persp()

2005-09-19 Thread Ted Harding
not got anything the wrong way round there!) Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 19-Sep-05 Time: 10:17:55

Re: [R] Teaching R - In front of the computer?

2005-09-19 Thread Ted Harding
one (or vice versa). They could also be running an editor session to write their own course notes. Anyway, there it is if you hadn't heard of it. Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email

Re: [R] Questions about R

2005-09-22 Thread Ted Harding
plot(v1) first! Good luck, and best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 22-Sep-05 Time: 11:04:30 -- XFMail

Re: [R] Automatic creation of file names

2005-09-22 Thread Ted Harding
-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 22-Sep-05 Time: 17:51:36 -- XFMail -- __ R-help@stat.math.ethz.ch mailing list https

Re: [R] regression methods for circular(?) data.

2005-09-26 Thread Ted Harding
they were a more helpful reply would be easier to formulate! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 26-Sep-05 Time: 15:56:48

Re: [R] regression methods for circular(?) data.

2005-09-26 Thread Ted Harding
? Is the scatter so large that the groups are not well separated? Might we have twice-wrapped data (i.e. original y 2)? In short, do your real data look like the data you sent us, and are they wrapped at 1.0? or what? With thanks, and best wishes, Ted. (Ted Harding) wrote: On 26-Sep-05 nwew wrote: Dear R

Re: [R] regression methods for circular(?) data.

2005-09-26 Thread Ted Harding
be useful. Just a suggestion. There may be, in some R package, a function which implements this approach in a better way. Over to the gurus at this point! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44

Re: [R] regression methods for circular(?) data.

2005-09-27 Thread Ted Harding
I retract the siggestion I proposed last night -- it was based on a bad hunch! Sorry for wasting time. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 27-Sep-05

Re: [R] Select varying LS digits in long numbers?

2005-09-29 Thread Ted Harding
# [1] 8 numbers%%(10^(12-d1)) # [1] 6999 7001 as desired! Thanks also to Patrick Burns and Jim Holtman for other suggestions based (in effect) on diff(range(numbers)). On 29-Sep-05 Ted Harding wrote: Hi Folks, I'm trying to find a neat solution to an apparently simple problem, but one

Re: [R] List Email Statistic

2005-09-30 Thread Ted Harding
or particular methodology or particular software. With best wishes, Ted. [Or should I sign as Emmanuel Lasker?] E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 30-Sep-05

Re: [R] Getting eps into Word documents.

2005-10-03 Thread Ted Harding
to get this dome. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 03-Oct-05 Time: 22:00:11 -- XFMail

Re: [R] keeping interaction terms

2005-10-08 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 08-Oct-05 Time: 14:14:48 -- XFMail

Re: [R] Can R functions be implented in Matlab

2005-10-12 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 12-Oct-05 Time: 23:55:45 -- XFMail

Re: [R] connection to X11 problem

2006-07-21 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 21-Jul-06 Time: 23:34:05 -- XFMail

Re: [R] Identifying peaks (or offsets) in a time series

2006-07-25 Thread Ted Harding
this, only you can say! Hoping that this helps! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 25-Jul-06 Time: 12:21:24

[R] Backquote in R syntax

2006-08-07 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 07-Aug-06 Time: 10:25:31 -- XFMail

Re: [R] How to reply to a thread if receiving R-help mails in di

2006-08-13 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Aug-06 Time: 15:21:09 -- XFMail -- __ R-help

[R] summary(lm ... conrasts=...)

2006-08-22 Thread Ted Harding
be useful to have it explicit. (Or is it intended simply as a reminder that one is using a particular system of contrasts?) Thanks, and best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861

Re: [R] how to constrast with factorial experiment

2006-08-24 Thread Ted Harding
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 24-Aug-06

Re: [R] Simulations in R during power failure

2006-08-27 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) [EMAIL PROTECTED] Fax-to-email

Re: [R] Tables with Graphical Representations

2006-09-01 Thread Ted Harding
a line (I'll send them privately to Sam anyway). Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 01-Sep-06 Time: 15:56:46

Re: [R] Tables with Graphical Representations

2006-09-02 Thread Ted Harding
are present at the same time. In summary: design of a graphic display is literally an art. What one display can reveal, another will conceal. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094

Re: [R] Test internet presence

2006-09-11 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 11-Sep-06 Time: 13:42:22 -- XFMail -- __ R-help

Re: [R] Test internet presence

2006-09-11 Thread Ted Harding
[Sorry -- errors due to mistyping especially at below. Corrected in the following lines.] On 11-Sep-06 Ted Harding wrote: On 11-Sep-06 Gregor Gorjanc wrote: It seems that 'internal' method was used (I use R 2.3.1 under Linux) as indicated in help page of download.file. I could use wget

Re: [R] Test internet presence

2006-09-12 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 12-Sep-06 Time: 01:28:15 -- XFMail -- __ R-help

Re: [R] acos(0.5) == pi/3 FALSE

2006-09-18 Thread Ted Harding
differ by more than a tolerance which by default is .Machine$double.eps but which can be set to something else if you wish. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 18-Sep-06

[R] logistic + neg binomial + ...

2006-09-22 Thread Ted Harding
the cumulative frailty ... ! Suggestions welcome! With thanks, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 22-Sep-06 Time: 20:25:12

Re: [R] logistic + neg binomial + ...

2006-09-23 Thread Ted Harding
into the model. I'll look futher into those suggestions. Thanks, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 23-Sep-06 Time: 12:23:44

Re: [R] logistic + neg binomial + ...

2006-09-23 Thread Ted Harding
On 22-Sep-06 Ted Harding wrote: I've just come across a kind of problem which leads me to wonder how to approach it in R. Basically, each a set of items is subjected to a series of impacts until it eventually fails. The force of each impact would depend on covariates X,Y say

Re: [R] Multiple imputation using mice with mean

2006-09-25 Thread Ted Harding
set is an uncertain comparison. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 25-Sep-06 Time: 15:33:59

Re: [R] A statement over multiple lines (i.e. the ... feature in

2006-10-05 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 05-Oct-06 Time: 09:18:51 -- XFMail

[R] Sum of Bernoullis with varying probabilities

2006-10-06 Thread Ted Harding
Declaration: I have been on to R Site Search. Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 06-Oct-06 Time: 20:29:02

Re: [R] Sum of Bernoullis with varying probabilities

2006-10-06 Thread Ted Harding
Many thanks for your comments, Deepayan; and I liked your recursive solution! Fun indeed. Just a comment (below) on one of your comments (the rest snipped). On 06-Oct-06 Deepayan Sarkar wrote: On 10/6/06, Ted Harding [EMAIL PROTECTED] wrote: Hi Folks, Given a series of n independent

Re: [R] random point in a circle centred in a geographical posit

2006-10-07 Thread Ted Harding
-result$y_rdm)^2)) result Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 07-Oct-06 Time: 09:53:43 -- XFMail

Re: [R] Sum of Bernoullis with varying probabilities

2006-10-07 Thread Ted Harding
below for reference. On 10/6/06, Ted Harding [EMAIL PROTECTED] wrote: Hi Folks, Given a series of n independent Bernoulli trials with outcomes Yi (i=1...n) and Prob[Yi = 1] = Pi, I want P = Prob[sum(Yi) = r] (r = 0,1,...,n) I can certainly find a way to do it: Let p be the vector c(P1

Re: [R] Sum of Bernoullis with varying probabilities

2006-10-08 Thread Ted Harding
)), inverse = TRUE)/5 On 10/7/06, Ted Harding [EMAIL PROTECTED] wrote: Hi again. I had suspected that doing the calculation by a convolution method might be both straightforward and efficient in R. I've now located convolve() (in 'base'!!), and have a solution using this function

Re: [R] Sum of Bernoullis with varying probabilities

2006-10-08 Thread Ted Harding
not seem to throw anything up. (Or maybe they just did it, and didn't think it worth saying anything about--but it's not really trivial). Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date

Re: [R] combinatorics

2006-10-13 Thread Ted Harding
of breath if the total number of items gets much above, say 10. Hoping this helps! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 13-Oct-06 Time: 17:40:20

RE: [R] Density Estimation

2004-09-15 Thread Ted Harding
for your data, but your description does not suggest that this is the case. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 167 1972 Date: 15-Sep-04 Time: 15

Re: [R] t test problem?

2004-09-22 Thread Ted Harding
tests for skewness, for normality, and for equality of variances. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 22-Sep-04

RE: [R] decompose a correlation matrix

2004-09-23 Thread Ted Harding
[lower.tri(C)]) [1] 2 3 4 5 6 7 See ?lower.tri Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 23-Sep-04 Time: 20:37:36

RE: AW: [R] How to improve the quality of curve/line plots?

2004-09-24 Thread Ted Harding
is that every image which is rendered on a device based on bit-mapping is necessarily dirty, even if optical trickery gives the opposite impression! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094

RE: [R] R 2.0.0 not suffisantly reliable to be be used

2004-10-11 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 11-Oct-04 Time: 08:48:43 -- XFMail

RE: [R] Maximum Likelihood :- Log likehoood function

2004-10-13 Thread Ted Harding
as an extra package. Hoping this helps, Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 13-Oct-04 Time: 16:44:49

RE: [R] combine many .csv files into a single file/data frame

2004-10-15 Thread Ted Harding
d C 2 e C 3 f D 3 f E 3 f F 3 g D 3 g E 3 g F See 'man join' for details of options which you can use to adapt the command to your needs. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870

RE: [R] combine many .csv files into a single file/data frame

2004-10-16 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 16-Oct-04 Time: 10:39:05 -- XFMail

RE: [R] Re: read dbf files into R

2004-09-29 Thread Ted Harding
, n, T, t, F, f and Date data are MMDD (I'm assuming that there are no Memo data, which are not stored in the DBF file but in a separate DBT file). Hope this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email

RE: [R] Re: read dbf files into R

2004-09-29 Thread Ted Harding
CSV file can be mended by piping it through 'tr', as in cat oldCSVfil.csv | tr -d '' newCSVfile.csv (assuming, of course, that you don't have field data with commas inside ... ) Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL

RE: [R] Dataframe Manipulation Question

2004-10-06 Thread Ted Harding
at the time, and other people looking over their shoulder, or over-hearing, can come in with their view of the matter. Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 06

RE: [R] Questions of t.test {stats}

2004-10-19 Thread Ted Harding
the other. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 19-Oct-04 Time: 08:27:01 -- XFMail

RE: [R] Slope of surface

2004-10-19 Thread Ted Harding
a clean solution for (a,b) and then you have it. (Note point [3] has not been used.) I think! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 20-Oct-04

RE: [R] probability scale at y axis

2004-10-20 Thread Ted Harding
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 20-Oct-04

RE: [R] probability scale at y axis

2004-10-20 Thread Ted Harding
Now that I think of it: qqplot(x,qnorm(0.005+0.01*(0:99)),yaxt=n) axis(2, at=qnorm(p), label=p, las=1) Ted. On 20-Oct-04 Ted Harding wrote: Well, I think he probably meant something more like x - sort(rnorm(100)) y-0.5+(0:99) p - c(0.01, 0.05, 0.5, 0.95, 0.99) plot(x,qnorm(y/100

RE: [R] Empirical P Value

2004-10-26 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 26-Oct-04 Time: 20:13:33 -- XFMail -- __ [EMAIL

RE: [R] integrate a function in R

2004-10-28 Thread Ted Harding
) - dnorm(3) + u*pnorm(3) - pnorm(-u) (using the default values mu=0 and s=1 for dnorm and pnorm). Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 28-Oct-04

RE: [R] missing values in logistic regression

2004-10-29 Thread Ted Harding
these in the above formulae for a and b to get a and b directly, without needing to do an explicit logistic regression on the completed dataset. Hoping this helps! Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0

RE: [R] deleting specified NA values

2004-11-01 Thread Ted Harding
){!all(is.na(x))} and then newDF - DF[apply(DF,1,notallna),] This will leave in every record in which not all fields areNA, so will include records in which only some fields are NA. Hoping this helps, Ted. E-Mail: (Ted Harding

RE: [R] Just a little problem

2004-11-06 Thread Ted Harding
really meaning |1/sum(ni*Wi)| 0.2 in which case the problem would not have a definite solution unless you state restrictions on the series {ni}. Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44

RE: [R] About 'choose' function

2004-11-08 Thread Ted Harding
! Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 08-Nov-04 Time: 14:29:46 -- XFMail

RE: [R] About 'choose' function

2004-11-08 Thread Ted Harding
On 08-Nov-04 Ted Harding wrote: [...] choose(600,31) [1] 1.612899e+300 [...] my.choose3-function(x,y){ if((x==y)||(y==0)) return(1); m - min(y,x-y) prod(seq(x,(x-m+1),by=-1)/(seq(m,1,by=-1))) } when my.choose3(600,31) [1] 1.613121e+300

RE: [R] About 'choose' function

2004-11-08 Thread Ted Harding
On 08-Nov-04 Ted Harding wrote: On 08-Nov-04 Ted Harding wrote: [...] choose(600,31) [1] 1.612899e+300 [...] my.choose3-function(x,y){ if((x==y)||(y==0)) return(1); m - min(y,x-y) prod(seq(x,(x-m+1),by=-1)/(seq(m,1,by=-1))) } when my.choose3

Re: [R] About 'choose' function

2004-11-08 Thread Ted Harding
On 08-Nov-04 Duncan Murdoch wrote: On Mon, 08 Nov 2004 15:56:49 - (GMT), (Ted Harding) [EMAIL PROTECTED] wrote : Further investigation indicates that there is an integer truncation problem with 'choose': print(choose(600,1),digits=20) [1] 60001679906.0 print(my.choose3

RE: [R] Strange results for Beta Distribution

2004-11-09 Thread Ted Harding
example, p = q = 1, so the density function is 1 everywhere. Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 09-Nov-04 Time

RE: [R] (no subject)

2004-11-11 Thread Ted Harding
] -0.27767009 -0.01242218 0.06244776 0.11646301 mean(Y[!is.na(Y)]) [1] -0.04101397 but I'm sure somebody out there will come up with a much more elegant solution! Best wishes, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED

RE: [R] (no subject)

2004-11-11 Thread Ted Harding
Sorry! I had omitted to copy in an essential line in the code below: On 11-Nov-04 Ted Harding wrote: On 11-Nov-04 Wei Yang wrote: Hi, I have a list of numbers. For each of the numbers, I take sum of squares of the numbers centered on the number chosen. If it is less than a certain

RE: [R] density estimation: compute sum(value * probability) for

2004-11-14 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 14-Nov-04 Time: 08:50:53 -- XFMail

[R] CDs for R?

2004-11-16 Thread Ted Harding
not the only one.) I'd be interested in people's comments on this proposal. Best wishes to all, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 16-Nov-04

RE: [R] how to estimate conditional density

2004-11-17 Thread Ted Harding
(y1|y2).] Hoping this helps, Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 [NB: New number!] Date: 17-Nov-04 Time: 09:37:20

  1   2   3   4   5   6   7   8   >