Displaying 20 results from an estimated 3000 matches similar to: "Graphical table in R"
2010 Dec 02
1
latex tables for 3+ dimensional tables/arrays
I'm looking for an R method to produce latex versions of tables for
table/array objects of 3 or more dimensions,
which, of necessity is flattened to a 2D display, for example with
ftable(), or vcd::structable, as shown below.
I'd be happy to settle for a flexible solution for the 3D case.
> UCB <- aperm(UCBAdmissions, c(2, 1, 3))
> ftable(UCB)
Dept A B
2007 May 05
1
How to latex tables?
Suppose I have a table constructed from structable or simply just an
object of class table. How can I convert it to a latex object? I looked
in RSiteSearch, but only found info about matrices or data frames.
Steve
For example, here is a table t2
> str(t2)
table [1:2, 1:2, 1:2] 6 8 594 592 57 ...
- attr(*, "dimnames")=List of 3
..$ Hospital : chr [1:2] "A"
2008 Apr 21
2
"spreadsheet" in plot
Hello,
how can I print a table (lets say my table xtable contains 3 rows and 3
Columns, the fileds consists of text) directly in a plot? when I use
mtext(xtable), he tries to write everything on the same place.
Thank you in advance,
Stephan
--
[[alternative HTML version deleted]]
2012 Apr 26
6
print table on plot
Hello,
I would like to be able to plot an array on a plot, something like:
|arg1 | arg2 | arg3
val1| 0.9 | 1.1 | 2.4
val2| 0.33 | 0.23 | -1.4
val3| hello| stop | test
I know Rwave is good to report but don't want to use it.
? Is there a package that allow quick and dirty plot of dataframes like this
?
Thanks a lot
--
View this message in context:
2009 Sep 17
3
latex code in R -> convert to pdf
hi,
is it possible to convert latex code to pdf in R (like a latex-program
would do it)?
Is there a package that comes with this capabilities?
My problem is that I want to generate tables automatically -
and I can't use a latex editor at that computer ...
Besides latex ... are there good ways to generate tables in R?
thanks for any suggestions!
2001 Oct 03
3
Exporting the output -windows
Hi R-users,
I am a newbie to R. I worked on multivariate
tools(mva package)for windows98 the output are all
displayed in console.Is it possible to export the
results in to HTML format and also to get report
quality output in neat tabulated format.
I tried for in the R imports and Exports manual
but not satisfactory.There is detailed instruction
importing from various formats
2007 Oct 21
6
exporting text output to pdf
Hello,
I am new to R and I am trying to figure out how to print text output from an operation like table() to a pdf file. Is there a simple command to do this, or do you need to work with connections at a rudimentary level?
Thanks you,
Jesse
[[alternative HTML version deleted]]
2008 Apr 14
2
how to write a table to pdf
Hi,
Is there a way to write a table to pdf ? I have checked write.table, it only
writes to text file.
[[alternative HTML version deleted]]
2012 Dec 17
2
Suggestion: 'method' slot for format.ftable()
Dear R-developers,
I would like to suggest a 'method' slot for format.ftable() (see an adjusted
'format.ftable()' below, taken from the source of R-2.15.2).
At the moment, format.ftable() contains several empty cells due to the way the
row and column labels are printed. This creates problems (= unwanted empty
columns/rows) when converting an ftable to a LaTeX table; see an
2012 Jan 26
1
ftable.formula
I apologize in advance if this is the wrong forum for this
report/request, and for the fact that I have not read the code for
ftable.formula in any detail.
>From reading the documentation for ftable.formula, I expected that the
following two calls to ftable would produce the same results:
data(UCBAdmissions)
ftable(UCBAdmissions, row.vars = "Dept", col.vars = c("Gender",
2006 Jun 16
6
rendering mathematical equations
Any recommendations on how I can get mathematical equations into my
resulting html? (Besides using x^2^ type markup.)
I figure I could parse out equation text from my main text before
RedCloth ever sees it... and then maybe create png''s somehow from it,
putting the links to them back into the main text before handing it
over to RC. But I don''t know of a util that will generate
2007 Feb 09
6
syslinux-3.36-pre8 feedback
Tested floppy boot on two machines (one PII 350, one 486DX4)
Floppy boot with syslinux is very very slow, more than 18 mn to boot a linux
kernel from floppy on the 2 machines.
Tested with 3 different disquettes that were know to work, boot is reached
after this very long time.
Noise from floppy head make think floppy wait approximatly one minute
between each read.
No problem with pxe boot with
2007 Feb 24
1
Woolf's test, Odds ratio, stratification
Just a general question concerning the woolf test (package vcd), when we have
stratified data (2x2 tables) and when the p.value of the woolf-test is
below 0.05 then we assume that there is a heterogeneity and a common odds
ratio cannot be computed?
Does this mean that we have to try to add more stratification variables
(stratify more) to make the woolf-test p.value insignificant?
Also in the
2008 Jun 11
1
Problem when combining dotplot() and textplot() using grid
Hi everyone.
I want to solve the following problem. I have a data.frame and I
create a dotplot using lattice.
Then I want to use the grid-package to create a combined graphic which
contains the dotplot as well as a textplot() (using package gplots) of
the data.frame next to the dotplot.
Example code:
library(lattice)
library(grid)
library(gplots)
xx <- data.frame(f=factor(rep(1:5, each=5)),
2008 Nov 20
1
About continuity correction option in the mantelhaen.test function.
Hello,
I was using the mantelhaen.test function (2x2 J tables for
conditional independence testing). I noticed that the option for the
continuity correction (correction=T or correction=F) sometimes made a
difference while sometimes it did give the same results regardless of
correction=T or correction=F.
Does the continuity correction apply only in certain cases or in
certain strata with some
2007 Mar 23
1
using "\t" in mtext
Hi,
Using tab spaces in mtext e.g.
> mtext("\t")
little squares are plotted. Is there a way to use "\t" without getting
squares displayed?
Thanks
Thomas
[[alternative HTML version deleted]]
2009 Oct 11
3
Error in family$family : $ operator is invalid for atomic vectors
Dear List,
I'm having problem with an exercise from The R book (M.J. Crawley) on page
567.
Here is the entire code upto the point where I get an error.
data(UCBAdmissions)
x <- aperm(UCBAdmissions, c(2, 1, 3))
names(dimnames(x)) <- c("Sex", "Admit?", "Department")
ftable(x)
fourfoldplot(x, margin = 2)
dept<-gl(6,4)
sex<-gl(2,1,24)
2007 Oct 31
1
textplot() in gplots causes problems (0x9)
Hello,
I am using textplot function in gplots package to put some model
output inside a PDF file, but it does not seem to work properly with
PDF.
I am doing follwing:
pdf(file="C:/...", paper="a4", width=8, height=12)
.model <- lm(.model.formula, data=database)
textplot(capture.output(summary(.model)), valign="top", halign="left")
I am getting these
2010 Sep 27
1
textplot
Hi all,
Please can you help me to add text to a plot.
I would like 5 graphical plots and 1 text plot. I use
par(mfrow=c(2,3))
then
textplot()
I would like to add various pieces of information to the text plot,
i.e. some individual values, a table of statistics, some sentences.
Is there any easy way of doing this or am I forced to construct a very
complicated dataframe?
Is this even possible?
2011 Oct 25
1
textplot in layout
Hello,
Someone (Erik) recently posted about putting text on a plot. That thread
didn't help. I'd like to put text directly below the 'sub' text (with no
gap). The code below is the best I can do. Note the large undesirable gap
between 'sub' and 'test'. I'd like the word 'test' to be just below the top
box() boarder (directly below 'sub').
year