here in Lithuania, but I'd really like to learn to
do it with R instead...
--
Donatas G.
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
: the result IS wrong.
Yours,
Mag. Ferri Leberl
Am Freitag, den 06.07.2007, 16:17 -0400 schrieb Sarah Goslee:
The default of hist() is counts rather than percentages.
Sarah
On 7/6/07, Mag. Ferri Leberl [EMAIL PROTECTED] wrote:
Dear everybody!
Is ist easily possible to make up
0 0 0 0 0 0 0 0 0 0 0 0
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
___
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
=expression(Figure B))
Is there some straightforward way to make them match, other
than putting expression() around all strings?
I'm currently using R 2.5.0 on Fedora core 5.
Thanks,
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help
.
For an overview text, I'm partial to _Numerical Ecology_ by Legendre
and Legendre (1998) because of its readability, but there are many
more good texts.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https
-related, but this would make a great fortune.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
to
paste its by this column
and I wanna paste its not below but just at right side hand
thanks good week end
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
On 6/5/07, scott flemming [EMAIL PROTECTED] wrote:
Can R be used to draw 10 arrows in one line ?
Um, sure.
Assuming you actually also want to know how to do it, why don't
you take a look at the help for arrows().
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
--
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
would greatly appreciate your advice and time,
Best Wishes,
Jenny
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
working as I have a table in my output file.
I would like to know how to change the background color for the header
cells.
I assuming i have to use tableStyles, but I don't understand how.
Does someone have an idea to help me?
--
Sarah Goslee
http://www.functionaldiversity.org
(file.choose(),header=T)
The result is:
Error in read.table(file.choose(), header = T) :
more columns than column names
Can anybody tells me what is wrong?
___
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help
want,
you shouldn't need to use tableStyles.
Ah, right. That example was cut from a longer document where the more
elaborate method was used for demonstration purposes.
Thanks for the hard work!
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
2 4
3 9 3 6
4 12 4 8
regression(df,1,3)
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
invalid type (list) for variable 'tble[a]'
--
Sarah Goslee
http://www.functionaldiversity.org
)], cor=TRUE))
biplot(princomp(x[,c(1,3)], cor=TRUE))
biplot(princomp(x[,c(2,3)], cor=TRUE))
Is this the only way, how I could plot them?
I thought, that it could be possible to extract them of the full PCA ..
KR,
Alin
--
Sarah Goslee
http://www.functionaldiversity.org
the standard deviation
of field2 for all of the files in a directory?
I'm wondering if R could do this.
Thanks a lot.
--
Sarah Goslee
http://www.stringpage.com
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
= 0 0 0 0 1
Thanks,
Corinna
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
to?
Particularly in a broader context as it would not be nice to post all the
time such questions...
Thanks in advance,
GM
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
equivalent to crosstabs() in
S-Plus?
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
classified as suffering from the MS.
Furthermore, I need to find the number of MS patients required for a
sensitivity of 1%...
Is there a simple R-command which can do that for me?
I am completely new to R...
Help please!
Jochen
--
--
Sarah Goslee
http://www.functionaldiversity.org
book available about Multivariate
Analysis for abundance data available on the web?
Kind regards
Miltinho
Brazil
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
permission, at least technically.
I'm by no means an expert on copyright, but this is something that
comes up periodically on many email lists.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https
be
binary). I doubt that correlations are really the measure you want
anyway - if they are, then you can use simply
cor(m1, m2)
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
On 3/19/07, Sarah Goslee [EMAIL PROTECTED] wrote:
Hi Carlos,
I want to see the similarity between them, and to be able to extract the
differences between them.
You need to explain a bit more. Are you looking for number of elements in
common? How are your data set up? (eg species
will be very grateful for any of your help!
Thank you in advance,
susana.
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
with this...
Thanks,
Shubha
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
Message-
From: Sarah Goslee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 13, 2007 7:09 PM
To: Shubha Vishwanath Karanth
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Fatigued R
Hi Shubha,
Perhaps you haven't gotten any help because you haven't provided a
reproducible example
[-2,]
lst1 lst2
116
338
449
55 10
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
(dataset$genome1)
although
subset has eliminated many genomes and records.
I would greatly appreciate your input about using
unique correctly in this regard.
Thanks
Lalitha
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help
, Brian. Never mind then. You'll get to it, I'm sure.
;-)
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
, useRowNames = TRUE, styles = x.styles)
@
I hope this example is more helpful than my previous email!
If you are interested, I have a longer, heavily-commented, example
of figure and table styles for odfWeave that I'm planning to put
online shortly. I'd be happy to send you a copy.
Sarah
--
Sarah Goslee
be available directly in R.
I know that it's possible to save functions in the workspace, but I
need this functions in a library.
--
Sarah Goslee
http://www.stringpage.com
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
with the function library() the occasional slip might be forgiven?
Sarah
--
Sarah Goslee
http://www.stringpage.com
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
/groups.
--
Sarah Goslee
http://www.stringpage.com
http://www.functionaldiversity.org
__
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
On 12/14/06, Serguei Kaniovski [EMAIL PROTECTED] wrote:
Hello, how can I get rid of all dimnames so that:
test
a b c
A 1 4 7
B 2 5 8
C 3 6 9
dimnames(test) - list(NULL, NULL)
test
[,1] [,2] [,3]
[1,]147
[2,]258
[3,]369
Sarah
--
Sarah Goslee
http
subsetting on the ordination values.
3. Is it possible to extract/export the information in an object into a file
with a dbf extension (e.g. test.dbf)?
help.search(dbf) finds the function write.dbf - sounds suspiciously useful.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
site.
If you don't have an original data frame, that is, your data come only
in the form of distances, you will need a different implementation
of constrained ordination. Alternately, you could possibly modify
the function to skip the species scores step.
Sarah
--
Sarah Goslee
http
Sorry, one additional note:
You don't need to specify comm to use capscale. Ignore what I said about
modifying the function.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
behind that are
different than those underlying a constrained ordination.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
.
__
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.
--
Sarah Goslee
http
the errors into your email so we can see
what went wrong.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
that
one is spelled differently (Centre vs centre, maybe, since
R is case-sensitive?).
The easiest thing to do with no R knowledge is probably
to change the name in the csv file to match your code,
if that turns out to be the problem.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
.
Happily, my inaccurate solution turned out to solve the problem anyway.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
you were actually asking, even though it
wasn't reflected in your example... By default, R drops unused
dimensions when subsetting. You can override this behavior
b - a[1, ,drop=FALSE]
b
[,1] [,2] [,3]
[1,] 1234
See:
?subset
help('[')
?matrix
Sarah
--
Sarah Goslee
http
won't be as easy as in a prearranged commercial package.
Sarah
--
Sarah Goslee
http://www.functionaldiversity.org
__
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
)$r.squared
for(i in 2:5){
rsq - c(rsq, summary(model%i%)$r.squared)
}
--
Sarah Goslee
USDA-ARS PSWMRU
University Park, PA 16802
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
instruction (http://www.bioconductor.org/download
http://www.bioconductor.org/download ) to install Biocoductor, there have
some errors:
/usr/lib/R/bin/SHLIB: line 115: make: command not found
--
Sarah Goslee
http://www.stringpage.com
__
R-help
Autoloads
[13] package:base
detach(2)
search()
[1] .GlobalEnvpackage:methods package:graphics
[4] package:grDevices package:utils package:datasets
[7] package:ecoutils package:ecodist package:stats
[10] package:gtkDevice Autoloads package:base
Sarah
--
Sarah Goslee
http
, try Esc on Windows or Ctrl-C on Linux.
If the latter, Ctrl-Z will send your R session to the background
on Linux, and fg will bring it back. I don't think there's a
Windows equivalent.
Sarah
--
Sarah Goslee
http://www.stringpage.com
__
R-help
Then Ctrl-C should do the trick.
Sarah
On 8/22/06, Lothar Schmid [EMAIL PROTECTED] wrote:
I'm using Linux.
And I'd like just to cancel a running computation, not the entire R prompt.
Lothar
--
Sarah Goslee
http://www.stringpage.com
__
R-help
--
Sarah Goslee
__
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
in advance.
Best regards,
Ezhil
--
Sarah Goslee
__
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
the index in the dataset.
plot(x, y, type=n)
text(x, y, 1:length(x))
i doubt this is possible but i figured i would ask anyway.
thanks.
This is R... everything is possible, just not always easy.
Sarah
--
Sarah Goslee
[[alternative HTML version deleted
having trouble with my if
statement. I come from a perl background so that's probably my problem! :)
So here is my code:
if (any(lgAB4) | any(lgAB-4)){
freq_AB-hist(lgAB, type=o, plot=F)
else
freq_AB-hist(lgAB, breaks=br,type =o, plot=F)
}
--
Sarah Goslee
Since several people have commented to me, on and off list:
On 6/13/06, Sarah Goslee [EMAIL PROTECTED] wrote:
PS Using underscores in variable names is not encouraged, and
can cause you problems in certain contexts.
I realize that it is now legal in R to use underscores, since
,
Mark
--
Sarah Goslee
[[alternative HTML version deleted]]
__
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
!
http://www.R-project.org/posting-guide.html
--
Sarah Goslee
[[alternative HTML version deleted]]
__
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
--
Sarah Goslee
[[alternative HTML version deleted]]
__
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
at the prompt to get some idea of what it's doing (although not necessarily
the complete source).
Sarah
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch
.
Is that the preferred approach, or is there something nicer?
Ideally, I'd like to include one global example that covers all related
functions, but I can't find a way to do that neatly (other than possibly
a vignette?).
Thanks,
Sarah
--
Sarah Goslee
http://www.stringpage.com
[[alternative
.
The other suggestion given, by Prof. Ripley, was to include examples(B) as
part of the documentation for C, and so on.
Thank you all,
Sarah
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
R-help
and the same number of bins.
Now I would like to compare them bin by bin and plot the results.
Could someone please tell me how to do that. I searched the man pages and
the web, but couldn't find anything.
Thank you very much.
Phil
--
Sarah Goslee
http://www.stringpage.com
/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
length into one.
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
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
that filename
# do whatever assignment you'd like
assign(matname, thismat) # copy thismat back into matname
}
--
Sarah Goslee
USDA-ARS
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
variables controlling for the effect of a third
one.
Thanks a lot
Alexandra
---
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
I want to plot all these elements in 9x3 plot (9 rows
and 3 columns)
par(9,3)
You need to specify what par you want - see ?par for details.
In this case, either
par(mfrow=c(9,3))
or
par(mfcol=c(9, 3))
will do what you want.
Sarah
--
Sarah Goslee
http://www.stringpage.com
that value to a variable.
Sarah
--
Sarah Goslee
http://www.stringpage.com
[[alternative HTML version deleted]]
__
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
calculate - function(x,y)
{
a - x + yb - x - y
list(a=a, b=b)
}
myresult - calculate(x, y)
myresult$a
myresult$b
Please at least read the Introduction to R at
http://www.r-project.org/
It covers all of this very basic material.
Sarah
--
Sarah Goslee
http://www.stringpage.com
http://www.nicholas.duke.edu/landscape/classes/env358/env358.html
Neither are R tutorials, but if you understand the method, you can
better understand how to use the tools available.
Sarah
--
Sarah Goslee
http://www.stringpage.com
__
R-help
something which gives me a vector of these buckets, i.e.
bucket(cleandata[,4])=vector of 26 61 89 180 362 544
and length(bucket(cleandata[,4]))=6
Thanks,
Tolga
--
Sarah Goslee
http://www.stringpage.com
__
R-help@stat.math.ethz.ch
.
Sarah
--
Sarah Goslee
http://www.stringpage.com
__
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
under R have always perplexed me just a bit. When
I've run into problems of this sort, I've always just processed the
strings in vim or similar, rather
than fight with R. I'm sure someone here understands them - hopeully
we will both
be enlightened.
Sarah
--
Sarah Goslee
http://www.stringpage.com
--
Sarah Goslee
http://www.stringpage.com
__
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
On 6/2/05, Mathias Hunskår Furevik [EMAIL PROTECTED] wrote:
Hi,
when I run
plot.default(z1, z2, xlab = x, ylab = y, main = , pch = +)
abline(lm(z1 ~ z2))
I think you have the independent and dependent variables switched:
abline(lm(z2 ~ z1))
Sarah
--
Sarah Goslee
http
by the corresponding values of A.
How about:
B[is.na(B)] - A[is.na(B)]
Sarah
--
Sarah Goslee
http://www.stringpage.com
__
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
78 matches
Mail list logo