similar to: writing text on graphics' window

Displaying 20 results from an estimated 3000 matches similar to: "writing text on graphics' window"

2004 Mar 04
2
adding trend to an arima model
Hi, Does anyone know a method for adding a linear/polynominal trend to a simulated arima model using the arima.sim function? Any help will be greatly appreciated. Cheers, Sam.
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
2004 Apr 14
4
binary numbers
Hi, Is there a function in R that lets one represent an integer in binary format for a given number of bits? So an example would be.... > binary.function(num=5, num.of.bits=8) > "00000101" Or, is this something I have to write myself? Any help would be appreciated. Cheers, Sam.
2005 Jan 07
3
R packages on Mac
Hi, I am considering whether or not to buy an apple mac. I have noticed on one of the R FAQs for Mac OS X that you cannot install packages from other OS's if C++ code is contained. My question is: Is it possible to build the package sources containing C++ code on the Mac and then install them? Thanks in advance, Sam.
2004 Dec 08
2
memory problem
Hi, I am trying to run a very computationally expensive procedure in R-2.0.0. and the process always gets killed after approx 8 minutes. This procedure calls some of my own C++ code - in case it was this code causing a memory leak I unload and then reload the .so file every time, however I still get the same problem. The procedure is run 16000 times and always calls the lm() function. My
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
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?
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
2012 Apr 06
3
filling the matrix row by row in the order from lower to larger elements
Hello, everybody! I have a matrix "input" (see example below) - with all unique entries that are actually unique ranks (i.e., start with 1, no ties). I want to assign a value of 100 to the first row of the column that contains the minimum (i.e., value of 1). Then, I want to assign a value of 100 to the second row of the column that contains the value of 2, etc. The results I am looking
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
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
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained using mapproj's mapproject function with an Albers projection? Thanks for any and all help! Buck Stockhausen *************************************************** * Dr. William T. Stockhausen * *************************************************** * Resource Ecology and Fisheries Management * *
2010 Nov 17
3
Parameterising apply To Compute Rolling Average of Columns in a matrix
I sent a post to find a clever way to compute a Rolling Average of columns in a matrix and I was given the solution below which I am very pleased with. RollingAverage <- function(x, RollingObs) { cx <- cumsum(x); N <- length(x); Temp <- (cx[RollingObs:N] - c(0, cx[1:(N-RollingObs)]))/RollingObs Output <- array(NA, N) Output[RollingObs:N] <- Temp; Output } The only
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
2013 Jun 27
21
[Bug 66255] New: Enabling Xinerama with nouveau driver causes Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=66255 Priority: medium Bug ID: 66255 Assignee: nouveau at lists.freedesktop.org Summary: Enabling Xinerama with nouveau driver causes Segmentation fault QA Contact: xorg-team at lists.x.org Severity: critical Classification: Unclassified OS: Linux (All)
2013 Jul 12
1
Pre-compiled OS X binaries?
Stephen F. Booth, the author of a number of audio progs for OS X (sbooth.org), is a subscriber to this list too and he might be able to provide an OS X build of FLAC 1.3.0. However, I can understand the Xiph policy of only supplying officially blessed versions compiled by themselves. I guess we'll have to wait for 1.3.1... Michael On 9 Jul 2013, at 13:50, John Edwards <john.edwards33 at
2007 Jul 12
4
file couldn't play after Speex encode and decode
Dear sir, I've a problem that the .wav file couldn't play after calling "sampleenc male.wav|sampledec male_speex_15.wav".I found that the new file male_speex_15.wav is smaller than the original file in size.I implemented the test on Linux system.The original file male.wav is 96044 bytes,while the new file male_speex_15.wav is 96000 bytes.I'm eager to know the reason.Thankyou!
2008 Jun 12
2
arima() bug
I guess this is more r-devel than r-help. Note, I am just the messenger - I have no idea what the user is trying to model here. arima() crashes R (segfault) with Linux R-2.7.0, Solaris R-2.6.0: *** caught segfault *** address 42400000, cause 'memory not mapped' Traceback: 1: .Call(R_getQ0, phi, theta) 2: makeARIMA(trarma[[1]], trarma[[2]], Delta, kappa) 3: arima(x, c(1, 0, 1), c(1,
2006 Sep 19
3
File Locked
Hi, I've got a Word document on a Samba share that I can't rename, overwrite or open. Attempting to rename it gives: Cannot rename Filename: There has been a sharing violation. Attempting to open it gives: Filename.doc is locked for editing by 'another user'. This is on a NAS box so I can't say which Samba version it is. There are no temporary files in the share to show who