Displaying 1 result from an estimated 1 matches for "dbhmean".
Did you mean:
dahmen
2011 Aug 16
2
Filtering a table
...19.8069955
575 1 83.45738555
575 1 7.763555744
725 1 2.578551542
I would like to calculate the dbh mean but only for species 1, time 575. I have tried this
> names (exp1)
[1] "time" "species" "dbh"
> time = c(1)
> species=c(2)
> dbh=c(3)
> dbhmean <- mean (exp1 [time==575 & species ==1])
> dbhmean
named list()
I am not sure why it appears the message "named list()"...
Can anybody give me some hints on how to do this correctly?
Thanks.
[[alternative HTML version deleted]]