Displaying 20 results from an estimated 2000 matches similar to: "Superscript or subscript on Left hand side of symbol"
1999 Aug 19
1
Mathematical Superscript on the y-axis of a plot
I am trying to get superscripts on the y-axis. I keeping getting syntax
error:
This works as advertised:
> plot(c(1:10), ylab= expression(paste(x^ theta)))
This does not:
>plot(c(1:10), ylab= expression(paste(x^ {++})))
Note that I am trying to get ++ as superscript.
Any suggestions?
Thanks.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++
2003 Nov 14
5
A suggestion regarding multiple replies
Please don't take this the wrong way. There are a lot of extremely helpful
people who subscribe to r-help.
I was wondering if it is time to adopt a strategy a-la Splus help whereby
people reply to the author and the author summarizes all the replies?
Just a thought and have a good weekend.
Partha
2000 Mar 08
3
Error loading ctest
Has anyone noticed this behavior:
> library(ctest)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "J:
\STATS\RW1000/library/ctest/libs/ctest.dll":
LoadLibrary failure
> library(ctest)
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 0.0
year 2000
month
2003 May 29
3
Odd behavior of strptime
The example from the help page for strptime has the following oddity:
> dates <- c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92")
> times <- c("23:03:20", "22:29:56", "01:03:30",
+ "18:21:03", "16:56:26")
> x <-
2011 May 05
3
cross-correlation table with subscript or superscript to indicate significant differences
Hi, I wonder whether the following is possible with R, and whether anyone has done that and can share his/her code with me. I have a correlation matrix, and I want to create a correlation table that I can copy to Microsoft Word with a superscript above each correlation, indicating significant differences in the same row. That is, when correlations in the same row do not share superscript, it means
2004 Oct 29
3
Warning message if the plot statement breaks into 2 lines
Here is a curious observation. In
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 0.0
year 2004
month 10
day 04
language R
>
Try the following:
> Plot(c(1:100), type = "l
+ ")
Warning message:
plot type 'l
' truncated to first character in: plot.xy(xy, type, pch,
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows
2000. I am having problems running the PFE text editor simultaneously
within R for editing functions and outside R for editing
ordinary text files. The PFE editor behaves as I expected, if it is opened
in R AND but no other PFE window is open outside R. Similarly, it also
works fine if I am editing a text file outside
2012 Dec 04
1
control point size of superscript when labeling axes with title()
Hi-
A journal has asked me to make all of my text annotations on a figure at 10-point size. For the most part this is easy, e.g. by creating figures with:
pdf(..., family='Times', pointsize=10)
But where I have superscripts (or subscripts) in axis labels, the default seems to be to shrink the superscripted text slightly. For example this code:
2000 Mar 22
4
R-release dynamic load problem on HPUX10.20
Hello,
I just pulled the patched release:
R-release Version 1.0.0 Patched (March 19, 2000), on HPUX10.2
I am having dynamic library load problems. I configured with:
./configure --prefix=/home/absd00t/local --with-readline --with-x
After changing etc/Makeconf to take -lblas out of libs (the blas
library provided by the system is not a shared library), system was
built without any interruptions.
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
* Kill the A8+A8 hack. Recent enough X servers (>=1.7) fall back to
ARGB glyphs for drivers not supporting A8 render targets.
* Kill all the global state. It doesn't matter a lot yet but it might
if we get multicard working at some point.
* Other random clean-ups with no functional changes.
Some numbers from x11perf -aa10text -aa24text -comppixwin10 -comppixwin500:
* Before, with A
2003 Apr 17
18
Validation of R
Hi All
I am really very interested in starting to use R within our company. I
particularly like the open source nature of the product. My company is a
medical research company which is part of the University of London.
We conduct contract virology research for large pharma companies. My
question is how do we validate this software? I wonder if anyone else
has had the problem and might be able to
2008 Jul 30
1
Converting to subscripts and superscripts
Hi,
I am reading in a CSV file of chemical reactions where the subscripts and
superscripts are encoded in angle brackets, like below:
2 H<SUP>+</SUP> + 2 O<SUB>2</SUB><SUP>-</SUP>
Is there a way to convert these to actual sub/superscripts and save them in
another excel file? I greatly appreciate the help!
Thanks,
-Nina
PS. I asked this before, but I
2006 Mar 03
0
unused composed_of bits
I implemented a Temperature model for my application. It is pretty basic,
composed of a temperature, a unit and some conversion methods. In my app model
I decided to store temperature values in Fahrenheit, so there is no need to
remember the units between invocations. I am having a little trouble composing
my app model.
A little bit of my temperature class:
class Temperature
# Composed of
2004 Jan 17
0
New sounds posted
So, per the discussion last week and generous donations, we have some
new sound files with which to work.
The sounds are located in:
http://www.loligo.com/asterisk/sounds/
For those of you who just want to download the _new_ sounds, please fetch:
http://www.loligo.com/asterisk/sounds/20040117.newsounds.tar
All of the sounds in that tarball are also in the main ../sounds/
directory in
2005 Jun 14
3
superscript in figures - basic question
Although I see similar, but more complex, questions addressed in the help
archive, I'm having trouble adding superscripted text to the y-axis labels of
some figures, and I can't find anything in the R documentation on this.
I have:
ylab="BA (m2/ha)"
but I want the "2" to be superscripted.
Thanks in advence for the help, or for pointing out the appropriate help file.
2008 Aug 01
1
Properly Parsing Pre-Superscripts & Displaying Them With grid.text
Hi all... I?m making a chart dealing with frequencies of isotopes of various
elements. For instance, I'd like the following text to appear on a chart
with the "35" and "37" as superscripts:
Based upon:
35Cl: 75%
37Cl: 25%
I am having problems properly parsing the superscript that preceeds the
"Cl", since there is no character ahead of the superscript (I saw
1999 Feb 12
1
Fisher's Exact Test
Appology in advance if this has been asked and answered. I am getting different
answers using Fisher's exact test in the package ctest. For example:
x_cbind(c(8, 22), c(31, 29))
fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.04024
alternative hypothesis: two.sided
However, in SAS or other packages on the net the answer I get is p-value=
0.02664.
Is this
1999 Oct 26
1
Wrong text() adjustment with (math)expression and "\n" (PR#299)
This is adapted from partha_bagchi@hgsi.com 's report on R-help:
plot(0); title(expression("Bad\n with much much more text")))
gives something like
Bad
with much much more text
(``newline w/o carriage return'') instead of centering both lines such as
Bad
with much much more text
which is produced by (just dropping