[R] Brillouin index

2012-01-13 Thread Philipp Fischer
Dear colleagues. I wonder if anybody knows about a procedure in R to calculate the Brillouin Diversity index. I searched the net but did not find anything about it. Thanks a lot for any help Best, Philipp *** Prof. Dr. Philipp Fischer Head of

[R] How to create a new variable based on parts of another character variable.

2011-10-23 Thread Philipp Fischer
Hello, I am just starting with R and I am having a (most probably) stupid problem by creating a new variable in a data.frame based on a part of another character variable. I have a data frame like this one: A B C AWI-test1 1 i AWI-test5