On Sat, 5 Aug 2006, Erich Neuwirth wrote:
How can I find out what fonts are available for
par(family=
for the postscript device?
This is dynamic: for the current value
names(postscriptFonts())
[1] serifsans mono
[4] symbol AvantGarde
Hi there
I have a list that looks like this
object1 object1 78
object1 object2 45
object1 object3 34
object1 object4 45
object2 object2 89
object2 object3 32
object2 object4 13
but i want to create a matrix like this in order to use the dist function of R
object1 object2
Thanks,
The following piece of code demonstrates a problem I still have.
pdf(file=fonttest.pdf,fonts=c(Helvetica))
plot(1:10,main=,xlab=)
par(family=Helvetica,font=1)
title(main=Helvetica)
par(family=Helvetica,font=2)
title(sub=Helvetica-Bold)
par(family=Helvetica,font=3)
Hi all,
I've been reading about aov() at
http://www.psych.upenn.edu/~baron/rpsych/rpsych.html and
http://davidmlane.com/hyperstat/intro_ANOVA.html and
I try to use this test in experiments with my simulator.
What I would like Anova to tell me is whether the differences I see
when plotting the
Or, perhaps I can use Error(subject/(method * problem))
where subject = paste(method, problem)
Because I repeated each simulation several times for
different problems of the same problem.
This gives me the following output:
summary(aov(performance ~ method * problem + Error(subj/(method *
Hi Jessica,
I think you want to use names()
See:
?names
?colnames (or rownames)
If not, it's perhaps a good idea to send us a more complete example.
JeeBee.
On Fri, 04 Aug 2006 17:12:24 +0200, Jessica G. wrote:
How to convert a rowname vector of numbers into a real column of the matrix,
Here are three ways:
# read in data
Lines - object1 object1 78
object1 object2 45
object1 object3 34
object1 object4 45
object2 object2 89
object2 object3 32
object2 object4 13
DF - read.table(textConnection(Lines))
# 1 - xtabs
xt - as.matrix(xtabs(V3 ~., DF))
# 2 - reshape
wide - reshape(DF,
Hi,
I found a highly reproduceable bug in the version that comes with
2.3.1 and I just thought I'd let the authors know. Pressing and
then tab instantly crashes it every time.
__
R-help@stat.math.ethz.ch mailing list
Dear all,
I want to compare some different models for a dataset by QQ plots and AIC. I
get the following AICs:
- linear model: 19759.66
- GAMLSS model: 18702.7
- linear model with lognormal response: -7862.182
The QQ plots show that the lognormal model fits better than the linear model,
but
Hi there
I'm very new as regards to R. I have managed to work out how to use dist and
kmeans but am now wondering how best to display the results from kmeans in a
graphical form.
If anyone has any general advice/tips, I would be most grateful.
Thanks
[[alternative HTML version deleted]]
What's wrong with cross-tabs?
__
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
On Sat, 5 Aug 2006, Andreas Beyerlein wrote:
Dear all,
I want to compare some different models for a dataset by QQ plots and
AIC. I get the following AICs:
- linear model: 19759.66
- GAMLSS model: 18702.7
- linear model with lognormal response: -7862.182
The QQ plots show that the
There are worked examples in MASS (the book, see the FAQ).
On Sat, 5 Aug 2006, Ffenics wrote:
I'm very new as regards to R. I have managed to work out how to use dist and
kmeans but am now wondering how best to display the results from kmeans in a
graphical form.
If anyone has any general
Hi!
I appologize for crossposting, but this might be of broader interest.
In case you are interested in fusing RUnit with R CMD check under unix
alike OS, here is one way of doing/hacking this.
My aim was to perform unit tests:
(1) during R CMD check
(2) at any other time
Say you have a
I am hoping for some advice regarding ordering a dataframe, by date.
The dataframe is in the format below.
$story $datepub
story10 1 April 1999
story 901 March 2002
story 3710 July 1985
I want to reorder the entire dataframe so the earliest story is first, and
Try this:
Lines - story,datepub
story10,1 April 1999
story 90,1 March 2002
story 37,10 July 1985
DF - read.csv(textConnection(Lines))
DF[order(as.Date(DF$datepub, %d %B %Y)),]
On 8/6/06, Bob Green [EMAIL PROTECTED] wrote:
I am hoping for some advice regarding ordering a dataframe, by date.
16 matches
Mail list logo