Displaying 3 results from an estimated 3 matches for "area_1".
Did you mean:
area51
2012 Mar 16
1
help to split a ID column in a data.frame and create a new ID column
Dear Researchers,
I have a data.frame with 2 columns like this:
mydf <-
data.frame(value=c(1,2,3,4,5),ID=c("Area_1","Area_2","Area_3","Area_4","Area_5"))
> mydf
value ID
1 1 Area_1
2 2 Area_2
3 3 Area_3
4 4 Area_4
5 5 Area_5
I need to convert the *ID *in the following version
> mydf
value ID newID
1 1 Area_1 AreaSam...
2009 Jan 28
2
Repeated measures design for GAM? - corrected question...
Dear all,
I have a question on the use of GAM with repeated measures. My dataset is as follows:
- a number of study areas where bird abundance has been determined. Counts have been performed in 3 consecutive years and there were 2 counts per year (i.e. in total 6 counts).
- a number of environmental predictors that do not change over year Xi).
When using a GLM, a repeated measures design would
2009 Jan 28
2
t.test in a loop
Hi All,
I've been having a little trouble with creating a loop that will run a a
series of t.tests for inspection,
Below is the code i've tried, and some checks i've looked at.
I've used the get(paste()) idea as i was told previously that the use of the
eval should try and be avoided.
I've run a single syntax to check that my systax is correct and works
without any problems