Re: [R] computing distance in miles or km between 2 street addre

2007-09-06 Thread Ted Harding
ry need is for the database which gives the distance information in one form or another. What were you proposing to use for this? As far as I know, R has no database relevant to street addresses! Best wishes, Ted. --

Re: [R] How to do ANOVA with fractional values and overcome the

2007-09-06 Thread Ted Harding
] > > __ > R-help@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 > and provide commented, minimal, self-contained, reproducible code. -

Re: [R] length of a string

2007-09-05 Thread Ted Harding
ens, help.search("string") will not help! Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 05-Sep-07

Re: [R] integers

2007-09-04 Thread Ted Harding
oor(x))==0) would do it (covers negative integers as well), though there may well be a smarter way. Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date

Re: [R] Derivative of a Function Expression

2007-09-03 Thread Ted Harding
work, since it requires evaluation of sqrt(-h/2). Hovever, other comparisons with your definition are possible: numerical.derivative(sin,pi/3)-0.5 ##[1] -4.33021e-05 num.deriv(sin,pi/3)-0.5 ##[1] -2.083339e-08 Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-e

Re: [R] Excel

2007-09-01 Thread Ted Harding
, from my occasional browsings of these texts, I suspect it has already been done and is widely used. Best wishes to all, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-e

Re: [R] Incomplete Gamma function

2007-09-01 Thread Ted Harding
>>> Mathematica, I have: >>> >>> "Gamma[a, z] is the incomplete gamma function." >>> >>> In[16]: Gamma[9,11.1] >>> Out[16]: 9000.5 >>> >>> Trying the same in R, I get >>> >>>> Igamma(9,11.1

Re: [R] Excel (off-topic, sort of)

2007-08-30 Thread Ted Harding
with the assistance of software (but only using the software in the direction Data --> CLs). However, there does exist software which is capable of learning people's behavioural criteria, and reacting according to their estimated needs, so probably Thomas's speculation is not beyond reach.

Re: [R] OT: distribution of a pathological random variate

2007-08-29 Thread Ted Harding
--------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 29-Aug-07 Time: 19:02:32 -- XFMail -- ___

Re: [R] Interpreting the eigen value of a population matrix

2007-08-28 Thread Ted Harding
/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: 28-Aug-07

[R] R "old versions" archive anywhere?

2007-08-23 Thread Ted Harding
;core", but not of other packages). With thanks, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 23-Aug-07 Time: 19:37:30 -

Re: [R] How to fit an linear model withou intercept

2007-08-23 Thread Ted Harding
y*Y + error so the "terms in the model" are B , C , X , Y -- i.e. the same as before but with the term "1" removed, which is what is effected by adding the term "-1" to the model formula. Hoping this helps, Ted. --

Re: [R] Does anyone.... worth a warning?!? No warning at all

2007-08-20 Thread Ted Harding
"as.matrix" explanation to the "matrix" explanation; though in fact that is irrelevant, since e.g. "byrow=TRUE" has no effect in matrix() -- so in fact there is no specification in ?matrix as to whether to expect a row or column result). Just a few thoughts. As I say w

Re: [R] Interweaving cell entries from 2 columns

2007-08-20 Thread Ted Harding
2. Suppose they are available as separate vectors Col1 and Col2: as.vector(rbind(Col1,Col2)) [1] 1 2 3 4 5 6 7 8 9 10 Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 D

Re: [R] an easy way to construct this special matirx

2007-08-16 Thread Ted Harding
------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 16-Aug-07 Time: 09:37:28 -- XFMail -- _

Re: [R] Covariance of data with missing values.

2007-08-15 Thread Ted Harding
that case, I hope Chuck's suggestion works! Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 16-Aug-07 Time: 00:10:33 --

Re: [R] Covariance of data with missing values.

2007-08-15 Thread Ted Harding
e to give. > > cheers, > > Rolf Turner E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 15-Aug-07 Time: 23:17:48 --

Re: [R] Possible to "import" histograms in R?

2007-08-15 Thread Ted Harding
On 15-Aug-07 18:17:27, Greg Snow wrote: > > > > Ted Harding wrote: > [snip] > >> So you if you want the density plot, you would need to calculate >> this for yourself. E.g. >> >> H1$density <- counts/sum(counts) &g

[R] Negative Binomial: glm.nb

2007-08-15 Thread Ted Harding
f covariates on the outcome Y (the counts of events). In real life I'm considering other data where the "theta" effect is more marked, and probably more important. Which finally leads on to my QUERY: Is there anything implement{ed|able} in R which can address the issue that theta may var

Re: [R] Possible to "import" histograms in R?

2007-08-15 Thread Ted Harding
or it with your program which bins the data. All you need to do in R is to get these results into the right place in R. Hoping this helps, Ted. E-Mail: (Ted Harding) <[EMAIL PROTEC

Re: [R] Possible to "import" histograms in R?

2007-08-15 Thread Ted Harding
e you can, in fact, set the "prob=TRUE" condition in the plot by setting "freq=FALSE" in t call to plot.histogram(). But then it will look at "$density" for the values to plot. So you if you want the density plot, you would need to calculate this for yourself. E.g. H1$d

Re: [R] Linear Regression with slope equals 0

2007-08-14 Thread Ted Harding
lm0 <- lm(d - s0*t ~ 1), compared with lm1<- lm(d- s0*t ~ t) for instance. Hoping this helps, Ted. ---- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 14-Aug-0

Re: [R] Help wit matrices

2007-08-10 Thread Ted Harding
]10010 Does this work OK for your big matrix? HTH Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 10-Aug-07 Time: 19:50:37 -- XFMail

[R] Subject: Re: how to include bar values in a barplot?

2007-08-09 Thread Ted . Harding
thoughts (if they're any good); b) Spreadsheets readily induce the naive (especially beginning) user into the habit of trusting that the writers of spreadsheet software have thought through all those nasty implementation technicalities and have created an "expert system" which

[R] Test (please ignore)

2007-08-08 Thread Ted . Harding
Please excuse this -- I need to test whether I can get through to R-help! (Have failed repeatedly today). Ted. __ R-help@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

Re: [R] Interaction factor and numeric variable versus separate

2007-08-07 Thread Ted Harding
anks, Sven >> >> __ >> R-help@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 >> and provide commented, minimal, self-contained, reproducibl

Re: [R] R and excell differences in calculation F distributionfu

2007-08-07 Thread Ted Harding
the density function (corresponding to "df") from Excel, then that's not something I know how to do (nor want to know ... ). Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> F

Re: [R] About grep

2007-08-06 Thread Ted Harding
oblem is that in the string "^b[2]$" the element b[2] of b is not evaluated, but simply the successive characters ^ b [ 2 ] $ are passed to grep as a character string, which of course is not found. You can construct a character string with the value of b[2] in it by using paste(): grep(pa

Re: [R] data analysis

2007-08-06 Thread Ted Harding
/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 0

Re: [R] test the significances of two regression lines

2007-08-06 Thread Ted Harding
60 *** Residuals 196 0.46922 0.00239 so you get the same P-value, though with anova() you do not see the actual estimate of the difference between the slopes. Hoping this helps, Ted. --

[R] Any "special interest" in R/pic interface?

2007-08-05 Thread Ted Harding
ve in mind. I envisage that in complex plots produced by R, such as the above xyplot, one can obtain the generic information on needs by XY<-xyplot() str(XY) then extracting XY$whatever, and wrapping this stuff in 'pic' code. Looking

Re: [R] Invert Likert-Scale Values

2007-08-04 Thread Ted Harding
sults back into a factor: > y <- factor(3 - as.integer(x)) > y [1] 2 2 2 1 1 1 Levels: 1 2 So, even for factors, the insight undelying our suggestion of "-" is still valid! :) Best wishes, Ted. --

Re: [R] - round() strange behaviour

2007-08-04 Thread Ted Harding
not matter, but it is something to think about when choosing a rounding method. > [...] Best wishes to all, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094

Re: [R] Invert Likert-Scale Values

2007-08-04 Thread Ted Harding
gt; > __ > R-help@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 > and provide

Re: [R] question about logistic models (AIC)

2007-08-03 Thread Ted Harding
regards, >> Tom. >> >> Tom Willems >> CODA-CERVA-VAR >> Department of Virology >> Epizootic Diseases Section >> Groeselenberg 99 >> B-1180 Ukkel >> >> Tel.: +32 2 3790522 >> Fax: +32 2 3790666 >> E-mail:

Re: [R] problem with reading data files with different numbers o

2007-08-02 Thread Ted Harding
ines there are in the first 33 with > sum(cbind(readLines("~/00_junk/temp.tr", 33))=="") and then choose how many lines to skip. Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTEC

Re: [R] problem with reading data files with different numbers o

2007-08-02 Thread Ted Harding
ich will also work for files with hundreds, thousands, ... of lines, since the units digit is at position 7). Hoping this helps, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> F

Re: [R] t-distribution

2007-08-01 Thread Ted Harding
lower.tail = FALSE) > > which is the two-sided t-test tail area. > > The teller of the parable will usually leave some things unexplained... > > Bill. However: "Those who have ears to hear, let them hear!" Ted. -------------

Re: [R] write.csv

2007-07-30 Thread Ted Harding
t with (in this case 57) NAs, which you will then have to clean up; which you can do, but by the time you've done it you might as well have done it the above way! Hoping this helps, Ted.

Re: [R] generating symmetric matrices

2007-07-30 Thread Ted Harding
dent N(0,1)s, divided by sqrt(2), the result is also N(0,1)). However, whether this is reallyu seful for you depends on what you want the elements of A to be! Ted. E-Mail: (Ted Harding) <[EMAIL PR

Re: [R] 2nd R Console

2007-07-30 Thread Ted Harding
7;s best of they're identical (same screen resolution e.g. 1024x768, same colour depths on all screens, ... ). Otherwise it's liable to not establish the necessary connections, and only some machines can join in. However, in a computing lab environment, it may well be that all machines are

Re: [R] the large dataset problem

2007-07-30 Thread Ted Harding
ty of which you are only going to need 0.01% at any one time. The Unix utilities have been ported to Windows, long since, but I have no experience of using them in that environment. Others, who have, can advise! But I'd seriously suggest getting hold of them. Hoping this

Re: [R] Slightly OT - use of R

2007-07-30 Thread Ted Harding
will probably get extra value from the R list is that many of our people will have extensive and very professional experience, not only with R, but with many of the other available packages, and be best placed to provide serious and thoughtful comparisons. Best wishes, Ted. ---

Re: [R] Fitting exponential curve to data points

2007-07-24 Thread Ted Harding
quot;. But of course you need to be confident that "exponential" is the right curve to be fitting in the first place. If it's the wrong type of curve to be considering, then it's not "the right way to do it"! Hoping this help[s, Ted. E-Mai

Re: [R] using R for a reaction-time experiment

2007-07-22 Thread Ted Harding
er". If you're using Windows, then unfortunately I haven't a clue. Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861

Re: [R] Can I test if there are statistical significance between

2007-07-21 Thread Ted Harding
much. >> > >> > >> > > > > -- > With Kind Regards, > > oooO: > (..): >:\.(:::Oooo:: >::\_)::(..):: >:::)./::: >::(_/ >: > [***

Re: [R] automatically jpeg output

2007-07-20 Thread Ted Harding
terpreter and fail to recognise the picture (as you have just proved). If you want to create JPEG files in a similar way, use the jpeg() function -- read ?jpeg for details. Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECT

Re: [R] presence/absence matrix

2007-07-20 Thread Ted Harding
Now this is a "table" structure, and also gives counts of occurrences and not merely presence/absence. So we need to get these out as a matrix. U<-as.matrix(T) U species samples a b c d 1 0 1 0 1 2 0 3 2 2

Re: [R] print tables to figure in R

2007-07-17 Thread Ted Harding
labels=Ach[i],pos=4)} for(i in (1:5)){text(x=7.875,y=(-1-i),labels=Bch[i],pos=4)} You could augment this with grid lines, etc. according to taste. Best wishes, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-e

Re: [R] logical operators priority

2007-07-17 Thread Ted Harding
hermore (most important) you yourself can see exactly what will happen and will be much less likely to make a mistake. So write your condition in your code *explicitly* as ConditionA & (ConditionB | ConditionC) You can see what's happening, and R will do exactly

Re: [R] Errors in data frames from read.table

2007-07-16 Thread Ted Harding
___ > R-help@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 > and provide commented, minimal, self-contained, repro

Re: [R] mix package causes R to crash

2007-07-13 Thread Ted Harding
iling list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -

Re: [R] calculating percent error from 2 vectors

2007-07-12 Thread Ted Harding
t; How would I code this (assuming the actual dataset is more complex)? For your example: > tbl<-table(known,modelout) > tbl modelout knownblue red yellow blue 22 0 red12 0 yellow 10 2 > dim(tbl) [1] 3 3 > for(i in (1:dim(tb

Re: [R] eMail results out of R

2007-07-12 Thread Ted Harding
gt;> >>> Duncan Murdoch >>> >>> > > > -- > Stéphane DRAY ([EMAIL PROTECTED] ) > Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I > 43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France > Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88 > http://biomserv.univ-lyon1.fr/~dray/ &g

Re: [R] eMail results out of R

2007-07-12 Thread Ted Harding
oid splitting the subject into separate tokens). See ?sink for how to use the sink() command. Then 'ted' duly received an email with contents: === Date: Thu, 12 Jul 2007 17:10:44 +0100 From: Ted Harding <[EMAIL PROTECTED]> To: [EMAIL

Re: [R] system: Linux vs. Windows differences

2007-07-11 Thread Ted Harding
e can be life in old dogs, and even strong teeth in some. Ted. [emailing from SuSE-5.2 (1997), logged in from Red Hat 9 (2003)] E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 11-Jul-07

Re: [R] EM algorithm for Missing Data.

2007-07-09 Thread Ted Harding
stribution of the data, then the best procedure may simply be to ignore the missing data. Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 09-Ju

Re: [R] change the "coeffcients approach" on an anova

2007-07-07 Thread Ted Harding
ge to obtain what I need? Try rinfo2 <- (lm(pression~temp-1, data=rebe)) Ted. ---- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 08-Jul-07 Time: 02:18:24 -- XF

Re: [R] How to calculate the index "the number of species combin

2007-07-07 Thread Ted Harding
is 10. > Can you help me to calculate or give me some detalied explain about > the concept of the index? See above! I hope it helps. Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870

Re: [R] Recursion in R ...

2007-07-07 Thread Ted Harding
On 07-Jul-07 10:34:03, Uwe Ligges wrote: > Alberto Monteiro wrote: >> Ted Harding wrote: >>> So I slickly wrote a recursive definition: >>> >>> Nnk<-function(n,k){ >>> if(n==1) {return(k)} else { >>> R<-0; >>> fo

[R] Recursion in R ...

2007-07-06 Thread Ted Harding
On the old recursive definition, the computation might have outlasted the Universe. ON THAT BASIS: I hereby claim the all-time record for inefficient programming in R. Challengers are invited to strut their stuff ... Best wishes to all, and happy end of week, Ted. ----------

Re: [R] A More efficient method?

2007-07-04 Thread Ted Harding
ve specified otherwise in factor()) the values will correspond to the elements of Cat in "natural" order, in this case first "a" (-> 1), then "b" (-> 2). E.g. > Cat2<-c("a","a","c","b","a","b"

Re: [R] Substitution of Variables

2007-07-02 Thread Ted Harding
s with these names. So you can assign the data for VA directly to 'v' with: v<-data$VA or (if you think you will need it later) create a variable VA using VA<-data$VA and, if you want a variable called 'v' as well, then: v<-VA Hoping this helps, Ted. --

Re: [R] Dominant eigenvector displayed as third (Marco Visser)

2007-06-29 Thread Ted Harding
er than both real and complex parts, and being led to think that the largest real part corresponds to the largest eigenvalue. As has been clearly pointed out, this is not the way to look at it! Ted. E-Mail: (Ted Harding) &l

Re: [R] Spectral Decomposition [OOPS]

2007-06-29 Thread Ted Harding
On 29-Jun-07 13:23:05, Ted Harding wrote: > [Sorry -- a silly typo in my previous]: > If A is not symmetric, you have "left" eigenvectors: > > x'*A = lambda*x' > > and "right" eigenvectors: > > A*x = lambda*x > > and the "

Re: [R] Spectral Decomposition

2007-06-29 Thread Ted Harding
my lit search I am not finding an explanation for why this works, so > I am seeking R-help since there may be a computational rationale that > can be explained by users (or authors) of the function. In my > experimentation with some computations it seems that the latter > approach is more

Re: [R] Unix-like permissions to allow a user to update recommen

2007-06-18 Thread Ted Harding
On 18-Jun-07 20:27:56, Patrick Connolly wrote: > On Mon, 18-Jun-2007 at 11:53AM +0100, Ted Harding wrote: > >|> On 18-Jun-07 10:11:43, Patrick Connolly wrote: >|> > I installed R from the tar.gz file (as root) in a directory under >|> > /usr/local. The recommend

Re: [R] source a specific function

2007-06-18 Thread Ted Harding
17) = 429KB Hence I wonder whether the space first occupied by MASS (2.2MB) apart from mvrnorm gets freed up at all? Thanks for the comments. Ted. E-Mail: (Ted Harding) <[EMAIL PR

Re: [R] Optimization

2007-06-18 Thread Ted Harding
attempt. Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 18-Jun-07 Time: 17:46:01 -

Re: [R] source a specific function

2007-06-18 Thread Ted Harding
on OK) or "by reference" (deletion would destroy the exported object). Apologies, but for instance "?local" is a bit too deep for me! The underlying agenda behind these queries is the saving of memory space. With theanks, Ted. -

Re: [R] Unix-like permissions to allow a user to update recommen

2007-06-18 Thread Ted Harding
ives in the user's home directory. Does this help? Or are there issues you haven't mentioned which make such an approach not feasible? Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[

Re: [R] R vs. Splus in Pharma/Devices Industry

2007-06-16 Thread Ted Harding
rnal of the Anthropological > Institute 15 : 246-63, 1886. > > http://galton.org/essays/1880-1889/galton-1886-jaigi-regression-stature. > pdf > >:-) > > Regards, > > Marc Indeed! My reason for referencing it that way was to indicate obliquely that we've move

Re: [R] [OT] 'gv' and fractional points

2007-06-15 Thread Ted Harding
kind of context (e.g. I have some screenshots of old maps which I want to digitise ... ). Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 16-Jun-07

Re: [R] R vs. Splus in Pharma/Devices Industry

2007-06-15 Thread Ted Harding
x27;re regressing But not to mediocrity! [1] Ted. [1] Practical Regression and Anova using R Julian J. Faraway (July 2002), page 15. http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf ------------ E-Mail: (Ted Harding) <[EMAIL

Re: [R] R vs. Splus in Pharma/Devices Industry

2007-06-15 Thread Ted Harding
Z. First there was S, then there was R. And, furthermore, A is further from R than Z is, which seems fitting. Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 15-Jun-07

Re: [R] [OT] 'gv' and fractional points

2007-06-15 Thread Ted Harding
in a sub-window, which is much easier to cope with; and you also get a "rubber-band" rectangle which enables you to readily align points here with points there -- e.g. if you want to read off a curve the y-value corresponding to say x=5.0. However, this is at least a partial answer to my own q

Re: [R] [OT] 'gv' and fractional points

2007-06-15 Thread Ted Harding
On 15-Jun-07 16:29:53, Ted Harding wrote: > [...] > However, as a follow-up, I've since found that one can (somewhat > tediously) do what I was asking with the GIMP. As well as the awkwardness of doing it the GIMP way, I've discovered another disadvantage. I'd previou

[R] [OT] 'gv' and fractional points

2007-06-15 Thread Ted Harding
of the documentation has not revealed anything); b) Of any alternative to 'gv' as PS viewer which would provide this capability? With thanks, and best wishes to all, Ted. -------- E-Mail: (Ted Harding)

Re: [R] Tools For Preparing Data For Analysis

2007-06-14 Thread Ted Harding
synergy.com/toc/sign/4/2 but unfortunately you can only read any of it by paying money to Blackwell (unless you're an RSS member). Best wishes to all, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)87

Re: [R] Responding to a posting in the digest

2007-06-14 Thread Ted Harding
On 14-Jun-07 07:26:26, Moshe Olshansky wrote: > Is there a convenient way to respond to a particular > posting which is a part of the digest? > I mean something that will automatically quote the > original message, subject, etc. > > Thank you! > > Moshe Olshansky > [EMAIL PROTECTED] This will

Re: [R] Awk and Vilno

2007-06-13 Thread Ted Harding
What I did find didn't amount to much. Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 13-Jun-07

Re: [R] Generating artificial datasets with a specific correlati

2007-06-12 Thread Ted Harding
as you please, and then continue as above. Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 13-Jun-07 Time: 00:35:59 -- XFMail -- __

Re: [R] Appropriate regression model for categorical variables

2007-06-12 Thread Ted Harding
combinations is much smaller (say at most 1/5) of the number of cases in your data. In summary: you have to many explanatory variables. Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROT

Re: [R] Tools For Preparing Data For Analysis

2007-06-10 Thread Ted Harding
On the other hand, a simple brush with awk (or sed in this case) can sort it once and for all, without waking the sleeping dogs in R. I could go on. R undoubtedly has the power, but it can very quickly get over-complicated for simple jobs. Best wishes to all, Ted. -

Re: [R] Tools For Preparing Data For Analysis

2007-06-10 Thread Ted Harding
On 10-Jun-07 14:04:44, Sarah Goslee wrote: > On 6/10/07, Ted Harding <[EMAIL PROTECTED]> wrote: > >> ... a lot of the problems with data >> files arise at the data gathering and entry stages, where people >> can behave as if stuffing unpaired socks and unattribute

Re: [R] Tools For Preparing Data For Analysis

2007-06-10 Thread Ted Harding
many of us in practice, a lot of the problems with data files arise at the data gathering and entry stages, where people can behave as if stuffing unpaired socks and unattributed underwear randomly into a drawer, and then banging it shut). Best wishes to all, Ted. E-Mail: (Ted Harding) <[EM

Re: [R] Tools For Preparing Data For Analysis

2007-06-08 Thread Ted Harding
, utilities like awk can be used far more fruitfully on operating systems (the unixoid family) which incorporate at ground level the infrastructure for "plumbing" together streams of data output from different programs. Ted. --

Re: [R] Spectral analysis

2007-06-06 Thread Ted Harding
ackage. What is the role of the "other variable"? Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 06-Jun-07

Re: [R] random numbers selection - simple example

2007-06-06 Thread Ted Harding
p me I would greatly appreciate your advice and time, > > Best Wishes, > > Jenny ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 06-Jun-07

Re: [R] spatial simulation

2007-06-02 Thread Ted Harding
ire of spatial point processes that you can simulate from. Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 02-Jun-07 Time: 08:33:17 -- XFMail -

Re: [R] Make sign test show test statistics

2007-05-14 Thread Ted Harding
quot;, and the journal is not being reasonable! Hoping this helps, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 14-May-07

Re: [R] power 2x3 exact test

2007-05-10 Thread Ted Harding
e are in effect back to the Fisher Exact Test, whose power is a function of the odds-ratio alone. I'm still with Duncan Murdoch, in that what's meant by "power" in this case depends very much on what you mean by "alternative hypothesis". Best wishes to all, Ted. --

[R] Allocating shelf space

2007-05-09 Thread Ted Harding
clocation of related books (it is acceptable to separate large books from small books on the same subject, for the sake of efficient packing). Awaiting comments and suggestions with interest! With thanks, Ted. -------- E-Mail: (

Re: [R] power 2x3 exact test

2007-05-09 Thread Ted Harding
ble, is is a straightforward hypergeometric distribution, but 2x3 is not straightforward. Maybe someone has written a function for this kind of application, and can point it out to us??? A quick R-site search did not help! Best wishes, ted. -

Re: [R] A function for raising a matrix to a power?

2007-05-06 Thread Ted Harding
A%^%2 [,1] [,2] [1,]0 -1 [2,]13 > A%^%3 [,1] [,2] [1,]12 [2,] -2 -5 > A%^%100 [,1] [,2] [1,] -1.353019e+20 -3.542248e+20 [2,] 3.542248e+20 9.273727e+20 Hoping this helps! Ted. -

Re: [R] Creating contingency table from mixed data

2007-05-06 Thread Ted Harding
do one, or a few, by hand! Hoping this helps, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 06-May-07 Time: 02:57:12 -

Re: [R] how to reproduce the same sampled units?

2007-05-02 Thread Ted Harding
83 805 # [1] 271 106 570 621 257 663 399 454 983 805 Best wishes, Ted. -------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 03-May-07 Time: 00:56:43 -- XFMail ---

Re: [R] Simulation using parts of density function

2007-05-02 Thread Ted Harding
distributed on (0,1), if rgamma is truncated to (0,tr) them pgamma(rgamma) will be truncated to (0,pgamma(tr)), and hence uniformly distributed on this range. Best wishes, Ted. ------------ E-Mail: (Ted Harding) <[EMAIL

Re: [R] Simulation using parts of density function

2007-05-01 Thread Ted Harding
im) [1] 999 It may be on the slow side (though not hugely -- on a quite slow machine the above run was completed in 2min 5sec, while the 999-replicate in your original took 15sec. So about 8 times as long. Most of this, of course, is taken up with the first round. Hoping this helps, Ted. ---

Re: [R] to draw a smooth arc

2007-05-01 Thread Ted Harding
arby measuring stations). Anyway. The Question: is there a general function for the above kind of smooth curve-drawing? With thanks, Ted. E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094

  1   2   3   4   5   6   7   8   >