Displaying 20 results from an estimated 1000 matches similar to: "superscript"
2011 Nov 04
3
replace double backslash with singel backslash
I want to replace \\ with \ in:
str <-
"C:\\DOKUME~1\\u0327336\\LOKALE~1\\Temp\\RtmpQ5NJ8X\\TIRIS_PICS\\1_Img.jpg"
and tried:
gsub("\\\\", "\\", str)
but this removes the \\ without replacing them by \
Any help much appreciated,
Kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
2010 Aug 25
5
lattice help required
hello,
i want to stack two lattice plots beneath each other using one x-axis and
sharing the same text-panels,
like:
#####################################################################
library(lattice)
y1 <- rnorm(100,100,10)
y2 <- rnorm(100,10,1)
facs<-expand.grid(Sites=rep(c("Site I","Site II"),25),Treatment=c("A","B"))
pl1<-dotplot(y1 ~
2010 Aug 24
1
tick marks on both sides of axis
hello,
all my attempts to get a plot with tick marks on both sides of axis failed -
can someone please help me with this?
thanks,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
--
View this message in context: http://r.789695.n4.nabble.com/tick-marks-on-both-sides-of-axis-tp2336668p2336668.html
Sent from the
2010 Apr 28
1
model selection, lme
hello,
i'd like to evaluate the 2 factors (f1 with 4, f2 with 2 levels) and its
interactions in my model for writing up a summary table with
likelihood-ratio tests for publication purpose.
now i'm unsure about which terms of my model may be dropped from the full
model and which not.
mfull<-lme(resp~f1*f2,random=...)
m1<-lme(resp~f1+f2,..)
m2<-lme(resp~f1,..)
2010 May 06
1
how to extract from obj. created by plot function stressplot without printing plot?
hello,
i'd like to extract values from stressplot, but as this should happen within
a long run of code, which also does a multiple plot, i need to prevent
stressplot to print to the device.
i tried ..,plot=F), but this is useless.
any advise on this?
thanks,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
2010 Oct 13
1
interaction contrasts
hello list,
i'd very much appreciate help with setting up the
contrast for a 2-factorial crossed design.
here is a toy example:
library(multcomp)
dat<-data.frame(fac1=gl(4,8,labels=LETTERS[1:4]),
fac2=rep(c("I","II"),16),y=rnorm(32,1,1))
mod<-lm(y~fac1*fac2,data=dat)
## the contrasts i'm interressted in:
c1<-rbind("fac2-effect in
2010 Aug 19
1
logistic regression tree
hello everyone,
i sampled 100 stands at 20 restoration sites and presence of 3 different
invasive plant species.
i came across logistic regression trees and wonder if this is suited for my
purpose - predicting presence of these problematic invasive plant species
(one by one) by a set of recorded ecological / geographical parameters.
i'd be glad if someone would comment on applying this
2010 Sep 01
2
general question on binomial test / sign test
hello,
i did several binomial tests and noticed for one sparse dataset that
binom.test(1,1,0.5) gives a p-value of 1 for the null, what i can't quite
grasp. that would say that the a prob of 1/2 has p-value of 0 ?? - i must be
wrong but can't figure out the right interpretation..
best,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of
2010 May 19
2
contrasts for lmer model
hello,
i found it most convenient to use package contrast for planned comparisons
on mixed models.
for instance i have a model with 2 fixed factors, one with 4 levels (stage)
and one with 2 levels (gap) and a nested random factor (site) and i tested
gap within level A of factor stage:
library(contrast)
library(nlme)
m1<-lme(rich ~ stage*gap, random=~1|site,data=richness)
contrast(m1,
a =
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
2010 Aug 20
5
paired samples, matching rows, merge()
Hi everyone!
I'm matching two samples to create one sample that have
pairs of observations equal for the k1 variable. Merge()
doesn't work because I dont't want to recycle the values.
x <- data.frame(k1=c(1,1,2,3,3,5),
k2=c(20,21,22,23,24,25))
x
y <- data.frame(k1=c(1,1,2,2,3,4,5,5),
k2=c(10,11,12,13,14,15,16,17))
y
merge(x,y,by="k1")
k1 k2.x k2.y
1 1 20
2010 May 27
1
stripplot, lattice
hello,
i can't figure out how to set position of panels of my stripplot -
i`d like the panels of one level of the factor stage (nr. of panels within
each stage, A: 12, B: 12, C: 12, D: 4, each panel representing a site) to be
in one column, with A to D from left to right and with descending site.nr at
each row.
like:
A1 B1 C1 D1
A2 B2 .. ..
A3 .. ..
..
how is this achieved?
any help
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.
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:
2001 Apr 01
1
ylab/ expression/ superscript to a bracket
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I have some rather unusual units for acoustic volume backscattering
integrated over several metres depth and 10 transmits (which happens to
= 160 m along transect). I need to express these units in a graph label.
My problem
2012 Oct 30
2
bootstrapping quantile regression
HI everyone,
I try to get some bootstrap CIs for coefficients obtained by quantile
regression. I have influencial values and thus switched to quantreg..
The data is clustered and within clusters the variance of my DV = 0..
Is this sensible for the below data? And what about the warnings?
Thanks in advance for any guidance,
Kay
> dput(d)
structure(list(Porenfläche = c(4990L, 7002L, 7558L,
2013 Jan 25
1
Testing continuous zero-inflated response
Hello,
I'm searching for a test that applies to a dataset (N=36) with a continuous
zero-inflated dependent variable and only one nominal grouping variable
with 2 levels (balanced).
In fact there are 4 response variables of this kind which I plan to test
seperately - the amount of zeroes ranges from 75 to 97%..
I searched the web and found several modelling approaches but have the
feeling
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
2006 May 02
4
How to write "%" before superscript?
I would like to write atom% 15N in the ylab of a plot - "15" should be
written as superscript. How do I put "%" into the expression? It does
not work if I type "%" directly after "atom" in the expression below.
plot(1:10, ylab = expression(atom^15*N))
Best regards,
Thomas Larsen
[[alternative HTML version deleted]]