Dear R-community,
When doing this:
> test<-data.frame(a=c(1,2,3))
> rbind(test$a, 3)
I expect something like:
> 1
> 2
> 3
> 2
but get:
> [,1] [,2] [,3]
>[1,]123
>[2,]222
the same for:
rbind(test[["a"]], 2)
or
rbind(as.vector(test[["a"]]), 2)
or
rbind(t(as.vector(
dear R-Community
is there a function which sums data "stepwise"
exp:
2
1
4
5
Desired result
2 = 2
2+1 = 3
2+1+4 = 7
2+1+4+5 = 12
Is there a built in function for this?
Thx
Dom
--
View this message in context:
http://r.789695.n4.nabble.com/stepwise-sum-tp3874606p3874606.html
Sent from th
problem solved
?fortify -> examples
thanks
Michael
--
View this message in context:
http://r.789695.n4.nabble.com/qplot-model-tp3815060p3815113.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https:/
hi R Community
Is it possible to plot a model using the ggplot2 package.
Something like:
x<-rnorm(100)
y<-rnorm(100)
fit<-lm(y~x)
plot(fit)
but with ggplot2
qplot(fit)?
thanks
michael
--
View this message in context:
http://r.789695.n4.nabble.com/qplot-model-tp3815060p3815060.html
Sent from t
That was my first guess as well, but unfortunately this doesn't solve the
problem.
I is remarkably that IE requires authentification for every new instance I
open (even if another instance is already open)...
Any other hints?
--
View this message in context:
http://r.789695.n4.nabble.com/Config
Hi there
I'm trying to configure R to get access to the internet.
Using the Internet Explorer a proxy .pac script is used.
Reading some older threads I found that I can use the --internet2 option.
When choosing a mirror I get the error: "407 Proxy Authentication Required".
This seems reasonable
Thanks, works perfectly
--
View this message in context:
http://r.789695.n4.nabble.com/filter-data-frame-tp2966377p2966398.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/
hi all,
how do I filter a dataframe.
What I am looking for is something like:
data<-data.frame(matrix(c(2,2,1,2,2,2,2,2,3),byrow=TRUE,ncol=3))
subset(data, subset=(X3=="3" && X2=="2" && X1=="2"))
thanks
--
View this message in context:
http://r.789695.n4.nabble.com/filter-data-frame-tp296
8 matches
Mail list logo