The order the bars are plotted in is determined by the levels in a factor, and
your labels are treated as a factor. You can make sure you keep the order of
your labels by simply doing this:
Lab <- factor(Lab, levels = Lab)
before constructing the data frame.
Cheers
On 27 Jun 2017, 20.43
Why don't you implement and uplad the package to CRAN?
On 27 Jun 2017 17:45, "Chris Buddenhagen" wrote:
Does anyone know of some code, and examples that implement game theory/Nash
equilibrium hypothesis testing using existing packages like igraph/statnet
or similar?
Hello, could anybody direct me where to find code for optim.R? I was able to
find the C code at http://docs.rexamine.com/R-devel/optim_8c.html, but the R
version would be easier for me to work with and modify.
Thank you!
[[alternative HTML version deleted]]
Hello,
A Google search for "R package Local Nash Equilibrium"
got
https://cran.r-project.org/web/packages/GNE/GNE.pdf
as the first hit.
Hope this helps,
Rui Barradas
Em 27-06-2017 16:45, Chris Buddenhagen escreveu:
Does anyone know of some code, and examples that implement game theory/Nash
There is no member id. Anyone can sign up to post on this list. I
already responded to your prior post.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
I apologise as I had mistakenly posted this message via non- member mail. So
I'm reposting it with member id. I need help in this case.
> Hi friends,
> I haven't done such a simulation before and any help would be greatly
> appreciated. I need your guidance.
>
> I need to simulate end to end
Thanks Jean, that worked!
On Tue, Jun 27, 2017 at 3:58 PM, Adams, Jean wrote:
> You just have to change the levels of the factor ...
>
> library(ggplot2)
>
> Lab = c(letters[4:6], letters[1:3])
> valuex = c(3.1,2.3,0.4,-0.4,-1.2,-4.4)
> df <- data.frame(Lab,valuex)
>
> # set
Hi,
I was trying to make a horizontal bar plot. The barplot works when the text
labels are of reasonable length, but not if some of them are slightly long.
I think the long ones get 'squeezed' by default before the plot is flipped
and keep the skew after the flip. Is there a way I can get around
Si he intentado con el paquete haven pero no me lee todos los datos, se me
corta el archivo, después de un tiempo de procesamiento. Te adjunto el
fichero que quiero leer, que es del ESS, es verdad que es muy pesado, y
luego puedo seleccionar un subconjunto de ello
ESS1-7e01.rar
Buenas tardes, me gustaría hacer una pregunta. cuando se esta haciendo un
análisis con gam que variables se pueden suavizar. Dentro e mis variables
tengo demanda interna, demanda externa y producción y quiero saber como se
comporta el precio con respecto a esas variables. ademas tengo una serie de
You just have to change the levels of the factor ...
library(ggplot2)
Lab = c(letters[4:6], letters[1:3])
valuex = c(3.1,2.3,0.4,-0.4,-1.2,-4.4)
df <- data.frame(Lab,valuex)
# set the factor levels to the same order as observed in the data frame
df$Lab <- factor(df$Lab, levels=unique(df$Lab))
Hi,
I was trying to draw a geom_bar plot. However, by default, the bars are
arranged according to the label, which I don't want. I want the bars to
appear exactly as they appear in the data frame. For example in the code:
Lab=c(letters[4:6],letters[1:3])
valuex = c(3.1,2.3,0.4,-0.4,-1.2,-4.4)
2017-06-27 13:12 GMT-04:00 Antonio Rodriguez Andres <
antoniorodriguezandre...@gmail.com>:
> Que archivo has intentado leer el del VWS o el de la link que te envié?
Ambos. El del enlace que me enviaste es bastante más pequeño (me tendrías
que decir qué variables seleccionar para que sean
Freddy
Que archivo has intentado leer el del VWS o el de la link que te envié?
2017-06-27 11:33 GMT-05:00 Freddy Omar López Quintero <
freddy.lopez.quint...@gmail.com>:
>
> 2017-06-27 11:42 GMT-04:00 Antonio Rodriguez Andres <
> antoniorodriguezandre...@gmail.com>:
>
>> Estaba usando el ESS
2017-06-27 11:42 GMT-04:00 Antonio Rodriguez Andres <
antoniorodriguezandre...@gmail.com>:
> Estaba usando el ESS pero me he dado cuenta que si tiene csv, yo lo bajé
> de aquí en formato SPSS pero me da el error de falta de memoria
>
>
> http://www.europeansocialsurvey.org/downloadwizard/
>
De
Does anyone know of some code, and examples that implement game theory/Nash
equilibrium hypothesis testing using existing packages like igraph/statnet
or similar?
Perhaps along the lines of this article:
Zhang, Y., Aziz-Alaoui, M. A., Bertelle, C., & Guan, J. (2014). Local Nash
Equilibrium in
2017-06-27 11:34 GMT-04:00 Antonio Rodriguez Andres <
antoniorodriguezandre...@gmail.com>:
> Si de hecho he utilizado el read_spss por el tema de las labels. Pero
> obtengo el mismo mensaje de problema de memoria.
Vale. He buscado "WVS_Longitudinal_1981_2014_spss_v2015_04_18.sav" en
google
Si de hecho he utilizado el read_spss por el tema de las labels. Pero
obtengo el mismo mensaje de problema de memoria.
Antonio
2017-06-27 10:30 GMT-05:00 Freddy Omar López Quintero <
freddy.lopez.quint...@gmail.com>:
>
> 2017-06-27 11:10 GMT-04:00 Antonio Rodriguez Andres <
>
2017-06-27 11:10 GMT-04:00 Antonio Rodriguez Andres <
antoniorodriguezandre...@gmail.com>:
> El
> survey solo tiene los datos en formato SPSS o en formato de STATA (.dta).
>
En el pasado yo he utilizado read_spss y read_dta del paquete haven y me
han funcionado mejor que las funciones de
I think you need to find a local consultant. Someone here might have a
suggestion or two where to look (as I do below), but this list only
provides help on R programming code, not statistical issues (see
programming guide below for details).
You might wish to have a look at the CRAN survival
Gracias Eric
Actualmente no tengo SPSS instalado en mi computador ni tengo licencia. El
survey solo tiene los datos en formato SPSS o en formato de STATA (.dta).
Creo que estos últimos se pueden leer con read.dta, de la library(foreign).
Pero entiendo que darán el mismo problema
2017-06-26 17:08
Hi friends,
I haven't done such a simulation before and any help would be greatly
appreciated. I need your guidance.
I need to simulate end to end data for Reliability/survival analysis of a Pump
,with correlation in place, that is at 'Transactional level' or at the
granularity of
By module I mean a package instaled using:
R CMD INSTAL /path/
On Tue, 27 Jun 2017 10:06:16 +0200
Jakub Jankiewicz wrote:
> Hi,
>
> I found this issue:
>
> when I have 3 modules:
>
> * AnalysisA
> * AnalysisB
> * AnalysisC
>
> I load all modules at the beginning from list
Hi,
I found this issue:
when I have 3 modules:
* AnalysisA
* AnalysisB
* AnalysisC
I load all modules at the beginning from list of modules:
analyses <- list('AnalysisA', 'AnalysisB', 'AnalysisC')
for (module in analyses) {
library(module, character.only = TRUE)
}
and I want to add a
> Jonathan Fritzemeier
> on Fri, 23 Jun 2017 16:15:30 +0200 writes:
> Hi,
> I recognized that the function 'setReplaceMethod' is creating a
> character vector in the user workspace having the name (e.g. "newClass")
> of
Hi
You could try to ask your question on Stackexchange, maybe somebody will answer
it. This list is dedicated to helping with R code not to teaching statistics
(and you did not express any direct question about the code).
Anyway, you should complain about your statistics department.
Cheers
26 matches
Mail list logo