Milu,
To get the quickest help and keep everyone in the loop, you should cc the
help list.
I don't understand your question. If you want the mean GDP use the mean
function, if you want the sum of the GDP use the sum function.
Jean
On Fri, Jan 13, 2017 at 5:33 PM, Miluji Sb
I have installed package rgl without any problems. I can load the library,
issue commands from console without any errors showing up, however I can't
get anything plotted. Example session:
> library(rgl)
> plot3d(rnorm(100), rnorm(100), rnorm(100))
> rgl.quit()
> library(rgl)
> .check3d()
glX
1
Hi John,
I don't think this is the right place to find information about
RStudio or Microsoft products. If you re-phrase the question in terms
of what you want to accomplish rather than whether RStudio or
Microsoft is better perhaps people here will give you some
suggestions.
Best,
Ista
On Wed,
Hi Ed,
It's little hard to work out exactly what you want, but here's a guess:
esdf<-data.frame(GENO=rep(c("control","A","B","AB"),each=20),
age=rep(c(10,20),40),OBS=runif(80,1,21))
for(age in c(10,20)) {
for(geno in c("A","B","AB"))
print(t.test(OBS~GENO,esdf[esdf$age==age &
esdf$GENO
This simple form of a hyperbola is not well known. I find it useful for change point
models: since the derivative is continuous it often behaves better in a maximizer.
h1 <- function(x, b, k=3) .5 * b * (x + sqrt(x^2 + k^2))
Function h1() has asymptotes of y=0 to the left of 0 and y=x to the
On Wed, Jan 18, 2017 at 11:03 AM, John Sorkin
wrote:
> Please forgive my resending this help request. I sent it two days ago. To
> date I have not received any responses.
> Thank you,
> John
>
>
> I am looking for a small computer low power that I make available on
Try asking on R-sig-geo mailing list
Also, state what package(s) you are using, and include what you have already
tried.
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 1/19/17, 10:53 AM, "R-help on behalf of lily li"
Hi R users,
I'm trying to open netcdf files in R. Each nc file has daily climate
measurements for a whole year, covering the whole US. How to limit the file
to a specific rectangle? Thanks.
[[alternative HTML version deleted]]
__
The 'error' argument to tryCatch must be a function (of one argument,
the exception). Its return value will be the return value of tryCatch
if there is an error. Hence you should change the present
error = return(TBAPrice)
to
error = function(exception) TBAPrice
You can use
error =
I have a data set with observations on groups with multiple variables.
Let's call them GENO and AGE. I have control and test genotypes
and two different ages. It is only meaningful to compare control and
test within the same age.
I'd like to get the p value for each group compared back to
All,
I have a function that I would like to return 0 or NA on unit root error but I
cannot figure out how to get tryCatch to work. I have followed the examples in
the R documentation as well as some online but I am missing something. If I
added the tryCatch code I only get the error value.
Paul,
Just prefix the command as you would with, say, /usr/bin/time. An example is
here:
https://github.com/RcppCore/rcpp-logs/blob/master/scripts/runRcppDepends.r#L140L-L142
from the script I use to test all Rcpp dependencies -- now over 900 --
unattended.
Some packages also need
On 19/01/2017 11:52 AM, Paul Johnson wrote:
In Centos 7 systems, I wrote a script that runs on the cron and I
notice some package updates and installs fail like this:
Error : .onLoad failed in loadNamespace() for 'iplots', details:
call: .jnew("org/rosuda/iplots/Framework")
error:
In Centos 7 systems, I wrote a script that runs on the cron and I
notice some package updates and installs fail like this:
Error : .onLoad failed in loadNamespace() for 'iplots', details:
call: .jnew("org/rosuda/iplots/Framework")
error: java.awt.HeadlessException:
No X11 DISPLAY variable
Hi,
You need to reply to the list as well as to me; I can't provide private R help.
I don't know what more help you need: I told you what function to use,
and what google search I used to find the answer.
If you have additional problems you need to be more specific in your
question. This link
Hola.
Lo que yo haría es crear los folds, (10 por ejemplo) antes de balancear.
Luego en cada ciclo de la validación cruzada, balancearía los datos que
utilizo para entrenar el modelo y valido sobre el fold que queda sin
balancear. Creo que caret hace justo eso.
Saludos
El 19 de enero de 2017,
You really need to go to the literature. The analysis of rank
transformed data has a long history going back to the 1970's/80's, at
least. See, e.g.
bruno.rproj...@gmail.com
Em qui, 19 de jan de 2017 05:22,
escreveu:
> Dear Brian,
> Thank you for your answer.
> Another thing that came to my mind: Would it be possible just to
> separately rank-transform my 3 dependent variables and then to conduct a
>
Estimados
Yo estoy de acuerdo, en muchas oportunidades lo más sencillo es abrir el
archivo con un editor de textos, reemplazar, borrar, guardar, y luego leer en R.
Pero gedit no es muy apto que digamos para muchos datos, a mi me paso “colgar”
Linux con gedit abriendo archivo de texto,
Sensacional! Muchas gracias, Marcelino. Funcionó muy bien.
Opté por el Gedit como editor de texto decente. Así que sumé por ese lado
también.
Gracias a la lista.
Saludos.
El 19 de enero de 2017, 8:25, Marcelino de la Cruz Rot <
marcelino.delac...@urjc.es> escribió:
> Hola,
> de todas formas, si
Muy bueno, Carlos.
Tener un "editor de texto decente" me parece BÁSICO!
...de hecho, si tienes un "editor de código de R decente" ese mismo te
sirve.
:-)
Un saludo,
--
Miguel Ángel Rodríguez Muíños
Dirección Xeral de Saúde Pública
Consellería de Sanidade
Xunta de Galicia
http://dxsp.sergas.es
Muchas gracias por tu sugerencia, Carlos.
Andamos cortos de decencia por estos pagos, pero la voy a tomar en cuenta
si no logro hacer el str_replace una vez cargado el archivo con fread!!
El 19 de enero de 2017, 7:31, Carlos J. Gil Bellosta
escribió:
> Hola, ¿qué tal?
>
>
Tenía la versión data.table 1.9.6.- Actualicé a la data.table 1.10.0 y
funcionó tal cual lo indicás. Muchas gracias.
Para eliminar las " adicionales estoy usando:
library(stringr)
library(plyr)
datos$d_nomenclador <- str_replace(datos$d_nomenclador, pattern='\\","',
replacement="")
Hola, ¿qué tal?
Abre el fichero con un editor de texto decente. Excel no es un editor
de texto decente. Notepad, tampoco. Elige uno y hazte amigo de él para
siempre. Con su concurso, sustituye todas (¡todas sin excepción!) las
comillas por nada.
Luego, guarda el fichero y
24 matches
Mail list logo