search for: textbf

Displaying 20 results from an estimated 27 matches for "textbf".

2008 Sep 24
1
paste in xtable
...d using xtable(). I cannot make the strings behave as I would like, the '\t' is creating a tab, the usual method of '\\t' is not working either - nor is any series of backslashes. The xtable object, I think, automatically alters the strings. How can I insert the literal '\textbf' into my xtable object? Any help would be appreciated. Code examples below. Ryan example 1: > test= matrix(1:4, nrow=2,ncol=2) > test = xtable(test) > test[,1] = ifelse(test[,1]>1,paste('\textbf{',test[,1],'}'),test[,1]) > test % latex table generated in...
2012 Mar 20
3
R (Bold font) and Latex
Hi, I am using R and latex for generating report. I need R result to be in bold face. For instance. x<-c(1,0,2,4) I need to print its output in bold face. x *1 2 3 4* I attempted to use textbf{} but can not write R output inside it. How can i implement it. Thanks in advance. Regards -- View this message in context: http://r.789695.n4.nabble.com/R-Bold-font-and-Latex-tp4487535p4487535.html Sent from the R help mailing list archive at Nabble.com.
2000 Oct 27
0
R reference card
...ome from CTAN. Jon ---------- \documentclass[twocolumn]{article} \usepackage{mathpple} \usepackage{hanging} \oddsidemargin=0in \evensidemargin=0in \topmargin=-.3in \textwidth=6.5in \textheight=9in \pagestyle{empty} \setcounter{secnumdepth}{0} \parskip=0ex \parindent=0pt \begin{document} \noindent \textbf{R reference card,} by Jonathan Baron \medskip \textbf{Miscellaneous} \smallskip {\tt q()}: quit {\tt <-}: assign {\tt INSTALL}: install packages {\tt m[,2]}: column 2 of matrix {\tt m} {\tt m\$a}: variable {\tt a} in data frame {\tt m} {\tt NA}: missing data {\tt is.na}: true if data mis...
2007 Apr 27
1
Problem with formatted xtable in R 2.5.0
Dear R-Devel subscriber, I encountered the following problem for tex-formatted table with xtable(). Suppose I do want the following matrix as a table in LaTeX: library(xtable) a11 <- "\\color{green}\\textbf{big green}" a21 <- "\\color{red}\\textbf{big red}" a12 <- "\\color{green}green" a22 <- "\\color{red}red" A <- matrix(c(a11, a21, a12, a22), nrow = 2, ncol = 2) colnames(A) <- c("big", "normal") rownames(A) <- c("green&quo...
2007 Sep 17
1
longtable and Sweave
Dear Sweave-users, I want to print listing using sweave. Because my tables are very big, I use the longtable option. But, is it possible to recall the first line of the table (e.g the colnames line) on each new page ? Thanks for your help. Delphine
2011 Aug 21
1
Multiple R linear models into one Latex table
...)[1], by=2))) { # Odd rows (coefficients) cat(dimnames(mat.all)[[1]][i],"&") cat( for (j in 1:(length(modelos)-1)) { if(!is.na(mat.all[i,j])) { p.val<-abs(mat.all[i,j]/mat.all[i+1,j]) if(p.val>1.644) { if(1.645<=p.val & p.val<1.96) cat("\\textbf{",round(mat.all[i,j], digits=5),"*}&", sep="") else { if(1.96<p.val & p.val<2.576) cat("\\textbf{",round(mat.all[i,j], digits=5),"**}&", sep="") else { cat("\\textbf{",round(mat.all[i,j], digits=5),"...
2010 Mar 13
2
Un poco de ayuda con xtable
...as tardes: Necesitaba un poco de socorro con xtable, si fuese posible. Mi problema es que quiero 'formatear' específicamente algunas celdas de una tabla generada con xtable y no soy capaz. Detallo el problema de ejemplo: vv<-rbind(c(1,1,0,1),c(0,0,1,1)) vv[2,3]<-<-paste("\\textbf{",vv[2,3],"}",sep="") xtable(vv) > xtable(vv) % latex table generated in R 2.10.1 by xtable 1.5-6 package % Sat Mar 13 20:12:43 2010 \begin{table}[ht] \begin{center} \begin{tabular}{rllll} \hline & 1 & 2 & 3 & 4 \\ \hline 1 & 1 & 1 & 0 &...
2009 Dec 09
2
Recent TeX changes and R/package manuals
...\section titles, which 'methods' and 'distrMod' had. I've added a warning to the R-exts manual. (ii) there have been intermittent problems with (LaTeX) special characters in indices. But (hyperref 6.79d) Full support of makeindex?s encap feature (e.g. \index{alpha|textbf}). \hyperpage and the formatting command are cascaded via \hyperindexformat. Internally \index{alpha|textbf} is transferred to \index{alpha|hyperindexformat{\textbf}}. \hyperindexformat calls the formatting command in its first argument with the page range as argument that is put into \...
2006 Dec 25
1
Hmisc - some latex problems
...package the environment "spacing" comes from. (There is also a command \smaller, but that is from the relsize package. Perhaps the latex man page could list the latex packages that are necessary to create correct output.) Second, I use the memoir class, and it flags \bf as an error - \textbf should be used instead. A correct version would be \begin{center}\textbf{ faithful \\ 2 Variables~~~~~ 272 ~Observations}\end{center} thank you, Steve
2010 Jul 22
1
pagebreak in xtable and columns'width
...ongtable",include.colnames=FALSE,size="\\small")) (print(xtable(data.frame(x[3:nrow(x),]),align="l|rrr"),floating=FALSE,tabular. environment="longtable",include.colnames=FALSE,add.to.row=list(pos=list (1,12,23,43), command=c("\\hline\\\\\\multicolumn{1}{l|}{\\textbf{Stato Patrimoniale Attivo}}\\\\","\\\\\\multicolumn{1}{l|}{\\textbf{Stato Patrimoniale Passivo}}\\\\","\\\\\\multicolumn{1}{l|}{\\textbf{Conto Economico}} \\\\","\\\\\\multicolumn{1}{l|}{\\textbf{Indicatori di Bilancio}}\\\\")),size=" \\small",NA.strin...
2010 Aug 04
1
Problem using R and Beamer...
...ve the file; however, when I run pdflatex on the file i get the following error: ! FancyVerb Error: Extraneous input `> a = 123450 > b = -0.69 \end {Sinput} \end {Schunk} \end { beamer at frameslide}\ifbeamer at twoscreenstext \beamer at dosecondscreennow {{fragile} \frametitle {Numbers} \textbf {Numbers} can be represented in a variety of dif ferent formats. For example the number $1.2345\times 10^5$ is written as 1.234e +05 in \texttt {R}. \begin {Schunk} \begin {Sinput} > a = 123450 > b = -0.69 \e nd {Sinput} \end {Schunk} }\fi \ifbeamer at anotherslide \advance \beamer at slidein...
2010 Apr 02
1
Problems with PDF/Latex when building a package
....8 \chapter*{} ! Font \T1/ptm/b/n/24.88=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.8 \chapter*{} ! Font T1/ptm/bx/n/10=ptmb8t at 10.0pt not loadable: Metric (TFM) file not foun d. <to be read again> relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} ! Font \T1/ptm/b/n/10=nullfont not loadable: Metric (TFM) file not found. <to be read again> \relax l.10 {\textbf{\huge Package `RcmdrPlugin.epack'} } ! Font T1/ptm/bx/n/20.74=ptmb8t...
2002 Nov 13
1
Package documentation and rd.sty
Hi all, I've got a basic question regarding package documentation and rd.sty. I wrote my first own package, and now I would like to place the documentation into the appendix of another LaTex document. Seemingly I cannot simply \usepackage{Rd}, as this will modify the page-settings of my document. Is there a minimum style file which will just define the environments and commands needed for
2005 May 03
1
Rd.sty error
I had written a vignette and included a \usepackage{Rd} command to make it possible to include latex'ed Rd files in the vignette. However, when loading Rd.sty texShop produces the following error: l. 180 ...d}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi} This is on Max OS X 3.9 and R 2.0.1 Has anyone seen this before and/or is it problematic? I'm not sure whether the output suffers from this but it does create a problem with R CMD check because tex produces a warning/error there. any hints are welcome, ingmar -- Ingmar Visser Depar...
2013 Mar 21
3
spatstat error
Good day Im working with some coordinates, and want to create a PPP object, I found that error: > Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T) > summary(Datos) id y x Min. : 1.0 Min. :1013581 Min. :1177842 1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658 Median
2010 Aug 09
3
package names in Latex
Dear R People: When putting R package names in Latex, do we use \it or \em, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2009 Feb 06
0
Tinn-R 2.2.0.1 released with a new and complete User Guide
...nn-R users, We want to announce that a new version of Tinn-R Gui/Editor (Windows OS) was released. It now has a complete User Guide, a old request of the users. The news of this version are below: 2.2.0.1 (Feb/05/2009) * Bugs fixed: 1. Latex font Enphase was fixed. It was inserting \textbf{} instead of \emph{}. 2. Save and load workspace is now enabled only if Rterm is running. 3. A bug associated with the Colors preferences interface related to Txt2tags and Deplate syntax, not allowing to change the background color of the root element in the correct way was fixed....
2013 May 17
2
formatting column names of data frame
Is there any way to format the headers of data frames, for printing? I am using Sweave to generate formatted reports. In Sweave, I read in a data.frame: result <- read.table(path.to.table); then display it: print.data.frame(result); This gives me what I expect in the eventual final output: Record Average Maximum 1 34
2007 Feb 01
2
prop.test() references
Dear R-help, I'm using prop.test() to compute a confidence interval for a proportion under R version 2.4.1, as in: prop.test(x = 340, n = 400)$conf [1] 0.8103309 0.8827749 I have two questions: 1) from the source code my understanding is that the confidence interval is computed according to Wilson, E.B. (1927) Probable inference, the law of succession, and statistical inference. J. Am.
1997 Sep 11
1
R-alpha: Mathematical Annotation in R (plots)
...thematical functions {\tt bold}, {\tt italic}, {\tt plain}, and {\tt bolditalic}. For example, {\tt plain(X)[i]} produces ${\rm X}_i$. These font specifications do not accumulate (i.e., {\tt bold(italic(x)))} produces $x$ (an italic "x"), whereas {\tt bolditalic(x)} produces \textit{\textbf{x}} (a bold, italic "x"). \item[general expressions] any functional expression which is not a special mathematical function is simply reproduced as a function expression. For example, {\tt foo(x)} produces $foo(x)$. \end{description} \end{document} =-=-=-=-=-=-=-=-=-=-=-=-...