Re: [R] add line to data.frame

2007-06-20 Thread Christophe Pallier
On 6/20/07, Manuele Pesenti [EMAIL PROTECTED] wrote:

 how can I update a data.frame adding new lines?


rbind


 I need to create a second data frame from a first one with only some of
 their
 entrys filtering the value of a specific column... How can I do this?


dtf2 - dtf1[dtf1$col=='xxx',]

-- 
Christophe Pallier (http://www.pallier.org)

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch 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.


Re: [R] add line to data.frame

2007-06-20 Thread John Kane

--- Manuele Pesenti
[EMAIL PROTECTED] wrote:

 Dear R user,
 
 how can I update a data.frame adding new lines?

?rbind

 I need to create a second data frame from a first
 one with only some of their 
 entrys filtering the value of a specific column...
 How can I do this?

?subset 
 
 thankyou very much in advance
 best regards
   Manuele PEsenti
 
 -- 
 Manuele Pesenti
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   http://mpesenti.polito.it
 
 __
 R-help@stat.math.ethz.ch 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.


__
R-help@stat.math.ethz.ch 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.