similar to: reformatting R scripts for htmlize()

Displaying 20 results from an estimated 2000 matches similar to: "reformatting R scripts for htmlize()"

2018 Feb 04
2
help with the plot overlay
Dear R Community, I recently read an article and found a plot as attached. It has scatterplot, barplot, and error bar. Could anyone help me to figure out what package I can use in R to generate such plot? Thank you very much for any inputs! Kind regards, Ace -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2018-02-04 at 6.38.14 AM.png Type: image/png
2018 Feb 05
0
help with the plot overlay
Hi Ace, You can do it with plotrix: library(plotrix) barpos<-barp(c(1,5,38),width=0.5,col=c("white","lightgray","darkgray"),ylim=c(0,70)) ehplot(c(1,0.8,0.9,0.8,1.1,1,4,3,5,14,3,2,32,27,33,30,50,61), c(1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3),median=FALSE,add=TRUE,cex=2, pch=21,bg="white") dispersion(barpos$x,barpos$y,c(0.1,1,5),lwd=2,arrow.cap=0.03)
2007 May 24
1
how to change font size in HTML output
I have not been able to figure out how to change the font size for R2HTML::HTML output. Or for output from prettyR::htmlize. If anyone can give me a couple hints that would be great. Thanks, Roger J. Bos ********************************************************************** * This message is for the named person's use only. It may contain confidential, proprietary or legally
2006 Aug 04
1
prettyR arrives
Hi all, I have finally gotten the prettyR package going (many thanks to Kurt Hornik for his patience). prettyR is a set of functions that allows the user to produce HTML output from R scripts. Given an R script that runs properly, an HTML listing complete with embedded graphics can be produced simply by passing the script to the core function htmlize (Phillipe Grosjean has not only offered
2018 May 31
2
CONVERSIÓN HORAS Y VECTORIZAR
Buen día, Agradezco su colaboración con lo siguiente: Tengo la variable a que contiene horas en excel, al importarla a R sube en formato deciilmal. POr ejemplo la hora en excel aparece "10:45:00 a. m." al importarla a R queda "0.4479167". He usado el paquete chron y he logrado convertirla y verla como requiero. Sin embargo al querer pasarla a un vector y unirla en mi
2013 Nov 30
2
Ayuda con manipulación de datos de un data.frame
Hola a todos, Soy nueva en R (y además tengo conocimientos de programación prácticamente nulos) y necesito ayuda. Tengo un data.frame con varias columnas de datos meteorológicos y una columna de fecha. También he creado unas columnas con dia, hora y minuto. Los comandos hasta ese momento son esos (lo siento, no sé si hace falta ponerlos o no)
2012 Mar 15
1
Bar graph with 2 Y axis
Dear R users,   I need to draw a barplot with 2 Y axis. I have 3 days each of wich having 2 groups (and error bar for each of them). The height of the 3rd day is too tall compared to others. That's why I have to use a second Y axis for that. I am using  "barplot2" function of "gplots" library (to be able to add error bars as well). Data and  codes currently I am using is
2017 Aug 08
2
unir varios archivos .csv en una serie historica
Hola Eric. Muchas gracias. Era exactamente lo que quería. Te agradezco mucho. Saludos, Sebastián. Enviado desde Correo para Windows 10 De: eric Enviado: martes, 8 de agosto de 2017 8:25 Para: Sebastian Kruk; Lista R Asunto: Re: [R-es] unir varios archivos .csv en una serie historica hola sebastian, invente 3 archivos con la estructura que describes y probe el codigo, le hice un par de arreglos
2015 Jul 02
2
Convertir un factor HORA en una hora de R
Hola: Tengo unos datos con varias fechas y horas como texto (son independientes: las horas no corresponden al día de la fecha). Seria algo como: DATOS <- data.frame(FECHA=c("31/10/2014","23/10/2014", "31/10/2014"), HORA=c("01:23", "12:43", "23:09")) No tengo problema de convertir la fecha para poder realizar
2017 Aug 08
2
unir varios archivos .csv en una serie historica
Hola Eric. Me diste una muy buena orientación. Para algunos años los archivos son de excel donde cada uno tiene 12 hojas, una hoja por mes. Cada hoja tiene el siguiente formato: Hora 1 2 3 4 ? 31 1 0 0 0 0 ? 23 2 0 0 0 24 ? 0 3 0 0 0 24,5 ? 21 4 0 0 0 26 ? 12 ????????? 24 0 0 0 0 ? 0 Por ejemplo en el día 1 el precio en las horas 1, 2, 3, 4 y 24 es 0, en cambio el día 31 el precio a la hora 1
2016 Sep 03
2
Ayuda con gráfico típico de histograma más linea
Sí, la primera reunión de la temporada será el 8 de este mes. Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com El 3 de septiembre de 2016, 23:52, Ruben Tobalina Ramirez < lagrimaescrita en gmail.com> escribió: > Muchas gracias a todos! > > Pues si, Eric, R a veces me vuelve loco, tiene una lógica muy particular. > Miraré el libro, que lattice no lo he usado
2016 Sep 03
2
Ayuda con gráfico típico de histograma más linea
Prueba algo así: library(ggplot2) datos <- read.table("Downloads/pec.csv", header = T, sep = ";", dec = ",") datos$Miles <- as.numeric(gsub("\\.", "", as.character(datos$Miles))) datos$hora <- strptime(datos$hora, format = "%H:%M") ggplot(datos, aes(x = hora, y = Miles)) + geom_line() + scale_x_datetime(date_breaks =
2016 Sep 02
2
Ayuda con gráfico típico de histograma más linea
Y bueno, algo más bonito sí que queda con ggplot... #--------------- datIn <- read.csv("pec.csv", header = TRUE, sep = ";", dec = ",") library(ggplot2) lab_x_idx <- c(1, round(nrow(datIn)/2, 0), nrow(datIn)) lab_x <- as.vector(datIn$hora[ lab_x_idx]) fre_gg <- ggplot( datIn, aes( x = 1:nrow(datIn), y = frec)) + geom_bar(stat =
2017 Aug 07
2
unir varios archivos .csv en una serie historica
Estimados usuarios-R: Muy buenas noches. Tengo una serie de archivos csv que contienen los precios mayoristas de electricidad por hora. Cada archivo csv corresponde a un mes de un cierto año. Cada columna corresponde a un día del mes y cada fila a una hora del día (1 a 24 horas). ¿Hay alguna forma rápida de importar todos los datos y formar un vector columna en que cada observación
2011 Jun 16
2
Save the results of data analysis in R
Hi everyone, I want to do data analysis using the values retrieved from a MySQL database. Is there a way to save the results of data analysis in R. [[alternative HTML version deleted]]
2009 Feb 12
1
Latex or html output for freq() in prettyR
Hi Everybody I need to create a lot of frequency tables with frequencies and percentages (and cumilative freq and % as well) for a report. freq() in prettyR give more or less what I need. I am trying to export the result of freq() to html but the html doesn't look look the console output. See the following example library(prettyR) library(Hmisc) x <- matrix(sample(1:3, 12,
2018 May 22
2
Plot qualitative y axis
Many thanks, My goal is to make a plott like attached but the Y axis starts in XIV and end at top in I. Generally for instance in excel X axis is categories but Y axis is numbers I want the contrary plotted in lines, your last help is near what I look but barplot is not needed. Hope you can help me thanks in advance. 2018-05-22 0:58 GMT+02:00 Jim Lemon <drjimlemon at gmail.com>: > Hi
2017 Nov 06
2
Añadir filas hasta que se acabe un proceso
Gracias a todos Isidro, para esa solucion que planteas voy a complementarla con las fucniones de lubridate interval y %within%. Un saludo Jesús ________________________________ De: Isidro Hidalgo Arellano <ihidalgo en jccm.es> Enviado: lunes, 6 de noviembre de 2017 13:06 Para: 'Jesús Para Fernández'; r-help-es en r-project.org Asunto: RE: [R-es] Añadir filas hasta que se acabe un
2016 Sep 06
2
Ayuda con gráfico típico de histograma más linea
Hola, Dell es los pocos que yo sepa que ofrecen equipos con Linux instalado como SO de base: http://www.dell.com/es/empresas/p/xps-13-9350-laptop-ubuntu/pd?oc=bnx9333 Saludos, Carlos Ortega www.qualityexcellence.es El 6 de septiembre de 2016, 21:33, Ruben Tobalina Ramirez < lagrimaescrita en gmail.com> escribió: > Buenas, > > gracias a los que me ayudaron, he conseguido hacer
2012 Oct 23
2
plotting multiple variables in 1 bar graph
I'd greatly appreciate your help in making a bar graph with multiple variables plotted on it. All the help sites I've seen so far only plot 1 variable on the y-axis Data set: I have 6 sites, each measured 5 times over the past year. During each sampling time, I counted the occurrences of different benthic components (coral, dead coral, sand, etc.) over 5 transects in each site site