Re: [R] Help in getting info from a DataFrame

2011-02-02 Thread David Winsemius
On Jan 31, 2011, at 3:44 AM, ADias wrote: David Winsemius wrote: On Jan 30, 2011, at 5:27 PM, ADias wrote: dados<- data .frame (Store = c ("Setubal ","lx ","Aveiro ","Coimbra ","Aveiro","Evora","Aveiro","Coimbra","Setubal"),Prod=c("Bloco Desenho","Bloco Desenho ","Tinteiro ","Régua ","La

Re: [R] Help in getting info from a DataFrame

2011-02-02 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 02.02.2011 11:14:18: > Hi > > r-help-boun...@r-project.org napsal dne 31.01.2011 15:51:16: > > > > > > > > > > > > > > > > > > > Hi > > > > thanks. I am not sure if I have understood 100% but at least I know now > that > > there's a diferen

Re: [R] Help in getting info from a DataFrame

2011-02-02 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 31.01.2011 15:51:16: > > > > > > > > Hi > > thanks. I am not sure if I have understood 100% but at least I know now that > there's a diference. > > About this: > > lapsales > Store Prod qtd > 5 Aveiro Lapiseira 3 > 8 Coimbra

Re: [R] Help in getting info from a DataFrame

2011-01-31 Thread ADias
Petr Pikal wrote: > > Hi > > r-help-boun...@r-project.org napsal dne 31.01.2011 09:44:00: > >> >> >> David Winsemius wrote: >> > >> > >> > On Jan 30, 2011, at 5:27 PM, ADias wrote: >> > >> >> dados<- >> >> data >> >> .frame >> >> (Store >> >> = >> >> c >> >> ("Setubal >> >> ","lx

Re: [R] Help in getting info from a DataFrame

2011-01-31 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 31.01.2011 09:44:00: > > > David Winsemius wrote: > > > > > > On Jan 30, 2011, at 5:27 PM, ADias wrote: > > > >> dados<- > >> data > >> .frame > >> (Store > >> = > >> c > >> ("Setubal > >> ","lx > >> ","Aveiro > >> ","Coimbra > >> ","Aveir

Re: [R] Help in getting info from a DataFrame

2011-01-31 Thread ADias
David Winsemius wrote: > > > On Jan 30, 2011, at 5:27 PM, ADias wrote: > >> dados<- >> data >> .frame >> (Store >> = >> c >> ("Setubal >> ","lx >> ","Aveiro >> ","Coimbra >> ","Aveiro","Evora","Aveiro","Coimbra","Setubal"),Prod=c("Bloco >> Desenho","Bloco >> Desenho >> ","Tinteiro

Re: [R] Help in getting info from a DataFrame

2011-01-30 Thread David Winsemius
On Jan 30, 2011, at 5:27 PM, ADias wrote: dados<- data .frame (Store = c ("Setubal ","lx ","Aveiro ","Coimbra ","Aveiro","Evora","Aveiro","Coimbra","Setubal"),Prod=c("Bloco Desenho","Bloco Desenho ","Tinteiro ","Régua ","Lapiseira ","Regua ","Tinteiro","Lapiseira","Lapiseira"),qt

[R] Help in getting info from a DataFrame

2011-01-30 Thread ADias
Hi, I have a data.frame and I need to know witch store sold more "Lapiseiras". I got a point where I am almost sure I am very closed to the answer but I am missing somethiing. So, the data frame is this one dados<-data.frame(Store=c("Setubal","lx","Aveiro","Coimbra","Aveiro","Evora","Aveiro","