Displaying 7 results from an estimated 7 matches for "puntar".
Did you mean:
untar
2004 Aug 27
4
for (i in ...) { df[[i]]<- .....}
R-help,
In the following loop :
for(i in 1:8)
{
cc[[i]]<-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
cbind.data.frame(cc[[1]],cc[[2]],cc[[3]],cc[[4]],
cc[[5]],c[[6]],cc[[7]],cc[[8]])
}
Is there anyway I can 'cbind.data.frame' the objects cc[[ i ]] without
actually writing every single element??
In this case there are 8 but...
2004 Jul 23
2
retrieve rows from frame assuming criterion
Hi all,
I have a data frame in which one column(PUNTAR) is of character type.
What I want is to retrieve is the frame but only with those rows matching elements of PUNTAR with a list characters (e.g c("IX49","IX48") )
Year TUR STODNR PUNTAR
1994 9412 94020061 IX49
1994 9412 94020062 IX48
1994 9412 94020063 X32...
2004 Jul 23
1
R: retrieve rows from frame assuming criterion [corrected]
sorry for my previus (WRONG)
answer, as someone already pointed out
a solution could be
subset(data, PUNTAR==c("IX49","IX48"))
> -----Messaggio originale-----
> Da: Guazzetti Stefano
> Inviato: venerd?? 23 luglio 2004 15.55
> A: 'Luis Rideau Cruz'; r-help at stat.math.ethz.ch
> Oggetto: R: [R] retrieve rows from frame assuming criterion
>
>
> Assu...
2004 Jul 23
0
retrieve rows from frame assuming criterion [corrected]
...7 b 7
8 b 8
9 b 9
10 c 10
What matters is the use of "%in%" instead of "==", not the use of subset().
Andy
> From: Guazzetti Stefano
>
> sorry for my previus (WRONG)
> answer, as someone already pointed out
> a solution could be
>
> subset(data, PUNTAR==c("IX49","IX48"))
>
>
>
> > -----Messaggio originale-----
> > Da: Guazzetti Stefano
> > Inviato: venerd?? 23 luglio 2004 15.55
> > A: 'Luis Rideau Cruz'; r-help at stat.math.ethz.ch
> > Oggetto: R: [R] retrieve rows from frame...
2004 Jul 23
0
R: R: retrieve rows from frame assuming criterion [corrected]
...getto: Re: R: [R] retrieve rows from frame assuming criterion
> [corrected]
>
>
> On Fri, 23 Jul 2004, Guazzetti Stefano wrote:
>
> > sorry for my previus (WRONG)
> > answer, as someone already pointed out
> > a solution could be
> >
> > subset(data, PUNTAR==c("IX49","IX48"))
>
> That's still wrong. You want PUNTAR %in% c("IX49","IX48"). Using ==
> recycles entries, so it tests the first element against
> "IX49", the second
> against "IX48", the third against "IX49...
2007 Aug 30
1
boxplot will remember the factor levels
...als factors are shown.
This produces a spurious box-and-whisker plot.
If the subset data are exported to another R session the problem is
gone.
Why are the factors still "remembered" by the boxplot?
Attached is a copy of the data.
Thanks in advance
## the line code
boxplot(mLength ~ puntar,data=test)
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major...
2015 Mar 26
2
Acceso gratuito durante un mes a la plataforma DataCamp...
...acamp.com/enroll-meetup
?Cuidado que los cursos son en inglés y para darse de alta, aun siendo
gratuitio este primer mes, hay que asociar una tarjeta de crédito o una
cuenta Paypal. Pasado este mes el estar dado de alta en la plataforma
cuesta ?25$/mes.?
?Durante este mes gratuito, uno se puede a puntar a cualquier curso
(necesitan de una dedicación de de 5-8 horas aprox.). Los cursos van desde
"Introducción a R"? hasta el uso de la solución "RevoScale" para BigData de
Revolution Analytics.
Saludos,
Carlos Ortega
www.qualityexcellence.es
[[alternative HTML version deleted]]