Displaying 20 results from an estimated 1000 matches similar to: "R helps win competitions"
2011 Mar 23
1
R helps win competitions
DeaR ComRades,
This is a quote from a News article in Science's 11-February issue, about competitions to model data:
"For Chris Raimondi, a search-engine expert based in Baltimore, Maryland, and winner of the HIV-treatment competition, the Kaggle contest motivated him to hone his skills in a newly learned computer language called R, which he used to encode the winning data model.
2010 Jan 29
1
Plotmath: suprscript on scalable delimiter?
ComRades,
How do you put a superscript on a scalable delimiter?
I want to put 'b' as the power of the expression in the following plot:
t <- 1:25
K <- 0.2
y <- ((1-exp(-K*t))/(1-exp(-K*t)*exp(K)))^3
plot(t,y,"l",main="K=0.2, b=3")
text(15,5,expression(bgroup("(",frac(1-e^-Kt,1-e^-Kt*e^K),")")))
Plotmath examples in demo(plotmath) do not
2011 Mar 31
1
Simple lattice question
DeaR ComRades,
require(lattice)
data <- data.frame(SP=sort(rep(as.factor(c('A','B','C','D','E')),12)),
x=rpois(60,10),
y=rep(c(rep(0,4),rep(10,4),rep(20,4)),5),
z=rep(1:4,15))
xyplot(x~y|SP,data=data,groups=z,layout=c(2,3),pch=1:4,lty=1:4,col='black',type='b')
How do I put a legend
2010 Jun 21
1
Problem with package installation
Dear ComRades,
I am having the "wrong MD5 checksums" error with every package I try to install.
It happened with R 2.11.0, then I updated to R 2.11.1, same thing.
sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252 LC_MONETARY=Spanish_Spain.1252
[4] LC_NUMERIC=C
2011 Nov 17
2
RV: Reporting a conflict between ADMB and Rtools on Windows systems
De: Rubén Roa
Enviado el: jueves, 17 de noviembre de 2011 9:53
Para: 'Users@admb-project.org'
Asunto: Reporting a conflict between ADMB and Rtools on Windows systems
Hi,
I have to work under Windows, it's a company policy.
I've just found that there is a conflict between tools used to build R packages (Rtools) and ADMB due to the need to put Rtools compiler's
2011 Feb 14
9
¿Mejor formato para insertar gráficos de R en Word?
Hola, ¿qué tal?
Me han pedido que genere unos gráficos para insertarlos en un
docuemento de Word. Yo suelo generar gráficas en formato PNG, pero me
han dicho que "quedan mal". Y yo apenas sé nada de Word.
¿Cuál sería el formato gráfico más adecuado en este caso?
Un saludo y muchas gracias,
Carlos J. Gil Bellosta
http://www.datanalytics.com
2010 Nov 22
3
Fast Two-Dimensional Optimization
Dear R Helpers,
I have attempted "optim" function to solve a two-dimensional optimization
problem. It took around 25 second to complete the procedure.
However, I want to reduce the computation time: less than 7 second. Is there
any optimization function in R which is very rapid?
Best Regards,
Wonsang
-----
Wonsang You
Leibniz Institute for Neurobiology
--
View this message in
2011 Jun 22
1
AIC() vs. mle.aic() vs. step()?
I know this a newbie question, but I've only just started using AIC for
model comparison and after a bunch of different keyword searches I've
failed to find a page laying out what the differences are between the
AIC scores assigned by AIC() and mle.aic() using default settings.
I started by using mle.aic() to find the best submodels, but then I
wanted to also be able to make comparisons
2010 Sep 24
1
(sin asunto)
Podrías mandar un summary de tu conjunto de datos o un str para ver por que
no puede estimar esos efectos, también sería útil el resultado de
with(tusdatos, table(Landscape,Crop,Position))
Gabriela
2010 Jul 12
1
ed50
I am using semiparametric Model
library(mgcv)
sm1=gam(y~x1+s(x2),family=binomial, f)
How should I find out standard error for ed50 for the above model
ED50 =( -sm1$coef[1]-f(x2)) / sm1$coef [2]
f(x2) is estimated value for non parametric term.
Thanks
[[alternative HTML version deleted]]
2011 Aug 16
1
PBSmapping, where is Ireland?!
Hi folks,
I've been using 'PBSmapping' to make a map of Europe with some labels. I've
been using the 'worldLL' PolyData, as my computer is too slow to make my own
from the GSHHS files.
The only problem is this PolyData does not seem to include Ireland. I have
no idea why this should be so, other European islands such as Sardinia etc.
are included.
2011 Mar 23
2
información sobre símbolos
Buenos días a todos,
Una pregunta muy sencilla, podrían por favor informarme dónde puedo conocer
el significado de símbolos como $, %, == que se utilizan frecuentemente en
R?
Gracias,
Angela C.
----
*Angela Andrea Camargo Sanabria*
Estudiante Doctorado en Ciencias Biológicas
Laboratorio de Ecología de poblaciones y comunidades tropicales
Centro de Investigaciones en Ecosistemas (CIEco)
UNAM,
2011 May 20
8
Building Custom GUIs for R
I am looking to build simple GUIs based on the R codes I have. The main
objective is to hide the scary R codes from non-programming people and make
it easier for them to try out different inputs.
For example,
1. The GUI will have means to upload a csv file which will be read by the R
code.
2. A button to preprocess data (carried out by a R function behind)
3. A button to build some models
2010 Mar 02
5
Random real numbers
Hi,
How could i generate random real numbers between 0 en 2*pi?
Thanks,
Frederik
[[alternative HTML version deleted]]
2010 Apr 19
2
Truncated Normal Distribution and Truncated Pareto distribution
Dear R helpers,
I have a bimodal dataset dealing with loss amounts. I have divided this dataset into two with the bounds for the first dataset i.e. dataset-A being 5,000$ to 100,000$ and the dataset-B deals with the losses exceeding 100,000$ i.e. dataset-B is left truncated.
I need to fit truncated normal disribution to dataset - I having lower bound of 5000 and upper bound of 100,000. While I
2010 Jul 07
9
problema con file
Hola. Tengo un archivo de texto con formato Ansi en Windows que lo
quiero convertir en una serie temporal pero cuando lo trato de hacer
con el siguiente comando:
out <- read.zoo(readLines(con <- file("log2.log",
encoding="UCS-2LE")),FUN = as.chron)
Me da los siguientes errores:
Error en file(file, "rt") : no se puede abrir la conexión
Además: Mensajes de
2010 May 02
3
adding year information to a scatter plot
Hi R users,
I would like to add year information to each point in a scatter plot. The
following
example shows what i mean:
df=data.frame(year=c(2001,2002,2003),a=c(8,9,7),b=c(100,90,95))
df
plot(b~a,data=df)
Now, I would like to see which point belongs to 2001, 2002 and 2003 in the
above
graphic.
Thank you very much,
ozan
[[alternative HTML version deleted]]
2011 Sep 21
2
Cannot allocate vector of size x
Dear all,
I am running a simulation in which I randomly generate a series of vectors
to test whether they fulfill a certain condition. In most cases, there is no
problem. But from time to time, the (randomly) generated vectors are too
large for my system and I get the error message: "Cannot allocate vector of
size x".
The problem is that in those cases my simulation stops and I have to
2011 Jul 25
2
How to find the likelihood of a null model in R
Dear All,
I am working on a dataset having the dependent variable as ordinal
data(discrete data) and multiple independent variables. I need to find
the likelihood for the NULL model.i.e the model with only the
dependent variable and all other independent variables as zero. Kindly
let me know how to find the likelihood for a NULL model in R. Is there
any specific function in R that can do
2004 Jun 16
2
Loading 'akward' data file
Generally you'd use file() to open the file, then use readLines(), say
inside a while() loop to read one `chunk' at a time. However, your example
looks a bit strange. The possibility of empty line makes it a bit more
complicated, by that last couple of lines seems to suggest that you could
have a line of data follow by another line of data without variable label.
If that's true, I