.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland 1142,NEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
On Thu, 30 Aug 2007, Duncan Murdoch wrote:
On 8/28/2007 3:16 AM, J Dougherty wrote:
On Monday 27 August 2007 22:21, David Scott wrote:
On Tue, 28 Aug 2007, Robert A LaBudde wrote:
If you format the column as Text, you won't have this problem. By
leaving the cells as General, you leave it up
at it. In the column of ID
codes I saw: Aug-99. Clicking on that entry it showed 1/08/2699.
In a column of character data, Excel had interpreted AUG2699 as a date.
The .csv did not actually have a date in that cell, but if I had saved the
.csv file it would have.
David Scott
as Aug-99. Most bizarre is that the NHI value
of AUG1838 has *not* been interpreted as a date.
David Scott
You will note that the conversion to a date occurs immediately in
Excel when you enter the value. There are many formats to enter dates.
Either pre-format the column as Text, or prefix
approach
for these problems?
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland 1142,NEW ZEALAND
Phone: +64 9 373 7599 ext 86830
in advance
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland 1142,NEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
91 4.6 76 6 23
56 NA 135 8.0 75 6 25
62135 269 4.1 84 7 1
86108 223 8.0 85 7 25
12847 95 7.4 87 9 5
13521 259 15.5 76 9 12
137 9 24 10.9 71 9 14
David Scott
including the
Current Index to Statistics (http://www.statindex.org/CIS/) can output
bibliographic details in BibTeX format. You can obtain the reference in
BibTeX form from the database and easily incorporate it into your document
or private BibTeX database of references.
David Scott
://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.
_
David Scott Visiting (Until January 07
package HyperbolicDist,
and an updated one on my web page:
http://www.stat.auckland.ac.nz/~dscott/Rpackage/NewFunctions/logHist.R
David Scott
_
David Scott Visiting (Until January 07)
Department of Probability
.
_
David Scott Visiting (Until January 07)
Department of Probability and Statistics
The University of Sheffield
The Hicks Building
Hounsfield Road
Sheffield S3 7RH
,
is.na=NA)
### I can tabulate with categories in the desired order
table(EthnicFactor[,drop=TRUE])
### But I can't seem to include the missing observations
table(EthnicFactor,exclude=NULL)
David Scott
_
David Scott Visiting (Until
0.1739074
David Scott
_
David Scott Visiting (July 06 to January 07)
Department of Probability and Statistics
The University of Sheffield
The Hicks Building
Hounsfield
give an error (most of my other attempts did), and draws the
panels correctly with the original data, but doesn't draw the fitted
lines.
paraslm1 is my fitted linear model with cubics for each location.
David Scott
_
David Scott
On Fri, 1 Sep 2006, Deepayan Sarkar wrote:
On 9/1/06, David Scott [EMAIL PROTECTED] wrote:
I have some data which consists of time series for a number of sites. It
appears that there is not much autocorrelation in the data and I have
fitted a cubic for each site using lm. I would like
Australian Statistical Conference / New Zealand Statistical
Association Conference
'Statistical Connections'
SKYCITY, Auckland, New Zealand
3 - 6 July 2006
LESS THAN TWO MONTHS TO GO
Register Online Now!
Register now for ASCNZ06 - an international conference with a full and
varied
-Stage Least Squares (W3SLS).
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830
Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
Email: [EMAIL
is the syntax for doing that?
I had been doing a loop for m in 1:20, but I only want those values above.
Thanks,
Brian
An easy one that doesn't need an answer from Gabor
for (m in c(1,5,10,15,20)){
print(m)
}
or
for (m in c(1,5*(1:4))){
print(m)
}
David Scott
to this
list are second to none. He has my vote of appreciation.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
the unix operating system commands head and
tail which were particularly useful in examining files in the days before
gui editors and such fancy new-fangled things.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
On Thu, 9 Mar 2006, Omar Lakkis wrote:
How to do a shift/rotate os a list?
if
a = c(1,2,3)
what is the best way to make a equal
c(3,1,2)
a - c(a[length(a)],a[-length(a)])
or
n - length(a)
a - c(a[n],a[-n])
David Scott
of the use of psfrag in the file Lecture Slides on TeX
which is on the page:
http://www.stat.auckland.ac.nz/~dscott/782/index.php
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University
having to load the package.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830
installing in my private library:
stat71/dscott10 echo $R_LIBS
/home/staff/dscott/Computing/R/Rprivatelib
Any suggestions?
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB
with your path (e.g. the directories it specifies don't
exist) I think you will get this error.
Check your path to make sure it is ok.
David Scott
***
Original post
***
From: Jack Zhu yz8_at_georgetown.edu
Date: Thu 17 Nov 2005 - 08:47:27 EST
)
}
This approach worked. I had to define a test function of this sort outside
of the loops and then call it within the loops with appropriate parameter
values. Thanks for the assistance.
David Scott
---
David Scott Department of Statistics, Tamaki
restart which
jumps to the top level, and I am guessing that that is what is happening.
What I can't see is how to get the computation to restart from the error
and just continue through the loop.
Any suggestions or pointers would be most welcome.
David Scott
://en.wikipedia.org/wiki/Floating_point
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830
package HyperbDist (or a more recent version logHist.R on my
homepage at http://www.stat.auckland.ac.nz/~dscott/)
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
.
There also appear to be some skew normal and skew t tools in RMetrics (in
FSeries and fPortfolio).
What is not clear is why Caio keeps asking the same question when I
emailed him the name of the package yesterday.
David Scott
_
David
it.
Note: colnames(h) not colnames(g)
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext
at wikipedia
http://en.wikipedia.org/wiki/Inverse-gamma_distribution
It seems the one line of the function should be:
return(1/rgamma(n, shape, 1/scale)
Or you could of course throw caution to the winds and write your own
rinvgamma using rgamma :-)
David Scott
(m2/ha)
but I want the 2 to be superscripted.
Thanks in advence for the help, or for pointing out the appropriate help file.
?plotmath
_
David Scott Department of Statistics, Tamaki Campus
The University
for some of the days (as in 7/12/2001). This doesn't phase as.Date though.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland
in the histogram.
Try
temp -sample(0:12, 2000, replace=T,prob=(rep(1/13,13)))
table(temp)
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW
(temp))
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
not be warmly received by New
Zealanders. (To clarify, despite the address, I am Australian.)
My suggestion is the Kea: inquisitive and intelligent. See:
http://www.doc.govt.nz/Conservation/001~Plants-and-Animals/001~Native-Animals/Kea.asp
David Scott
at the package HyperbolicDist
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9
the
distribution.
David Scott
On Wed, 15 Sep 2004, Rolf Turner wrote:
I've built R functions to ``effect'' a particular distribution, and
would like to find out if that distribution is already ``known'' by
an existing name. (I.e. suppose it were called the ``Melvin''
distribution --- I've built dmelvin
On Thu, 26 Aug 2004, Deepayan Sarkar wrote:
Quoting David Scott [EMAIL PROTECTED]:
On Thu, 26 Aug 2004, Deepayan Sarkar wrote:
Quoting David Scott [EMAIL PROTECTED]:
I am trying to create a plot similar to Figure 3.2 in Bates and
Pinheiro.
I have repeated
On Thu, 26 Aug 2004, Deepayan Sarkar wrote:
Quoting David Scott [EMAIL PROTECTED]:
I am trying to create a plot similar to Figure 3.2 in Bates and Pinheiro.
I have repeated measurements on about 80 subjects from 2 treatment groups.
I would like to have the panels for the two
=Elapsed time,y=Airways resistance),
units=list(x=(hours),y=cm H20/L/sec))
I guess I could just plot the two treatment groups separately in turn but
I feel there is something I am missing.
I am using 1.9.1 on Windows XP.
David Scott
too.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
Email
two shortcuts to WinEdt, one for
your TeX stuff, one for R.
Uwe Ligges is the guru for this though.
David Scott
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
there is only one degree of freedom for
x.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373
A quick question: has anybody encountered this error working on a desktop?
Users here who have had problems are working on laptops, and laptops have
been mentioned in other posts. Brian said he was unable to reproduce the
problem.
David Scott
for the inconvenience, included
in a prompt to send an error report to Microsoft.
For both versions, R fails to start at all. I'm running Windows XP Pro, and
like David Scott I'm supposed to install the XP critical updates as soon as
they come out, which I did last week.
I suppose, given
Brett Melbourne, Postdoctoral Fellow
Biological Invasions IGERT www.cpb.ucdavis.edu/bioinv
Center for Population Biology, Storer Hall
University of California Davis CA 95616
_
David Scott Department of Statistics, Tamaki Campus
-1 -99924 -999
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64 9 373 7599 ext 86830
it:
http://www.r-project.org/nocvs/mail/r-help/2002/8604.html
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW ZEALAND
Phone: +64
. Then
again we may be the last bastion of open scientific enquiry.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
AucklandNEW
who are not aware of Cleveland's work, it would be fair to say
that you see his influence (and that of others from Bell Labs) every time
you ask R to produce a graph.
David Scott
_
David Scott Department of Statistics, Tamaki
. It is a little more sophisticated in that it fits a
spline in preference to linear interpolation, before using uniroot.
Look at qhyperb if this is of interest.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
the fit of the hyperbolic distribution to
a set of data, the log-histogram is useful.
David Scott
_
David Scott Department of Statistics, Tamaki Campus
The University of Auckland, PB 92019
Auckland
of diagnostics should be
considered or some R code for this sort of thing?
I didn't find anything in recent mail archives, but did see a few people
using geese from geepack instead of gee. A look at the manual for geepack
didn't give me any leads on diagnostics though.
David Scott
).
Rcmd check makes a directory called libname.Rcheck. Inside that you will
find a .Rout file which gives a log of the examples. If I understand the
pattern it is called libname-Ed.Rout.
Look at that file to see where the running of your examples failed.
David Scott
Sorry, there was a typo in my answer:
On Thu, 13 Feb 2003, David Scott wrote:
.
.
.
lots of stuff cut
.
.
examples aren't actually being executed because most of them take a
long time and the error is pretty much instantaneous).
Rcmd check makes a directory called libname.Rcheck. Inside
59 matches
Mail list logo