search for: forklength

Displaying 5 results from an estimated 5 matches for "forklength".

2008 Sep 09
1
Binning
Dear List: I have a dataset with over 5000 records and I would like to put the Count in bins based on the ForkLength. e.g. Forklength Count 32-34 ? 35-37 ? 38-40 ? and so on... and lastly I would like to plot (scatterplot) including the SampleDate along the X axis and ForkLength along the Y axis. I recently saw an example similar to this one here but I...
2008 Dec 24
2
ggplot2 Xlim
Hi: I need some help. I am ploting a bar graph but I can't adjust my x axis scale I use this code: i <- qplot(ForkLength,Number,data=FL,geom="bar") i + geom_bar(colour="blue",fill="grey65") # too crowded FL_dat <- ggplot(FL,aes(x=ForkLength,y=Number)) + geom_bar(colour="green",fill="grey65") FL_dat + scale_x_continuous(limits=c(20,170)) # Can't se...
2009 Feb 11
1
function question
Hi everyone: I did this before with R and I can't remember how. I got some fish forklength values FL number 34 4 35 3 36 7 I need to breakdown the FL by the number of fish with the same length like this: 34 1 34 1 34 1 34 1 35 1 35 1 35 1 36 1 36 1 36 1 36 1 36 1 36 1 36 1 Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fis...
2007 Jul 15
1
How to load a dataset
Hi: Since I didn't get any answers, I'll refresh my question. I have a dataset called "Chinook Run" saved in Excel and I want it to be loaded everytime R starts, so I can call it with a statement like the one below: qplot(color, Year/Forklength, data = Chinook Run) I wonder how can I do that. I went to the rprofile.site and copied the path to my dataset there and it seems to work but I am wondering if that's how's done. Felipe Felipe D. Carrillo Fishery Biologist US Fish & Wildlife Service Red Bluff, Calif...
2008 Dec 26
1
starting values update
...com> Subject: Re: [R] ggplot2 Xlim To: r-help@r-project.org Message-ID: <21170453.post@talk.nabble.com> Content-Type: text/plain; charset=us-ascii I'm just a ggplot2 beginner, but... It seems to me that you're mixing continuous and factor variables/concepts. It looks to me as if ForkLength and Number are continuous values. But you'll need to convert ForkLength into a factor before using geom="bar". I do that and the graph "works" but the bars are extremely busy, which I assume is what you mean by "crowded". As I try several different things, I'm...