Displaying 3 results from an estimated 3 matches for "naira".
Did you mean:
taira
2008 Nov 06
3
unlist & dataframes
...ame (character) and Age (numeric).
Now when I unlist l, I obtain :
unlist(l)
Name1 Name2 Age1 Age2 Name1 Name2 Age1 Age2
1 2 1 2 1 2 3 4
Is there a way to at least obtain something like
A 1 B 2 C 3 D 4 as result from the unlist??
Thanks a lot for your replies
Naira
--
View this message in context: http://www.nabble.com/unlist---dataframes-tp20358993p20358993.html
Sent from the R help mailing list archive at Nabble.com.
2008 May 19
2
From strings to numbers
Dear all,
I would like to know if there is an easy to transform a vector of strings to
a vector of integers.
Ex:
("ab","ab","bb","cat","cat","ab") will be
(1, 1, 2, 3, 3, 1)
Thx,
Naira
--
View this message in context: http://www.nabble.com/From-strings-to-numbers-tp17315179p17315179.html
Sent from the R help mailing list archive at Nabble.com.
2008 May 19
3
Rank Values in a Matrix
Dear All,
a short and maybe simple question:
I have to rank all values in a matrix from 0 to X,
[1] [2] [3] [4]
[1] 0.1 2 0 3
[2] 50 3 3 1
[3] 100 1 1 0
[4] 100 2 2 0
0->0
0.1->1
2->2
3->3
50->4
100->5 (X=5)
is there any function for this? i have looked in several packages
(vegan, labdsv etc.) because I am working with species by site tables,