Displaying 20 results from an estimated 1000 matches similar to: "Writing greek letters and subscripts in graph"
2008 Nov 11
1
simulate data with binary outcome and correlated predictors
Hi,
I would like to simulate data with a binary outcome and a set of predictors that are correlated. I want to be able to fix the number of event (Y=1) vs. non-event (Y=0). Thus, I fix this and then simulate the predictors. I have 2 questions:
1. When the predictors are continuous, I can use mvrnorm(). However, if I have continuous, ordinal and binary predictors, I'm not sure how to simulate
2007 Jul 17
3
logical operators priority
Dear R-users,
I haven?t found rules for logical operators. I need to select data according
the following rule:
Condition A & (Condition B | Condition C) How should I write it?? Is
Condition A & Condition B | Condition C correct or will R execute (Condition
A & Condition B) | Condition C ?
Thanks for your help.
Delphine Fontaine
Delphine Fontaine
Statistician
Statistics
2008 Jan 08
2
problem when extacting columns of a data frame in a new data frame
Dear R-users,
I would like to create a new data frame composed of 2 columns of another
data frame. But it does not give me what I want...
> casesCNST[1:10,]
case X1 X2 X3 X4 expected
1 A1 0 0 0 0 E
2 A2 0 0 0 1 C
3 A3 0 0 0 2 C
4 A4 0 0 0 3 C
5 A5 0 0 0 4 C
6 A6 0 0 1 0 C
7 A7 0 0 1 1 C
8
2008 Jan 02
1
extracting pvalue from ANOVA with repeated measures
I made an ANOVA with repeated mesures
(aov(Mesure~Distance*Genre*Correct+Error(Sujet/(Distance*Genre*Correct)),
data)) and I would like to extract the pvalues.
The output is:
-----------------------------------------------------------
Error: Sujet
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 21 97.082 4.623
Error: Sujet:Distance
Df Sum Sq Mean Sq F value Pr(>F)
Distance
2007 Sep 17
1
longtable and Sweave
Dear Sweave-users,
I want to print listing using sweave. Because my tables are very big, I use
the longtable option. But, is it possible to recall the first line of the
table (e.g the colnames line) on each new page ?
Thanks for your help.
Delphine
2007 Mar 09
6
R and clinical studies
Does anyone know if for clinical studies the FDA would accept
statistical analyses performed with R ?
Delphine Fontaine
2006 Feb 09
1
translation of the matlab PPVAL function
Hello,
I am trying to translate a matlab program into R, and I have some problems
to find out how to translate the PPVAL function.
I know that ppval(pp,xx) returns the value at the points xx of the
piecewise polynomial contained in pp( constructed by spline), but I don't
know how to do the same thing in R.
Thanks for you help
Delphine
2008 May 13
4
3D accelerator
Hi!
I've a problem with a game, which don't want to start... I received this error
Code:
daniele at daniele-laptop:~$ wine .wine/drive_c/Programmi/Delphine\ Software/Darkstone/Darkstone.exe
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) >
2005 Feb 16
1
problem with da.mix
Hello,
We use the mix package and we have a problem with the DA function. We aren't
sure, but it's maybbe a memory problem.
We have done:
> Ent<--read.table("C:/.../File.txt")
> attach(Ent)
> Ent
V1 V2 V3 V4 ... V16 V17
1 1 1 2 6 18 18
2 1 1 1 NA 14 17
3 1 1 2 1 16 14
....
199 2 1 NA 7 19 18
200
2007 Nov 03
2
R validation
Dear R-Users,
A message to continue the discussions we had in March and June. I have
read the documents written since then
(http://www.r-project.org/doc/R-FDA.pdf ;
http://user2007.org/program/presentations/harrell.pdf ;
http://user2007.org/program/presentations/rossini.pdf ;
http://user2007.org/program/presentations/soukup.pdf) which are very
interesting and useful.
I work in a CRO and we
2001 Apr 16
1
Maple, MathCad, Greek letters (was: Greek letters)
Hi.
I was having trouble getting Greek letters and mathematical
symbols in maple under wine, and a search turned up a few messages
suggesting others have the same problem. In particular,
Thomas Koenig wrote...
http://www.winehq.com/hypermail/wine-users/2001/04/0028.html
> I wrote:
>
> >I have tried several applications which use Greek letters, such as
> >Maple V R5 and
2006 Jul 27
2
accessing a variable inside a plugin
Hello,
I would like to load an Hash in my init.rb plugin file ... than I would
like to use this hash in my module ...
in my init.rb:
@anHash = load From file...
in mymodule:
module Amodule
def myFunction
#@anHash ....
end
end
How can I access to my hash in my plugin module function ?
thanks for this dummy question ;-)
Arnaud
2010 Jul 23
1
greek letters in rgl plot3d
Dear RGL experts,
I haven't been able to add greek letters to my rgl plot3d.
I have tried "expression" with no success.
Here is the interested bit:
> library(rgl)
> cb <- cube3d()
> plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5)
The expression(alpha) appears as "alpha", rather than as a greek symbol.
I suspect greek
2003 Sep 12
2
Getting greek letters in plot labels and title
Hi,
Does any one knows how to include greek letters in plot labels and plot
titles ?
Thanks a lot
paul
---
[[alternative HTML version deleted]]
2011 Jun 28
1
Axes labels, greek letters and spaces
Hello all,
I can't seem to figure how to use a greek character in expression() in
plot() labels without adding a space. So for example below when plotting
this out
x<-1:10
plot(x,x^2, xlab=expression(Chlorophyll~italic(a)~mu~g~cm^-2))
the axis label read as μ g cm^-2 because I have space there with a tilda.
But if I remove the tilda then my units are mug cm^-2.
Can anyone recommend a
2009 Feb 18
2
Adding greek letters to plot title
I would like to add the greek letter mu to replace u in my title shown below.
main="R=[0.001uM]:A=[750uM]"
i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M])
but this is not working at the moment.
any help is appreciated
thanks in advance
[[alternative HTML version deleted]]
2010 Jun 05
2
Greek letters and formatted text
Hi,
I desperately try to do s.th. like
m=1.23455
sig=0.84321
plot(1,1)
text(0.8,1,sprintf("<Sigma>=%1.2f?%1.2f",m,sig))
where actually the greek letter should appear for Sigma.
I have tried all sorts of combinations with expression and paste etc. but could not work it out. Maybe someone has an idea and can help me.
Thanks a lot+
Thomas
2004 Sep 27
1
greek letters for labelling axes
Hi,
Does anyone have any ideas on how to show greek letters on the x and y axes?
I have tried
> plot(x,y, xlab=expression(delta), ylab=expression(gamma))
but the output on the x-axis is "d" and on the y-axis it is "g".
Any help will be very much appreciated.
Cheers,
Sam.
2010 Jun 05
1
text with greek letters
Hi,
I am having troubles in putting greek letters and formatted text in a plot
m=1.43432
sig=0.124333
text(10.5,0.07,sprintf("<Sigma>=%1.2f±%1.2f",m,sig))
I would like to have the greek letter Sigma followed by the formatted numeric values of m and sig.
Does someone know a solution?
thanks a lot
Thomas
---------------------------------
Thomas Bschorr
Department of Physics
2011 Jan 26
0
Greek letters in CairoPDF
Hello there,
Straight to the point: it seems that CairoPDF from package "Cairo"
cannot handle greek letters from expression(). For example,
> eta = seq(from=-pi, to=pi, length=100)
> f = sin(eta)^2
> pdf(file = "temp_pdf.pdf")
> plot(eta, f, type="l", main=expression(f(eta)==sin(eta)^2), xlab=expression(eta), ylab=expression(f(eta)))
> dev.off()