Displaying 13 results from an estimated 13 matches for "htbp".
Did you mean:
htb
2009 Jan 22
2
"latex" in Hmisc: cell formating
...sc_3.4-3
> table1 <- matrix(10, 180,7)
> cell.format <- matrix("", ncol=7, nrow=180)
> cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}"
> cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{green}"
>
> latex(table1, where='htbp', long=TRUE, lines.page=1000, size="scriptsize",
+ cgroup=c("group1","group2"), n.cgroup=c(6,1),
+ rgroup=c("n=1","n=5","n=10","n=20","n=50"), n.rgroup=rep(36,5),
+ cellTexCmds=cell.format, numeric.d...
2011 Aug 31
1
Hmisc Latex Question: column headings and Major Column Headings not properly alligned
...orrect in the typeset latex file. The major row heading and row groups are as they should.
w <- latex(mytab,title="",file="tab/my.tex",ctable=TRUE,caption="Descriptive statistics by Covariate",caption.loc="bottom",label="tab:mytab",where="!htbp",n.rgroup=c(3,3),rgroup=c("Type I","Type II"))
However, I'm trying to use cgroup and n.cgroup to group my columns under appropriate heading as:
w <- latex(mytab,title="",file="tab/mytab.tex",ctable=TRUE,caption="Descriptive statistics by Co...
2015 Nov 25
2
stargazer
...uda de los conocedores
Saludos
Cuando quiero hacer una tabla con el paquete stargazer, esto es lo que sale
stargazer(attitude)
% Table created by stargazer v.5.2 by Marek Hlavac, Harvard University.
E-mail: hlavac at fas.harvard.edu
% Date and time: lu., nov. 16, 2015 - 10:55:58 \begin{table}[!htbp]
\centering
\caption{}
\label{}
\begin{tabular}{@{\extracolsep{5pt}}lccccc}
\\[-1.8ex]\hline
\hline \\[-1.8ex]
Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} &
\multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} &
\multicolumn{1}{c}{Max} \\ \hlin...
2015 Nov 16
2
stargazer
...other attached packages:
[1] stargazer_5.2
loaded via a namespace (and not attached):
[1] tools_3.2.2
> stargazer(attitude)
% Table created by stargazer v.5.2 by Marek Hlavac, Harvard University.
E-mail: hlavac at fas.harvard.edu
% Date and time: lu., nov. 16, 2015 - 10:55:58
\begin{table}[!htbp] \centering
\caption{}
\label{}
\begin{tabular}{@{\extracolsep{5pt}}lccccc}
\\[-1.8ex]\hline
\hline \\[-1.8ex]
Statistic & \multicolumn{1}{c}{N} & \multicolumn{1}{c}{Mean} &
\multicolumn{1}{c}{St. Dev.} & \multicolumn{1}{c}{Min} &
\multicolumn{1}{c}{Max} \\
\hline \\[-1.8ex]...
2003 Oct 07
1
plot width in Sweave
Hi
I didn't find this in the manual: I need to change the width of a plot
while I use sweave, so which command/parameters should I insert below,
to change the width of a plot
\begin{figure}[htbp]
\begin{center}
<<echo=TRUE, fig=TRUE>>=
plot(Re(q),ylab ="",type="o",col="blue",lwd=1, sub=mystring)
@
\caption{Original stick function (stimulus train)}
\end{center}
\end{figure}
many thanks
christoph
--
Christoph Lehmann <christoph.leh...
2004 Aug 21
3
sweave and post "rpart"
Hi,
have anybody positive experience how
it is possible get the post output from a
rpart-object in a large sweave file or is only the
less nicely plot function instead of post possible???
\begin{figure}[htbp]
\begin{center}
<<fig=true,eps=T>>=
post(dtreeEB, title="Tree",digits=getOption("digits") - 0,use.n=TRUE)
@
\caption{Tree1}
\end{center}
\end{figure}
(1) if the rpart object result contain only the root node, i get this
error:
Error: chunk 21
Error in if...
2005 Aug 05
3
Latex error with Sweave example
I created a tex file following the example in the Sweave help which
produced the following files in my working directory.
Sweave-test-1-006.eps
Sweave-test-1-006.pdf
Sweave-test-1-007.eps
Sweave-test-1-007.pdf
Sweave-test-1.tex
When I run latex on this, I get a latex error, log file below. I am
running R 2.1.1 on Windows XP. I have installed "small MiKTeX" and I
have added
2010 Nov 19
3
Sweave Dynamic Graph Question
...IBM.Close[which(format(time(IBM.Close),"%m-%Y")==Date),]
plot(time(Temp2),Temp2,type="l",main=paste(factor(as.numeric(i), labels =
month.name[as.numeric(i)]),yr,sep="-"))
}
}
# my sweave code (pass in IBM.Close)
\pagebreak
\subsection{Graph}
\begin{figure}[!htbp]
\begin{center}
<<plot1, echo = FALSE, results = hide, fig = TRUE, height = 8>>=
rng=range(time(IBM.Close))
Syr <- as.numeric(format(rng[1],"%Y"))
Eyr <- as.numeric(format(rng[2],"%Y"))
Smth <- as.numeric(format(rng[1],"%m"))
for( yr in Syr...
2000 Jul 11
3
postscript()
....0 binary download, and an HP Deskjet 692C.
For some time I have been trying unsuccessfully to integrate R postscript
graphics in LaTex. I consulted the Bug Tracking System.
In the preamble of the LaTex file (test.tex) I have placed the line
\usepackage{graphicx,color}
and I use
\begin{figure}[htbp]
\begin{center}
\includegraphics[height=4in]{graphic1.ps}
\caption{boxplot}
\end{center}
\end{figure}
to include the graphic in the document. Using the command
xdvi test
I can preview the document and the graph is shown. I use
dvips test.dvi
to print the document. This arrangement works perfe...
2011 Aug 17
0
Sweave and graphics
...<<pl3,fig=TRUE,include=FALSE,echo=false>>=
#pdf(file="datapl3.pdf",paper="a4",width=0,height=0);
plot(yt,ypredr,xlab="Data",ylab="Predicted
Value",ylim=c(0,3),xlim=c(0,3),main="PL 3");
#invisible(dev.off());
@
\begin{figure}[htbp]
\centering{
\begin{tabular}{cc}
\includegraphics[width=0.4\textwidth,height=0.3\textheight]{report-pl1} &
\includegraphics[width=0.4\textwidth,height=0.3\textheight]{report-pl2} \\
(a) & (b)
\end{tabular}
\begin{tabular}{c}
\includegraphics[width=0.4\textwidth,height=0.3\textheight...
1997 Nov 05
3
R-beta: Latex and R
Hello R users,
This question might be already discussed before, I apologize
if it is the case.
Simple... how can I do to include a figure in a latex document.
As I have already done in Splus, I tried this:
\begin{figure}
\special{psfile=gauss.ps .......}
\end{figure}
but it didn't work. Any help?
Thank you in advance.
PS: I let down the Mac and the MS Window platforms and I am back
to my
2008 May 17
2
How to paste graph from R in Latex?
Dear R-expert,
Is it possible to save graph from R into Latex document? I?can?see save as metafile , PNG, pdf etc, but I'm not sure which one to use.
Thank ?you so much for your help.
2002 Aug 23
5
quick xtable questions
Hi, I'm creating a lot of tables in a file for inclusion in a Latex
document. When I try to compile that document there is an error "too many
unprocessed floats." Is there a way to correct this?
Also, in a Latex table I want R to put in a $\beta$ in the caption, but it
puts a weird system character instead of the \b
Brian