Displaying 20 results from an estimated 42 matches for "rpubs".
Did you mean:
pubs
2014 Oct 16
2
Heatmap de paro (o de otra cosa) en España
Hola Pedro.
El INE cambió los ficheros de microdatos no hace mucho, aquí dejo como
se haría ahora, (utilizando MicroDatosEs). Lo que cambia es la función
para recodificar.
http://rpubs.com/joscani/unemplrate
El 15/10/14 a las #4, Carlos Ortega escribió:
> Hola Pedro,
>
> Acabo de recordar que hace poco José Luis Cañadas (participa en esta lista)
> publicó un enlace suyo a un análisis del paro en Analucía hecho con R y
> publicado en RPubs. Sobre mapas asocia dife...
2017 Oct 07
2
Adjusted survival curves
For adjusted survival curves I took the sample code from here:
https://rpubs.com/daspringate/survival
and adapted for my date, but got error.
I would like to understand what is my mistake. Thanks!
#ADAPTATION FOR MY DATA
library(survival)
library(survminer)
df<-read.csv("F:/R/data/base.csv", header = TRUE, sep = ";")
head(df)
ID start stop censor sex...
2015 Jun 23
3
Plans to improve reference classes?
Could of requests:
1) Is there any example or writeup on the difficulties of extending
reference classes across packages? Just so I can fully understand the
issues.
2) In what sorts of situations does the performance of reference
classes cause problems? Sure, it's an order of magnitude slower than
constructing a simple environment, but those timings are in
microseconds, so one would need a
2016 Mar 10
2
getParseData() for installed packages
...o files a.R and b.R. See [2] for a documented test run on installed
package (Ubuntu 15.10, UTF-8 locale, R 3.2.3). Same behavior with
r-devel (r70303).
The parse data helps reliable coverage analysis [3]. Please advise.
Best regards
Kirill
[1] https://github.com/krlmlr/covr.dummy
[2] http://rpubs.com/krlmlr/getParseData
[3] https://github.com/jimhester/covr/pull/154
2017 Oct 17
2
ggplot / second axis / just a notation problem
Hi,
I have a question on ggplot2 with the second axis, but I don't think one
needs to know ggplot2 package in order to answer this question.
In this example,
https://rpubs.com/MarkusLoew/226759
since the transformation of the second axis is given by y1=y2*5,
#####
p <- p + scale_y_continuous(sec.axis = sec_axis(~.*5, name = "Relative
humidity [%]"))
#####
Note "~.*5"
What can I do if the transformation is given by y1=y2-3 or y1=y2/...
2017 Oct 07
2
Adjusted survival curves
For adjusted survival curves I took the sample code from here:
https://rpubs.com/daspringate/survival
and adapted for my date, but ... have a QUESTION.
library(survival)
library(survminer)
df<-read.csv("base.csv", header = TRUE, sep = ";")
head(df)
ID start stop censor sex age stage treatment
1 1 0 66 0 2 1 3 1
2 2 0 18 0 1 2 4 2
3 3 0 43 1 2 3 3 1
4...
2017 Oct 12
2
dual y-axis for ggplot
Hi,
To my knowledge, an excellent of ggplot with a second y-axis is
https://rpubs.com/MarkusLoew/226759
In this example, the author uses two colors for the two lines, but the
line shapes are the same -- both are solid. Could each line have its own
color as well as its own shape? For example, can I make the red line with
the linetype "twodash", while the blue line w...
2015 Jun 23
0
Plans to improve reference classes?
...Some motivating use cases would help.
It's a bit of a pathological case, but the switch from RefClasses to
R6 made a noticeable performance improvement in shiny. It's hard to
quantify the impact on an app, but the impact on the underlying
reactive implementation was quite profound: http://rpubs.com/wch/27260
vs http://rpubs.com/wch/27264
R6 also includes a vignette with detailed benchmarking:
http://cran.r-project.org/web/packages/R6/vignettes/Performance.html
I've added Winston to the thread since he's the expert.
Hadley
--
http://had.co.nz/
2017 Oct 17
0
ggplot / second axis / just a notation problem
...kes sense?
On Tue, Oct 17, 2017 at 12:24 PM, John <miaojpm at gmail.com> wrote:
> Hi,
>
> I have a question on ggplot2 with the second axis, but I don't think one
> needs to know ggplot2 package in order to answer this question.
>
> In this example,
> https://rpubs.com/MarkusLoew/226759
> since the transformation of the second axis is given by y1=y2*5,
> #####
> p <- p + scale_y_continuous(sec.axis = sec_axis(~.*5, name = "Relative
> humidity [%]"))
> #####
> Note "~.*5"
> What can I do if the transform...
2016 Dec 08
2
procesar MODELOS DIGITALES DE TERRENO (DEM)
Se ha borrado un adjunto en formato HTML...
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20161208/f8040166/attachment.html>
2023 Nov 29
1
Code editor for writing R code
Presumably there's nothing stopping you *writing* LaTeX in comments
-- do you want a code editor that will render and display the LaTeX as
you write? (Or am I misunderstanding something?)
Does anyone do classic literate programming *sensu* Knuth any more?
https://rpubs.com/bbolker/3153
https://cran.r-project.org/web/packages/noweb/vignettes/noweb.pdf
On 2023-11-29 10:57 a.m., Christofer Bogaso wrote:
> Hi,
>
> Currently I use VS-Code to write codes in R. While it is very good, it
> does not allow me to write Latex expressions in comments, which I...
2014 Oct 14
4
Heatmap de paro (o de otra cosa) en España
Hola eRReRos, estamos preparando un talleR de coloR para el próximo
congreso y pensamos que el mejor ejemplo sería un mapa de España de
alguna variable interesante. Puesto que algunas de las cosas candentes
que preocupan en España son (afortunadamente) casos únicos, se nos
ocurre el gran problema del paro. Atención pregunta:
¿Hay algún script maravilloso publicado por ahí que nos permita
2017 Oct 12
0
dual y-axis for ggplot
...ne with blue/red,solid, the other with two
dash/solid, black ).
How can I have only one legend with blue/two dash and red/solid?
2017-10-12 0:06 GMT-07:00 John <miaojpm at gmail.com>:
> Hi,
>
> To my knowledge, an excellent of ggplot with a second y-axis is
>
> https://rpubs.com/MarkusLoew/226759
>
> In this example, the author uses two colors for the two lines, but the
> line shapes are the same -- both are solid. Could each line have its own
> color as well as its own shape? For example, can I make the red line with
> the linetype "twodash"...
2015 Feb 09
3
xtabs and NA
...is necessary to make
NAs show up in the result.
Am I missing anything? If this a bug -- would a patch be welcome? Do we
need compatibility with the current behavior?
I'm aware of workarounds, I just prefer xtabs() over table() for its
interface.
Thanks.
Best regards
Kirill
[1] http://rpubs.com/krlmlr/xtabs-NA
[2]
https://github.com/wch/r-source/blob/780021752eb83a71e2198019acf069ba8741103b/src/library/stats/R/xtabs.R#L60
data <- factor(letters[1:4], levels = letters[1:3])
data
## [1] a b c <NA>
## Levels: a b c
xtabs(~data)
## data
## a b c
## 1 1 1
xtabs(~data,...
2017 Oct 12
1
dual y-axis for ggplot
...k ).
>
> How can I have only one legend with blue/two dash and red/solid?
>
>
>
>
> 2017-10-12 0:06 GMT-07:00 John <miaojpm at gmail.com>:
>
> > Hi,
> >
> > To my knowledge, an excellent of ggplot with a second y-axis is
> >
> > https://rpubs.com/MarkusLoew/226759
> >
> > In this example, the author uses two colors for the two lines, but the
> > line shapes are the same -- both are solid. Could each line have its own
> > color as well as its own shape? For example, can I make the red line with
> > the li...
2020 Jul 28
2
Superponer mapas en ggplot
Buenos días. Tengo dos mapas que hago con ggplot (abajo) y necesito
superponer el 2º al 1º. En el 1º se representa la variable PA, binomial (0,
1), en gris, y en el 2º la variable ExtTG7085, que es numérica y va de 0 a
200. La 2ª es un gradiente en rojo. Lo ideal sería que donde coinciden el
rojo de la 2ª se viera más oscuro, pero supongo que eso no es fácil. Podría
también ser en otro color, pero
2014 Dec 03
2
we need an exists/get hybrid
...Peter M. Haverty, Ph.D.
Genentech, Inc.
phaverty at gene.com
On Wed, Dec 3, 2014 at 12:48 PM, Winston Chang <winstonchang1 at gmail.com>
wrote:
> I've looked at related speed issues in the past, and have a couple
> related points to add. (I've put the info below at
> http://rpubs.com/wch/46428.)
>
> There's a significant amount of overhead just from calling the R
> function get(). This is true even when you skip the pos argument and
> provide envir. For example, if you call get(), it takes much more time
> than .Internal(get()), which is what get() does....
2019 Mar 04
2
Calcular una probabilidad asociada a una variable
...2/topics/scale.
>
> Posiblemente la palabas claves son escala y normalización, utilizando
> ambas palabras el buscador me regresa un artículo simple en español donde
> hay una de las formulas matemáticas que se pueden utilizar sin depender de
> una librería. El hipervínculo es http://rpubs.com/ydmarinb/429761
>
> Espero que sea útil.
>
> Javier Rubén Marcuzzi
>
> El lun., 4 mar. 2019 a las 11:19, Xavier-Andoni Tibau Alberdi (<
> xavitibau en gmail.com>) escribió:
>
>> Perdón, volviéndolo a leer creo que lo he entendido mejor. En lugar de
>> c...
2014 Oct 08
4
Pregunta sobre manipulación de shapefile
Gracias Beatriz, efectivamente, lo que indicas en tu ejemplo es lo que obtengo al final de mi proceso.
En todo caso pruebo tu opción con mis datos, si es como imagino seguro que es más rápida de montar y más elegante que tratar el resultado de un sink() (recuerdo que en su momento lo intenté con fotify pero no supe bien como atacarlo, no conocía el enlace que me mandas, por tanto lo pruebo de
2014 Jun 17
2
No es un problema de tm tienes doc.corpus vacío
...capply según el manual no va bien)
No defines bien los objetos que pasas. Pasas doc.corpus en lugar de
corpus ( o asignas a corpus en lugar de a doc.corpus) .
Depura los programas cuando salga un error de objeto, como te pone en el
Error que pasas .
Temporalmente lo tienes arreglado en
http://rpubs.com/ricardo/Temp
Pero otra vez observa paso a paso los objetos y nos dirás (bueno ya lo
sabrás) dónde está el error.
Ricardo Alberich
On 17/06/14 18:38, r-help-es-request en r-project.org wrote:
> Envíe los mensajes para la lista R-help-es a
> r-help-es en r-project.org
>
> Para s...