Displaying 2 results from an estimated 2 matches for "r55504".
Did you mean:
255504
2011 Jun 23
5
Reducción tamaño de gráficos en PDF
...Jorge Ivan Velez
# R code
source(''http://dl.dropbox.com/u/9601860/QQ-plot.txt'')
# datos
p <- runif(300000, 0, 1)
# grafico
pdf(''example.pdf'')
plotux(p, 4, main = "", xlim = c(0, 6))
dev.off()
# sessionInfo()
R version 2.13.0 Patched (2011-04-18 r55504)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
[[alternative HTML version deleted]]
2011 May 27
0
Regresión Beta: más rápido?
...- function(x){
d <- data.frame(x, y)
m <- betareg(y ~ x, data = d)
beta <- summary(m)$coefficients$mean[2, c(1,4)]
beta
}
system.time({
betas <- t(apply(X, 2, foo))
})
# user system elapsed
# 10.512 0.191 10.692
sessionInfo()
R version 2.13.0 Patched (2011-04-18 r55504)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] betareg_2.3-0 Formula_1.0-0
loaded via a namespace (and n...