similar to: query on xtable(Sweave)

Displaying 20 results from an estimated 900 matches similar to: "query on xtable(Sweave)"

2005 Oct 25
0
query on xtable output
Dear all, I am exporting to latex a matrix via xtable. My matrix includes e.g. 4 rows and 4 columns. The first two rows containing real values(e.g. a laboratory parameter's mean value), and the two rows at the bottom containing only integers (number of cases). > mymat<-matrix(c(c(10.52,2.52,12.35,3.63),c(3.52,16.25,13.62,6.36),c(11,12,15,16),c(14,15,16,18)),4,4,byrow=TRUE) > mymat
2013 Sep 17
2
eigenvalores y eigenvectores
Buenos Días, en esta ocasión les escribo para tratar de solucionar una duda que puede resultar muy sencilla, pero de la que no encuentro solucion. necesito hallar la descomposición en valores singulares; tengo la siguiente matriz de datos: DPTO PERSONAS HACINA INTERNET COMPU TV_SUCRIPC Antioquia 4962749,1 1,61 0,39 0,47 0,77 Atlántico 2191360,7 1,97 0,3 0,31 0,42 Bogotá D.C. 7499198 1,67
2010 Jul 16
0
Mixed Conditional Logit with nested data
Hello Everyone,   This is my first attempt to do something in R. As a precursor to a Willingness to Pay analysis, I want to conduct a Mixed Conditional Logit analysis but am unsure how to proceed because of some nesting within my data.   Below is some data and code that illustrate what I’m trying to do. The data are based on responses to a conjoint survey obtained during pilot testing. In the
2005 Oct 28
3
splitting a character field in R
Dear R users, I have a dataframe with one character field, and I would like to create two new fields (columns) in my dataset, by spliting the existing character field into two using an existing substring. ... something that in SAS I could solve e.g. combining substr(which I am aware exist in R) and "index" for determining the position of the pattern within the string. e.g. if my
2005 Nov 07
2
lattice chart: different definitions for series
Hi enthusiasts, Trying to create a single chart in lattice with different plotting definitions for the different series (two series should be drawn with lines and the other without them) I am using a dataset, which includes a grouping variable e.g. clinic with three levels, the variable "year" and a continous variable: "mct". In the graph the variable "year" is in
2003 Jan 16
1
graphics
Dear R community, I need to plot the results of some simulations I did using QTL Cartographer. I am plotting LOD scores over three chromosomes. The three plot have to be one next to the other. The procedure I am using is: par(mfrow=c(1,3)) plot(x$x, x$y, ylim=c(0,35), type="l", col="blue", las=1, xaxs="i", yaxs="i", xlab="X Chromosome",
2006 Mar 24
3
iax limit question
I want to limit the number of simultaneous incoming calls that my IAX DID can accept to, say, 2. The IAX DID provider sets no limit. The code below does work, but when the limit is in effect, new callers hear a "call cannot be completed as dialed.." message instead of a busy signal. Maybe this is an issue with the provider, but I do not like this and want callers to hear a busy signal.
2010 Feb 16
1
Math.factor error message
Dear R-helpers, I am using a vrtest on time series data. My commands are as follows; read.table("B.txt",sep="\t",fill=TRUE, na.strings = "NA") require(vrtest) rm(list=ls(all=TRUE)) datamat <- read.table("B.txt",sep="\t",fill=TRUE, na.strings = "NA") column <- 1 nob <- nrow(datamat) y <-
2006 Apr 14
2
smbclient -M --> ERRmsgoff?
Hi, I've been a Samba user/admin for about a decade with relative success, but now I'm stumped. I'm hoping someone might be a solution to this, or at least a solid answer. I'm looking to send out winpopup messages to our XP clients when one of our Samba fileshare servers needs to be rebooted. So I'm trying to sending the messages from a Linux/Samba server, which is not a
2007 Jan 23
0
Questions about xtable and print.xtable
I have been using the wonderful xtable package lately, in combination with Sweave, and I have a couple of general questions along with a more particular one. I'll start with the particular question. I basically have a 1x3 array with column names but no row names. I want to create a latex table with column setting set to "|rrr|". I want the column names to appear, but the
2008 Sep 16
0
How to get line breaks with xtable
Hi, I'm using the xtable function with Sweave and Lyx. The table that I'd like to display has very long string characters in one column. Is there a way to get automatic line breaks for the strings in that column with xtable? Thanks for your help! Erich
2011 Aug 22
1
Problem with xtable
Dear all, I am having trouble creating LaTex tables using the xtable command. I am using the bayesm package to analyse data. However, I am unable to generate LaTex tables converting the output from summary(out$deltadraws.) I have made several attempts using xtable but have been unsuccessful and receive the below error message. Does anyone have any ideas on how I can solve this problem or an
2007 Apr 02
0
wrap lines in xtable
Hi, I use the packages Sweave and xtable to generate some LaTeX tables. In one particular case the last column of the table contains lines that are too long to fit in the document and are therefor cut. My question is (hopefully I did not miss anything in the documentation): How can I wrap long lines without fiddling around with the resulting Latex code? Can I do it directly in the Sweave
2009 Jun 19
0
Sweave and xtable floating issues -- SOLVED
Dear all, I've recently made in LyX a report using Sweave and run into troubles with xtable() generated LaTeX tables. One example, xtable() commands inside floats (table, box (minipage), etc.) will make the LaTeX compilation fail. Another, if four-five xtable() commands are run in a sequence, at least one of the generated tables will strangely hop onto the next page. The culprit is that
2007 Mar 01
4
question about xtable and Hmisc
I would like to get rid of the row numbers using xtable and latex. The commands d = cbind(1:10,rep(1:2,5)) ans = xtable(d) latex(ans) gives output containing \begin{tabular}{rrr} \hline & 1 & 2 \\ \hline 1 & 1.00 & 1.00 \\ 2 & 2.00 & 2.00 \\ 3 & 3.00 & 1.00 \\ 4 & 4.00 & 2.00 \\ 5 & 5.00 & 1.00 \\ 6 & 6.00 &
2009 Aug 07
0
RE xtable, sweave and resizebox
Hello In doc of xtable.pdf at page 7 : .../... ## Demonstration of longtable support. ## Remember to insert \usepackage{longtable} on your LaTeX preamble x <- matrix(rnorm(1000), ncol = 10) x.big <- xtable(x,label='tabbig',caption='Example of longtable spanning several pages') print(x.big,tabular.environment='longtable',floating=FALSE) x <- x[1:30,] x.small
2012 Feb 03
1
Using {tabularx} latex package with the {xtable} package?
I am trying to solve the problem of having a latex table (produced using the xtable <http://cran.r-project.org/web/packages/xtable/index.html>, then inserted to a latex file using Sweave), exceeding the margins of my LaTeX document. I found that one such solution can be based on the tabularx<http://ctan.org/pkg/tabularx> package, and I am wondering what would be the best way to
2011 May 04
0
xtable without a loop alongside a ggplot
I would like to create a table of my points and identify which 'quadrant' of a plot they are in with the 'origin' at the means. the kicker is i would like to display it right next to or below a ggplot of the data. Maybe xtable isnt the right thing to use, but its the only thing i can think of. Any help is appreciated! set.seed(144) x=rnorm(100,mean=5,sd=1)
2009 Apr 02
1
Sweave, using xtable in a loop doesnt work?
I have a data.frame, data, with 30 factor variables. I would like to tabulate the frequencies of each variable and output to a tex file using Sweave. Here is my code chunk: <<label=tab, echo=FALSE, results=tex>>= library(xtable) for(j in 1:30){   cap <- paste("Frequency counts for Q",j,".", sep="")   xtable(t(table(data[,j])),caption=cap) } @
2010 Jun 23
2
xtable for latex: setting some values globally
Dear All, a quick xtable question. I do have quite a bunch of tables in my latex document which I produce with xtable. That works fine so far. But I wonder is it possible set some values such as "environement", "caption.placement", or "size" globally so that it applies for table unless otherwise specified? If anybody has quick fix, that would be helpful. Thanks and