Re: [R] Create a data subset

From: jim holtman <jholtman_at_gmail.com>
Date: Fri, 23 May 2008 07:39:34 -0400

PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.

You should at least provide a sample of the data that you are working with and what you might think the desired output should be. It is difficult to create sample data since you don't know what the user is really working with. It helps to get responses to questions.

On Fri, May 23, 2008 at 4:53 AM, MarySR <maria.soto_at_md.ieo.es> wrote:

>
> Hello,
> I want to select same data of a data frame that has information of fish
> catches:
>
> catch, vessel, trip, day, month, year
>
> where trip is the fishing operation number done in each day by each vessel,
> i.e. for each day, any vesel can have several register of catch
> corresponding to each operation.
> >From this data frame I want to do:
> 1. Add the catches of all trip by vessel and day; then
> 2. Select rows corresponding to vessels that appear more than 120 days at
> the year; then
> 3. Select rows corresponding to vessels that appear mode than 15 years
> Does anyone know how to do that in R?
>
> Thank you in advanced
>
> Maria
>
> --
> View this message in context:
> http://www.nabble.com/Create-a-data-subset-tp17420700p17420700.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 23 May 2008 - 11:42:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 23 May 2008 - 12:30:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive