Displaying 20 results from an estimated 4000 matches similar to: "error in xYplot from Hmisc. (PR#9389)"
2007 May 25
2
xyplot: different scales accross rows, same scales within rows
Dear list members,
I would like to set up a multiple panel in xyplots, with the same scale
for all colunms in each row, but different accross rows.
relation="free" would set up all x or y scales free... which is not what
I want :-(
Is this possible?
Thank you in advance,
Best wishes,
Marta
2008 Jan 18
2
image/area plot
Dear R users,
I am trying to produce an image plot, that represents the proportions of
a factor (z variable), so that the number of squares of each colour
represents each factor level, with the respective label inside (sorry
for the crap English).
# Something like this:
kk=data.frame(fact=letters[1:10], freq=c(5,1,10,2,10,7,5,10,30,20)) #
factor and respective frequecies
res="a" #
2002 Oct 25
2
functions
Hello,
I am a newbie in R,
I just did my first function, which works!!! And I would like to know, if I
can create a directory in the library with my functions, in a way, which I
could call that like we call the packages ?
Can anyone help me?
Thanks in advance
Marta
><((((?>`?.??.???`?.?.???`?...?><((((?>`?.??.???`?.?.???`?...?><((((?>
2002 Nov 05
1
last.warning and function problem
Hello,
I am a newbie in R and I am trying to create a function, that includes
several functions inside.
To avoid that everything stops if there is an error, I have this statement
bla = function(....){
...
if(exists("last.warning")){rm(last.warning)}
...
}
inside the function, which if I use it normally, it works fine, but once I
use it with the funciotn it gives me an error like:
2007 Jan 11
1
warning in GAM
Hello,
I have a problem when doing gam (from gam library; I am using R 2.4.0,
windows xp platform)
When doing:
example(gam)
There is this error message (which also happens when using my data)
....
Warning: a final empty element has been omitted
the part of the args list of 'list' being evaluated was:
(coefficients = fit$beta, residuals = fit$y - fit$eta, fitted.values
= fit$eta,
2004 Feb 24
3
problem of install.packages in windows (R 1.81)
Dear R users,
I have a problem in the configuration of R:
I just changed university, and my conection to the net is via a password, which
permits me to access the packages with no problem via the internet explorer
(version 6).
I just updated R to R 1.81, and I cannot download nether upgrade packages (and
many are not working with the update!!!).
I have been looking in the help and emails, and
2004 May 14
1
covariates in lm
Dear R list,
I have been trying to do a linear model, extracting the effect of a
covariate.... and the results do not match, when I do it with other programs
(e.g. minitab).... so it is obvious that I was doing something wrong.
Whan I do it with minitab, I have this results: (sector is a factor and depth
is the covariate):
Source DF Seq SS Adj SS Adj MS F P
2011 Apr 18
1
R script in batch mode
Hello All!
I'm a new R user, with no much experience.
I have a R script (downloaded from internet) which has user interaction
using "readline()" function.
So as I have to run it repeatdly (with some different options) I was
planning to do it on a BATCH mode.
Is there any way to answer the "readline()" questions from a batch file?
How do I do that?
I'm using R under
2014 Jan 30
2
objecto ggplot
Carlos,
mi intencion es entender el codigo:
https://github.com/woobe/blenditbayes/blob/master/2013-06-street-level-crime/analysis.R
Para luego hacer mi trabajo, algo similar a esto, pero adaptado a mi región.
Si te fijas en las lineas 141-161, esta esto:
## Convert the base map into a ggplot object
## All added Cartesian coordinates to enable more geom options later on
map.ggmap <-
2014 Jan 30
2
objecto ggplot
Para este ejemplo especifico:
Deseo saber si tmp genera un objecto ggplot
> tmp <- ggplot(mtcars, aes(x = hp, y=mpg)) + geom_point()
El objecto o variable tmp, devuelve una lista y un gráfico, la clase dice
ser ggplot,
>class(tmp)
[1] "gg" "ggplot"
> typeof(tmp)
[1] "list"
El 30 de enero de 2014, 13:00, daniel
2006 Jan 19
2
function kde2d
Good evening,
I am Marta Colombo, student at Milan's Politecnico.
Thank you very much for your kindness, this mailing list is really useful.
I am using the function kde2d for two-dimensional kernel density estimation and I'd like to know something more about this kind of density estimator. In particular I'd like to know: what bandwidth is used ?
Thank you in advance for your attention
2005 Nov 28
2
Robust fitting
Good evening,I am Marta Colombo, student of "Politecnico di Milano". I'm studying Local Regression Techniques such as loess, smoothing splines and kernel smoothers. Choosing "symmetric" for the argument "family" in loess function it is possible to produce a robust estimate , in function smooth.spline and ksmooth I didn't find this possibility. Well, is there a
2014 Jan 30
2
objecto ggplot
Daniel,
Disculpa si no entiendo, pero, entonces un objecto ggplot en en realidad
una función
y no un gráfico
El 30 de enero de 2014, 11:09, Marta Garcia <marta000garcia@gmail.com>escribió:
> Sí, devuelve Error: No layers in plot, no le he agregado capas
> por eso el error, la funcion me dice que es un gráfico
>
>
> El 30 de enero de 2014, 10:31, José María Mateos
2014 Jan 28
2
Duda con get_map de ggmap
Marta,
Seguramente, al desconocer tu objetivo, no te servirá de mucho lo que te
diga. No se si quieres escribir un paquete para mapas o simplemente hacer
un mapa con la librería ggmap sin preocuparte de la magia interna. Si lo
que necesitas es lo segundo puede que te sirva el siguiente ejemplo:
http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf
2005 Mar 01
4
write a library under 2.0.1 version
Hi there,
I had written a library under R 1.9.0 and now I would like to import that
library under R 2.0.1
Apparently it does not work; I can install the package, but when I try to
read it the error is the following:
Error in library(compvar) : 'compvar' is not a valid package -- installed
< 2.0.0
I have checked other libraries in R 2.0.1 and I noticed that there is a
new folders
2014 Jun 04
2
error de incompatible methods
Hola Daniel, si perdona di a responder directamente y no me di cuenta.
Ya se donde esta el error, pero queria preguntar si a puede ser que mi R
funcione mal o algo porque esta manhana ejecute mi script y funciono
perfectamente y ahora volvi a ejecutarlo y me volvio a dar el mismo
problema de ayer , despues de reiniciar y demas el tinnR y el R, no se si
me vacila o es que tengo algo mal en
2014 May 29
5
ayuda con "unexpected symbol"
Hola,
Tengo la version R 3.1, estoy intentado usar este script pero me dice que
el simbolo " no tiene que estar ahi, ya intente borrando comillas o
diferentes formas y no lo consigo, si alguien sabe agradezco ayuda.
setwd("C:/users/marta/desktop/DB")
library(chron)
library(xlsx)
filename<-"univerest_50.csv"
filename<-"monicap_50.csv"
2010 Apr 06
1
approx function wierd result
Dear R-list members,
I am calculating the linear extrapolation for a data set, using the function
found in Hmisc.
x=c(0.0265,-0.0003,0.0142,0.0263,0.0634,0.1145,0.2504)
y=c(58,107,152,239,362,512,724)
x1=0.0393216
approxExtrap(x,y,x1, method="linear")
approx(x,y,x1)
#to see what is happening:
plot(x, y, typ="o")
abline(v=x1, col=8)
Which gives x=0.03 and y=163, instead of
2014 Sep 11
2
separar un archivo por años en diferentes archivos
Hola Marta,
Si el código exacto que utilizaste es el que has compartido, hay un error...
Te falta cerrar un corchete. Y he incluido un detalle para que los ficheros
tengan como nombre los años...
?#--------------------------?
??filename<-"test1.csv"
DBa<-read.csv(filename,sep="*;*" ,header=TRUE)
anios<-unique(DBa$Year)
for(i in 1:length(anios)) {
2014 Jan 28
2
Duda con get_map de ggmap
Gracias Carlos por la clara explicación, si alguien más quiere aportar,
bienvenido
El 28 de enero de 2014, 12:07, Carlos Ortega <cof@qualityexcellence.es>escribió:
> Hola Marta,
>
> Lo que quiere decir (lo que yo entiendo que quiere decir) es que
> directamente el código es la misma función de Google a la que se la recubre
> ("wrapper") con código "R"