Displaying 9 results from an estimated 9 matches for "mammalog".
Did you mean:
mammalogy
2011 Aug 15
3
how can I read a xlsx file
Hello,
How can I read a xlsx file using xlsx package?
Thanks
Albert
[[alternative HTML version deleted]]
2011 Aug 30
1
R crash
...s(select)[k], las=1)
points(select_mean[[ind.xvar-diff_len]], select_mean[[k-diff_len]],
pch=18, cex=2)
two_reg(dat=select, xvar=ind.xvar, yvar=k)
}
dev.off()
-------------------------
--
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Dept. Mammalogy
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de
**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php
2011 Jun 27
2
Add use of dput() to the instructions at bottom of post?
It's often difficult to figure out what a problem data set looks like when someone pastes a mess of output from R into an e-mail. The dput command, used judiciously?I would hope no one would send a 1 M data set?can make life much easier.
I wonder if it would be useful to add a hint in the instructions at the bottom of the posting page, where the list asks for self-contained reproducible
2011 Aug 01
1
Write.table Question
Hi,
I'm trying to create an abbreviated data file from a larger version. I can
use the subset command to create a value for this data:
dat <-subset(raw.data, select=c(SNP, Pvalue))
> head (dat)
SNP Pvalue
1 rs11 0.6516
2 rs12 0.3311
3 rs13 0.5615
but when I try to write.table using:
write.table (dat, file = "/path/to/my/data.txt", sep = " ",
2011 Oct 13
2
write.csv naming file after function argument
Dear R-users,
I'm writing a program that constructs a dataset. I wish to save the dataset
to a file.
Here's a very simple example of what I'm trying to do
function(x=peter){
y <- x/2
write.csv(y, file = "...\x")
}
The problem is that I want to name the dataset as whatever the name of the
input is. In this case peter.
How do I do this?
Thank you in advance.
Kristian
2011 Sep 27
2
searching several subsequences in a single string sequence
Hi all
I am analyzing bird song element sequences. I would like to know how can I
get how many times a given subsequence is found in single string sequence.
For example:
If I have this single sequence:
ABCABAABABABCAB
I am looking for the subsequence "ABC". Want I need to get here is that the
subsequence is found twice.
Any idea how can I do this?
Thanks
2011 Sep 09
2
get and save
I have a data frame 'tmp' and a vector 'name' containing 'd2'.
I want to save 'tmp' under the name hidden in 'name', and the file must have
the same name, plus the extension '.rda'.
So I try
> tmp
x y
1 1 3
2 2 4
> name
[1] "d2"
> assign(name, tmp)
> summary(get(name))
x y
Min. :1.00 Min. :3.00
1st
2011 Jun 15
3
Column of numbers added to dataframe when saving with read.csv
I have a dataframe object having the following structure
FinalOutput[1:3,]
GasDays 2011-03-31 2010-09-30 2010-10-31 2010-11-30 2010-12-31
2011-01-31 2011-02-28
1 2006-10-01 217303553 221205033 222824639 217016511 216093460
216477468 216834021
2 2006-10-02 231158527 234565250 236004109 231467851 230100639
230079907 230734064
3 2006-10-03 282062314 285427832 286372163
2011 Jul 05
1
How to translate string to variable inside a command in an easy way in R
I want to write a function that get 2 strings y and z and does the following
R command.
temp<-qq1[qq1$z==y,]
for example if it get y="AMI" and z="PrimaryConditionGroup"
It should do the following
temp<-qq1[qq1$PrimaryConditionGroup=="AMI",]
I could do it by the following function that is ugly and I wonder if there
is an easier way to do it espacielly when temp