search for: fishdata

Displaying 3 results from an estimated 3 matches for "fishdata".

Did you mean: filedata
2007 Sep 07
1
aggregate factor
...ot in the right order because "10" comes inbetween "1" and "2" What I really want is the numeric value of Age but as.numeric and as.integer returns the level value instead. Is there a way to easily get the numeric value? I am using Windows R 2.5.1 Thanks, > str(fishdata) 'data.frame': 372 obs. of 6 variables: $ Lake: Factor w/ 3 levels "EVANS","JOLLIET",..: 3 3 3 3 3 3 3 3 3 3 ... $ Age : int 1 1 1 1 1 1 1 1 1 1 ... $ TL : int 132 120 125 115 130 120 115 110 117 116 ... $ W : int 10 10 10 10 10 10 10 10 10 20 ... $ Sex : F...
2011 Feb 18
2
calculating means
...t went through. Here is my situation: I have a spreadsheet with columns of fish species (text) and length (numbers). In the fish species column I have 5 different fish. I want R to calculate the mean length and standard error for each species. I tried using the stats functin with stats(fishdata, by=species) R told me it could not find function stats. Is there a library I need to install to get stats to work? Mike [[alternative HTML version deleted]]
2012 Dec 03
0
Nested ANCOVA question
...de to generate it. I have re-run the following analysis on this example data set for this email: treatment<-c(rep(1:3,each=12)) tank<-c(rep(1:12,each=3)) fish<-c(rep(1:3, each=1, times=12)) length<-c(runif(36,15,25)) area<-c(length[1:12]*10+10,length[13:24]*10+20,length[25:36]*10) fishdata<-data.frame(treatment,tank,fish,length,area);fishdata # treatment tank fish length area #1 1 1 1 16.71511 177.1511 #2 1 1 2 21.95281 229.5281 #3 1 1 3 20.39821 213.9821 #4 1 2 1 23.67241 246.7241 #5 1 2 2 17.3566...