similar to: rmd y pdf

Displaying 20 results from an estimated 100 matches similar to: "rmd y pdf"

2023 Feb 16
1
SVM plot duda
Estimados En este modelo no puedo hacer el plot(svmfit,df11 ) #AQUI NO TRABAJA Le adjunto Excel library(readxl) df11 attach(df11) df11$fallecido=factor(df11$fallecido) # Selección de una submuestra del 70% de los datos set.seed(101) tamano.total <- nrow(df11) tamano.entreno <- round(tamano.total*0.7) datos.indices <- sample(1:tamano.total , size=tamano.entreno) datos.entreno <-
2007 Oct 08
3
tcltk scrollbar
The following code should give me (at least that's what I think) two list boxes with their individual scrollbars. But instead both scrollbars stick to the same listbox even though they work as they should (scroll individual listboxes). When I remove all the widgets on top everything works perfectly. Any help would be highly apprecciated. ps: all subsequent listboxes and scrollbars work
2023 Feb 16
1
SVM plot duda
Hola, El mensaje es claro: el modelo svmfit no existe, tú has llamado al ajuste ?modelo?. De todas formas, aparte de eso tendrías que especificar qué dimensiones (variables predictivas) quieres representar. Si miras en la ayuda de ?plot.svm lo tienes explicado. Esto sí funcionaría: plot(modelo,df11, LDH ~ INL ) Gracias por proporcionar el código y los datos para poder reproducir el error. Un
2012 Jun 28
3
Sobre survival analysis
Hola Estoy tratando de correr un survival analysis usando un Cox regression model. Tengo una duda respecto a la organizacion del script. Tengo una variable que es -tamano del individuo- y quiero ver si hay diferencia en sobrevivencia respecto a tamano. Como diseno de campo los tamanos fueron ubicados de forma aleatoria en bloques al azar. Cuado planteo el script tengo algo como:
2016 Jun 21
2
Pregunta sobre shinyTable
Hola una pregunta: ¿Alguien ha trabajado con shinyTable? Mi pregunta es si se puede controlar el tamano de una tabla que se muestra por pantalla El tema es el siguiente: Con esta parte de codigo: output$tbl <- renderHtable({ if (is.null(input$tbl)){ #fill table with 0 tbl <-
2011 Aug 05
1
Simulacion matrices de varianza-covarianza
Hola! Para simular matrices de datos normales multivariados con la sentencia rmvnorm (dentro del paquete mvtnorm) se necesita, entre otras cosas, el número de vectores a simular, el vector de parámetros-medias correspondiente a cada variable y su respectiva matriz de Varianza-Covarianza. En este último punto, tengo problemas. En lugar de ingresar una matriz sigma creada por mi, necesito simular
2010 Nov 19
2
help
Hola, Tengo la base de datos de un censo agropecuario el cual está en formato de SPSS, cuando cuando ejecuto el comando para introducirlo a R, despues de permanecer lento R, aparece esto: Error: cannot allocate vector of size 1.6 Mb Hasta aquí llega y no introduce ninguna observación. Mi pregunta es si existe alguna solución, talvez aumentar la memoria de R?? Imagino que como ustedes han
2013 Jun 20
0
Produce HTML reference in knitr using rmd
Hello guys, I'm new to knitr and to R in general. I'm using RStudio and knitr, both the latest version. I am trying to produce an html page with multiple graph, which has a url reference to each of them that bring us lower on the page. For those produce separately it is pretty easy, since I just include the html location like I did for graph 1. But in a loop, I am struggling to
2023 Nov 14
2
Can someone please have a look at this query on stackoverflow?
Dear all, I have posted a query which has received a response but that is not working on my computer. Here is the query: https://stackoverflow.com/questions/77387434/pdf-from-rmarkdown-landscape-and-aspectratio-169 Can someone please help me ? Best Regards, Ashim
2016 Sep 08
3
¿Cómo generar tabla apaisada salida PDF con RMarkdown?
Buenas a todos. No me queda del todo claro si éste es el foro en el que preguntar o debería ser otro, ya que incluye cosas que van más allá de R. Sepan disculpar si me estoy excediendo. Estoy trabajando con RStudio y quiero generar un documento de salida en PDF; en ese documento tengo bastantes tablas anchas que no entran usando knitr::kable(la.tabla.ancha) Sí salen perfectamente en HTML
2023 Nov 17
1
Can someone please have a look at this query on stackoverflow?
Dear Ashim, I don't think the aspectratio is appropriate in this context because it would imply that the beamer (LaTeX) class is used but you're actually using the article (LaTeX) class. You may use specifications of the geometry package rather than specifying options to the class: e.g. replace your current header: --- title: "Testing landscape and aspect ratio" output:
2023 Nov 18
2
Can someone please have a look at this query on stackoverflow?
Dear Olivier, Many thanks for your reply. Very cool. You know what I thought ? I thought you had modified the A4 sheet size to compute the paperheight and paperwidth ? I wonder if that's another way of proceeding. Best, Ashim On Sat, Nov 18, 2023 at 12:51?PM Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote: > > Dear Ashim, > > these are documented in the LaTeX
2016 Sep 09
2
¿Cómo generar tabla apaisada salida PDF con RMarkdown?
Muchas gracias, Jos Antonio y Carlos. Estaba por escribir sandeces varias. Comento, por si hay algn lector, que como yo, se guarda los correos con respuestas a problemas posibles. No estaba usando|header.tex|, que es necesario para una como para otra solucin. El encabezado queda as: |---|| ||title: "Tablas que no entran"|| ||author: "Sandia Urlia"|| ||date: ""||
2018 Jul 09
2
Parametrized Vignettest in R packages
On 09/07/2018 3:24 PM, Witold E Wolski wrote: > Dear Yihui, > > Thank you for the valuable questions. > > sample_analysis is a "tibble" while > configuration is an "R6" class. > But I also have parametrized reports where I pass R reference classes > as arguments. > > This is the Rmd yaml params part corresponding to the error message. > >
2018 Jul 18
2
Compilar libro con paquete bookdown (PDF)
Gracias, Victor. Tampoco es eso. Si saco la linea site: bookdown::bookdown_site Me sigue compilando en HTML, pero sin hacerlo en todos los capítulos si no solamente el del index.Rmd que tengo abierto. No puedo explicar cuanto me sorprende! Supongo que tendré algún puntito de alguna i que falta y al ponerlo me parecerá tontería. Pero ahora todavía es MISTERIO. 2018-07-18 11:03 GMT+02:00 Víctor
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
Dear Olivier, Many thanks for your reply. This works well for me. How did you come up with the pagewidth / pageheight numbers? I do understand that their ratio = 16:9, but how did you choose these numbers? Best Regards, Ashim On Fri, Nov 17, 2023 at 9:25?PM Olivier Crouzet <olivier.crouzet at univ-nantes.fr> wrote: > > Dear Ashim, > > I don't think the aspectratio is
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
Dear Ashim, these are documented in the LaTeX 'geometry' package (see for example on CTAN: https://ctan.org/pkg/geometry). As I added in my response on Stackoverflow, several parts in the RMarkdown header actually concern information that are processed by LaTeX to actually generate the PDF, among which the 'geometry' line. For someone who is used to working with LaTeX, it is
2023 Nov 18
1
Can someone please have a look at this query on stackoverflow?
And indeed again (I did not understand your previous question exactly at first), the 'hard-coded' definition of a landscape a4 sheet would therefore be: paperwidth=29.7cm, paperheight=21cm Olivier. On Sat, 18 Nov 2023 13:20:49 +0530 Ashim Kapoor <ashimkapoor at gmail.com> wrote: > Dear Olivier, > > Many thanks for your reply. > > Very cool. > > You know
2018 Jul 17
2
Compilar libro con paquete bookdown (PDF)
Gracias por haberte tomado la molestia de indagar. Entiendo que es eso lo que hago en el encabezado YAML, basandome en la explicación del comienzo del punto 3 de acá: https://bookdown.org/yihui/bookdown/output-formats.html Eso mismo, con el documento que propone el propio Yihui (punto 1.2 del mismo libro) no lo consigo compilar a PDF. Y se me hace extrañísimo, porque tampoco me da error ni nada
2017 Jun 07
1
rmarkdown and font size
Suppose I have a file (named "tmp.rmd") containing: --- title: Test --- ```{r example, echo=FALSE, results='asis'} tmp <- data.frame(a=1:5, b=letters[1:5]) print( knitr::kable(tmp, row.names=FALSE)) ``` And I render it with: rmarkdown::render('tmp.rmd', output_format=c('html_document','pdf_document')) I get two files: tmp.pdf tmp.html Is