Skip to content
Prev 82015 / 398503 Next

extracting rows of a dataframe

Hi

or maybe 

 x <- as.numeric(a[2,-1])

can suit to your needs.

Petr
On 2 Dec 2005 at 17:14, Berwin A Turlach wrote:
From:           	Berwin A Turlach <berwin at maths.uwa.edu.au>
Date sent:      	Fri, 2 Dec 2005 17:14:42 +0800
To:             	Robin Hankin <r.hankin at noc.soton.ac.uk>
Copies to:      	RHelp <r-help at stat.math.ethz.ch>
Subject:        	Re: [R] extracting rows of a dataframe
Send reply to:  	berwin at maths.uwa.edu.au
	<mailto:r-help-request at stat.math.ethz.ch?subject=unsubscribe>
	<mailto:r-help-request at stat.math.ethz.ch?subject=subscribe>
Petr Pikal
petr.pikal at precheza.cz