Displaying 20 results from an estimated 3000 matches similar to: "Superscript/Subscript in main title"
2008 Jun 19
4
Controlling the length of line with abline(lm())
Hi
I just realized that when I use linear regression to draw a line through my
data points with something like the following:
abline(lm(y ~ x))
the length of the line is infinite, i.e., the line goes beyond the smallest
and the largest data values. This seems not very right to me (not to mention
it looks unaesthetic). I do not mean to imply that the straight-line
behavior of my system is
2008 Jun 10
3
Plotting multiple continuous lines with symbols
Hi,
I am trying to plot multiple lines on one plot such that all lines are of
the same color (black) and continuous. I need to distinguish these multiple
plots from each other by using different symbols (I am using pch=). However,
all my lines are broken on both sides of the symbols. This unfortunate (and
unsightly) behavior seems to be the default. In my search of the help
archives for R over
2009 Dec 05
1
R packages and assess to data in packages
Hi Everyone,
I have two very basic questions and would appreciate your help.
1. I would like to see/access the data that comes with a given R package by
using a function like read.table(). For example, I just installed car
package from CRAN. I know that somewhere within the package, there is
Duncan.txt file. I would not only like to look at it from file browser (or
using ls command in shell) but
2008 Jun 18
1
Help with axis labels
Hi
I have patched together (from various sources) the following code to get
semi-logarithmic plot. Unfortunately, my labels come out also at
intermediate places between 10^2, 10^3, 10^4 etc. Since I put the code
together from various sources and do not understand fully how the code is
working, I have not been able to get rid of the labels like 10^1.69897,
10^2.69897 etc. I would appreciate if
2009 Nov 15
1
Help with unstack() function
Hi Everyone,
I am trying to understand the unstack() function but after struggling for
two days, I have given up. More specifically, I am trying the exercises at
the end of Chapter 1 of Data Analysis and Graphics Using R by Maindonald
and Braun, 2nd ed. Exercise 18 (p. 41) asks to unstack the Rabbit data frame
from the MASS package to get a certain data frame that is shown in the
exercise.
2012 Mar 27
2
Supperscript, subscript and double lines in the main/sub title and using greek letters
Dear R-help,
I am trying to express myself as best as I can here. If you also use Latex
to edit math reports or other languages with similar editing method,
you'll see what I'm talking about. My sincere appologies if my question is
not clear enough to some extend, as also I'm not able to provide my code
here because I don`t know which one I can use...
When editing the title in R
2010 Oct 04
1
Error message with scan() function
Hi Everyone,
I am new R user and am trying to learn by reading the online manual "An
Introduction to R" from the R web site. I am trying to practice using the
scan() function as explained in the manual. For this I first created three
vectors (one a character vector and two numeric one) and saved file
"input.dat" in my working directory as:
> label <- c("Bill",
2009 Oct 25
2
Help with history() in Emacs/ESS
Hi Everyone,
I am a beginner running R 2.9.2 under Ubuntu and typically use Emacs w/ESS.
However, I am confused with history() command. When I issue command
history() in Emacs within an R session, this is what get:
> history()
Error in savehistory(file) : no history available to save
Similarly, history(max=10) command gives the same error message.
However, there is this In/Out Menu in the
2010 Oct 22
2
superscript characters in title with '+'
Hi,
How can I get the '2+' into superscript in the following title:
'[Ca2+]i onsets'
I tried the command below, but it doesn't work. What am I missing?
hist(X, main=expression(([Ca*]i^2+) 'onsets'), xlab = 'sec')
--
View this message in context: http://r.789695.n4.nabble.com/superscript-characters-in-title-with-tp3006981p3006981.html
Sent from the R
2008 Jun 16
1
Specifying fonts in R
Hi
I am a novice user of R. I got hold of "R Graphics" by P. Murrell the other
day and am trying to follow examples in the book. In chapter 3, the section
on font specification gives 16 "basic" font families and face combinations
available in R (Figure 3.9). However, the book also warns that even if a
font specification is given, it does not mean that the font will always be
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
1999 Dec 13
1
Superscript or subscript on Left hand side of symbol
Is there a way to get subscripts and superscripts on the left hand side of
a symbol? For example, oC or oF (degree Celsius or Fahrenheit)
TIA
Partha
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2008 Jul 10
2
xYplot customizing y-axis scaling
Dear list,
using the packages Hmisc and lattice i produced some nice xYplots. However,
since the data range of the conditioning variable is very big, i need to
define more than one y-scale for the plot (in some panels you just see a
flat line of data points very close to the x-axis), e.g. different y-axis
scales for the different rows of the plot.
Is there a way to do so?
Thanks,
Henning
2008 Jan 27
1
titles with superscript and variale value
Hi everyone,
I am trying to write a title for a plot which has a superscript like D^2 and a value of a variable stored in that variable..... i am not sure if i am clear so i will try an example:
Suppose i want my title to be like: Family: Gaussian; D^2 = 0.45
where i have the value 0.45 stored in variable d2 (which comes from some previous calculations, and depending which actual variables
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:
2012 Feb 09
1
complex subscript/superscript on axis labels
Hi All,
I am having trouble getting a complex subscript to work. I'm sure it's
possible. Here is what I have:
ylab=expression(paste("log ",L[peak]," [erg ",s^{-1},"]")),
I would like to have the subscript read "peak,gamma" where the gamma
would be the greek symbol. I do want the comma to show as well.
Thanks,
EM
2013 Mar 18
3
Superscript followed by number then superscript in text
Hi all,
I'm having problems finding the correct format for a command.
I would like to write some text on a plot.
I'm using the following command:
text(x,y,"text here", srt=90)
I would like the text to read:
capacity 10^3 m^3
(with ^ denoting superscript (i.e. each '3' as superscript).
I've tried fiddling around with expression(paste(etc.... to no avail. I
2008 Jul 16
1
Help Updating and Installing R Packages
Hi Everyone,
I have a few fairly basic questions about upgrading and installing R
packages. First off, I am using Ubuntu Hardy Heron and have R 2.7.1
installed and working perfectly. I usually access R via Emacs ESS interface
which I am still trying to get the hang of. My questions and issues are as
follows:
Question 1: I started R and wanted to upgrade the installed R packages. So,
I issue the
2011 May 04
2
Superscript number before letter
Salut,
I have been struggling to superscript the 18 before the O without ^ visible
and found only help to superscript numbers after the letter. Thanks to
anyone who can help.
xlab=expression(delta*18O VSMOW [?]")
Cheers,
Janine
--
View this message in context: http://r.789695.n4.nabble.com/Superscript-number-before-letter-tp3495577p3495577.html
Sent from the R help mailing list archive at
2004 Nov 04
3
sub- and superscript in plot labels
Dear List,
I need to add a subscript and a superscript to some of the ions in the
labels on some plots.
I have got to here but now I'm stuck:
plot(1:10, xlab = expression(paste("nm SO"[4], " ", mu, "eq cm"^{-2}, "
yr"^{-1})))
Which gives almost what I require. No matter what I tried, however, I
could not get bot a sub script *and* a superscript