Displaying 3 results from an estimated 3 matches for "coefselect".
Did you mean:
coefselected
2009 Jun 01
2
subset dataframe/list
...33120395 -20,29478338 -0,274638864
2 2 -0,040629634 74,54239889 -0,069958424
3 5 -0,001116816 35,2398622 0,214327185
4 10 0,171875
5 14 0,007288399 40,06560548 -0,081828338
6 15 0,027530346 0,969969409 0,102775555
I?ve tried to subset it like this:
>coefSelected<-subset(coeficientes,"b1">0)
but it does nothing
Then I?ve tried:
> coefSelected<-subset(coeficientes,b1>0)
But I?ve got the following
Warning message:
In Ops.factor(b1, 0) : > not meaningful for factors
So I?ve tried:
> coefSelected<-subset(coeficientes,coefi...
2009 Jun 02
1
R: subset dataframe/list
Thank you all!!!
The problem was the decimal symbol! My data was saved in a
txt file, so I?ve introduced the dec="," in ?read.table?
and it worked. What I?ve done was
coeficientes<-read.table("coeficientes.txt",sep="\t",header=T,dec=",")
Then, subset worked fine
coeficientesWanted<-subset(coeficientes,b1>0)
Thanks again,
Cec?lia Carmo
2009 Jun 01
1
Fwd: subset dataframe/list
--- the forwarded message follows ---
-------------- next part --------------
An embedded message was scrubbed...
From: "Cecilia Carmo" <cecilia.carmo at ua.pt>
Subject: Re: [R] subset dataframe/list
Date: Mon, 01 Jun 2009 21:33:15 +0100
Size: 3657
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090601/921f7638/attachment-0002.mht>