quot; &
city != "Wittenberg")
# the model
m1 <- lm(prot1530 ~ press - 1, data = cities)
# the clustered standard errors
coeftest(m1, vcov. = vcovCL(m1, cluster=cities$territory))
I tried different types (HC1, HC2, etc), but always the value for the SE
is not the same as in th
mpilation, since as far
as I know, the package `base' should be loaded automatically by starting
R...
--
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido ::::
___
Kate Ignatius writes:
> Hi All,
>
> I've successfully gotten out the colMeans for 60 columns using:
>
> col <- colMeans(x, na.rm = TRUE, dims = 1)
>
> My next question is: is there a way of getting a mean of all the
> column means (ie a mean of a mean)?
maybe
m
laura tomé writes:
> Hola,
>
> Estoy todavía dando mis primeros pasos en R y una de las cosas que
> tengo que hacer es trabajar con un csv de 16 GB. Consta de 10
> columnas, 7 númericas
escribe a la lista en español, que está aquí:
https://stat.ethz.ch/mailman/listinfo/r-help-es
__
t;Regueras
(Las)"). Others don't. I want to do the following conversion:
"Regueras (Las)"---> "Las Regueras"
That is: I want to loop through the names, look whether they have a
postponed article, extract and delete this article and put it in front
of the rest of
I have to add some clarification:
there are ONLY 4 articles (el,la,los,las) and the structure is always
the same:
NAMEOFMUNICIPALITY (El)
NAMEOFMUNICIPALITY (La)
etc.
On Tue, Mar 13, 2012 at 10:42:54AM +0100, Igor Sosa Mayor wrote:
> Hi R-Users,
>
> I want to manipulate some strin
explanation of
the perl expression you wrote (as far as I can understand, the point is
this \\3 \\1...).
thx again
On Tue, Mar 13, 2012 at 11:12:24AM +0100, Berend Hasselman wrote:
>
> On 13-03-2012, at 10:42, Igor Sosa Mayor wrote:
>
> > Hi R-Users,
> >
> > I want to man
Berend:
1. 1000 thanks for your help. It works perfectly
2. many thanks for the analysis of the expression; i will try to
understand it. Perl is really not easy to read
thanks again!
On Tue, Mar 13, 2012 at 11:51:49AM +0100, Berend Hasselman wrote:
>
> On 13-03-2012, at 11:28, Igor Sosa
k).
>
> Kjetil
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, rep
ct). Is there
> an elegant way to do this?
> Best,
> marco
> [[alternative HTML version deleted]]
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting
', '<- elecregtipos(',y,')',sep='')))
}
At the moment I'm getting the error:
Error en `[.data.frame`(x, , y) : objeto 'upyd' no encontrado
If I call simply:
elecregtipos("upyd")
it works perfectly. The problem is the loop, column names, e
s.gen2011, id=c("municipio", "total", "tipo"),
> variable.name="party", value.name="vote")
>
> dlply(ast, .(party, tipo), lm, formula=vote~total)
>
> or along those lines. This way you don't have to mess around with past
gt; https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
:: Igor Sosa Mayor :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890 ::
-home.htm
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproduc
14 matches
Mail list logo