similar to: textplot

Displaying 20 results from an estimated 5000 matches similar to: "textplot"

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)),
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
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
2010 Oct 03
3
Include externally generated pdf in output (without Sweave)
Dear useRs, I generated a simple image-based report using the sequence: pdf(....) plot(.....) textplot( for short texts, from gplots) dev.off() Is there an easy way to include an single pdf-page from an external file (not R generated). Note: For final reports, I know how to use Sweave, but I am looking for a quick solution with less overhead. Something like textplot() for pdf. Dieter
2010 Sep 06
5
Time Series
Hi How would I analyse time series with - different lengths (i.e. one has 9 entries and the other has 14 entries) - different frequency (i.e. dates are random - no repeated length) - multiple values for the same time entry (e.g. 2009-10-23 below) i.e. my data takes the form: 1st time series 2009-10-07 0.009378 2009-10-19 0.014790 2009-10-23 -0.005946 2009-10-23 0.009096 2009-11-08 0.004189
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to install "gplots" but to no avail. I have tried multiple mirrors and different packages (errbar) but after installation I seem to be unable to access any of the commands or help pages. I am a little concerned about the 'lib' missing message but this has been present for previous successful package
2010 Aug 04
3
Output (graphics and table/text)
Hi R Users, I need to produce a simple report consisting of some graphs and a statistic. Here simplification of it: # graphics output test a <- c(1,3,2,1,4) b <- c(2,1,1,1,2) c <- c(4,7,2,4,5) d <- rnorm(500) e <- rnorm(600) op <- par(mfrow=c(3,2)) pie(a) pie(b) pie(c) text(ks.test(d,e)) obviously, the ks.test does not make it to the output. How can this be archived by a)
2007 Oct 08
1
How put description under the graph (using different lines)
Hello, I need to use barplot' graphs, but under the graph I need to put different things. The structure of this graph must be: MY GRAPH ------------------------------------------------------ description 1 ----------------------- ------------------------- description2 description3 where: -description 1, description 2 and description 3 are
2011 Oct 22
7
"Plotting" text?
I noticed that the text() command adds text to a plot. Is there a way to either make the plot blank or add text to a "blank sheet". I would like to "plot" a page that contains just text, no plot lines, labels, etc. Suggestions? Kevin [[alternative HTML version deleted]]
2010 Sep 28
1
confirming behavior of "by"
Hi, I'm using "by" to summarize by multiple groups, and want to extract the returned into a pretty dataframe. I'm trying to find a simple way to name the rows of the data frame. I'd like it to be something like index1.val1.index2.val2 where the index1 and index2 are the names of the indices and the val1 & val2 are names of possible values of the index. (the
2011 Aug 16
1
Can you send "side effect" text into a variable?
Dear folks -- There are a number of functions -- I am thinking of str() as an example -- that produce text as a side-effect, rather then returning it. Is there any way to send the text produced by such functions into a character variable? Any suggestions would be greatly appreciated. andrewH -- View this message in context:
2008 Jan 22
1
Adding a table to a lattice plot
Hi, Is there an analog function of textplot in the lattice package? I need to add a data frame to a lattice plot. I work in a Windows environment and I am using R v 2.6.1 Thank you, Judith ____________________________________________________________________________________ Be a better friend, newshound, and
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]]
2010 Jul 08
1
download gplots and caTools
Dear list, I am using R.2.11.1 version on a PC. I downloaded successfully gplots_2.8.0 but I could not find where to download caTools > library("gplots") Loading required package: caTools Error: package 'caTools' could not be loaded In addition: Warning message: In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) : there is no package called
2007 Nov 02
0
gplots 2.5.0
Announcing gplots 2.5.0 --------------------------------- gplots provides additional plotting functions, including several enhanced versions of base R functions. Provided functions include: balloonplot, bandplot, barplot2, boxplot.n, colorpanel, heatmap.2, hist2d, lowess, ooplot, overplot, plot.lm2, plotCI, plotmeans, qqnorm.aov, residplot, rich.color, sinkplot, smartlegend, space,
2007 Nov 02
0
gplots 2.5.0
Announcing gplots 2.5.0 --------------------------------- gplots provides additional plotting functions, including several enhanced versions of base R functions. Provided functions include: balloonplot, bandplot, barplot2, boxplot.n, colorpanel, heatmap.2, hist2d, lowess, ooplot, overplot, plot.lm2, plotCI, plotmeans, qqnorm.aov, residplot, rich.color, sinkplot, smartlegend, space,
2005 Jan 10
4
Graphical table in R
I would like R to produce some tabulated data in a graphical output. When I say tabulated data, what I mean is a table with rows and columns. This would be useful when reading in a big file, performing some analysis on it, and then wanting to display the results as a table. Something like plot(x,...) where x is a matrix For example, the result could look (approximatly) like...
2010 Sep 13
2
proportion
Hi , SO i have been on a role of asking simple questions lately. So much for feeling like im getting this R business. I wrote a script 2 weeks ago that utilized "proportion" to turn values in a table (from "table") into proportions to then graph. I now get an error that proportion is not a function so im confused. I ran the script a few times and im thinking maybe i had
2006 Oct 31
1
graphics ignore tabs in text
Dear R-help, I seem to recall that I can use "\t" to get tab in a string on a graphics device, but it doesn't seem to work. Try: lab <- "a\tb\tc" cat(lab, "\n") # works in the console output plot(1:5, main=lab) # no tabs in the title text(3, 3, lab) # no tabs in the text I get the same result both in the windows() and pdf() devices. Any ideas?
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]]