Paul Johnson wrote:
> Recent questions about using plotmath have renewed my interest in this
> question
>
> I want to have expressions take values of variables from the
> environment. I am able to use expressions, and I am able to use paste
> to put text and values of variables into
> plots. Bu
Dear R helpers,
Is it possible to create a semilog plot in R?
I have been scanning the help archives and manuals and semilog does not
appear anywhere.
Should i use specific package?
Thanks
Christophe
__
R-help@stat.math.ethz.ch mailing list
https://st
You don't have y[4] But if you did, as.vector(rbind(x, y))
On Mon, 6 Mar 2006, Ajay Narottam Shah wrote:
> Suppose one has
>
>x <- c(1, 2, 7, 9, 14)
>y <- c(71, 72, 77)
>
> How would one write an R function which alternates between elements of
> one vector and the next?
Hi!
Recently I try to find the method maximum
likelihood for gamma,weibull,Pearson type III,Kappa Distribution,
mixed exponential distribution, skew distribution.
I have tried function ms() for gamma two parameters and weibull two
parameters.It works but not for Pearson type III. I have problem to
Try this (note that your x and y do not have the same length
and in this case the expression will recycle the shorter one
and give a warning):
z <- c(rbind(x, y))
On 3/5/06, Ajay Narottam Shah <[EMAIL PROTECTED]> wrote:
> Suppose one has
>
>x <- c(1, 2, 7, 9, 14)
>y <- c(71,
Try bquote (I may not have followed precisely what you
want but hopefully this gives the idea). Note that you
may need to use a few judiciously placed ~ and
phantom(), as shown, in order to maintain syntax:
plot(NA, xlim = c(0, 100), ylim = c(0, 100))
avar1 <- 10
amath1 <- bquote(slope == frac(p
Suppose one has
x <- c(1, 2, 7, 9, 14)
y <- c(71, 72, 77)
How would one write an R function which alternates between elements of
one vector and the next? In other words, one wants
z <- c(x[1], y[1], x[2], y[2], x[3], y[3], x[4], y[4], x[5], y[5])
I couldn't think of
Hi, Paul:
By my lights "paste" and "expression" work counter-intuitively. But as has
been said here often, you CAN do it in R. Figuring out how might be a
challenge, but you CAN do it (whatever it is).
Here is some code that does what I think you intended. I also added some
phantom characters
Hi all,
I'm an R novice (and I'm making progress!).
I'm getting sick of looking at all my old commands though! Can I
clear the console from the command line?
I'm running a GUI version of R in Mac OSX.
Thanks in advance!
Will
__
R-help@stat.math.et
From: Bart Joosen
>
> Hi All,
>
> recently I used Design Expert for some Design Of Experiment
> work. I was happy with the interface to select which effects
> I want to see in my experiment, and which not. For example: I
> can select of course my main effects, but also if I want to
> see inte
Recent questions about using plotmath have renewed my interest in this question
I want to have expressions take values of variables from the
environment. I am able to use expressions, and I am able to use paste
to put text and values of variables into
plots. But the two things just won't work tog
After some sleep and with clearer head I'd better
explain the background of my posting.
Going back to UNIX from Win I spent whole day trying
out various distros from available CDs (no time to
dowload the stuff). Knoppix was the last one and the
cutest. So I decided to put R on it. The other part
wa
Nongluck Klibbua wrote:
> hi all,
> Does anyone know which command to use for error function(erf)?
> Thanks
>
> __
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-pro
hi all,
Does anyone know which command to use for error function(erf)?
Thanks
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hi,
I am trying to estimate the effects of covariates on the hazard function, rather
than on the survival. I know this is actually the same thing. For example, using
the survival package, and doing:
> myfit <- survreg( Surv(time, event) ~ mymodel )
all I have to do to get the quantities of my in
Does the following example answer your "arima" question:
IntReg <- cbind(It=(1:48)>20, It.w=((1:48)>20)*(1:48),
It.lh=((1:48)>20)*c(0, lh[-48]) )
arima(lh, order = c(1,0,0), xreg=IntReg)
hope this helps.
spencer graves
Jarrett Byrnes wrote:
> On Mar 1, 2006, a
Hi All,
recently I used Design Expert for some Design Of Experiment work.
I was happy with the interface to select which effects I want to see in my
experiment, and which not.
For example: I can select of course my main effects, but also if I want to see
interaction A:B, B:C, A:B:C,but not A:C.
Alexandre wrote:
> Good afternoon for all listmates,
>
> As I saw in the manuals, I downloaded RWeka, rJava and grid successfully.
> When I tried to load rJava or Rweka I’ve got the same message:
>
>
> “Carregando pacotes exigidos: rJava
> Erro em firstlib(which.lib.loc, package) :
> J
Good afternoon for all listmates,
As I saw in the manuals, I downloaded RWeka, rJava and grid successfully. When
I tried to load rJava or Rweka Ive got the same message:
Carregando pacotes exigidos: rJava
Erro em firstlib(which.lib.loc, package) :
JAVA_HOME is not set
Erro: pacote 'rJ
Hi Patrick,
Patrick Giraudoux <[EMAIL PROTECTED]> writes:
> OK. Looks like I have got it... going through the source code of sp,
> classes are declared as usual functions in *.R files.
I'll add in a few suggestions that I have found useful for developing
heavily S4 classes (you don't have to do
[EMAIL PROTECTED] wrote:
> Hi,
>
> I downloaded RWeka successfully. (At least I do not see, where I could have
> made a mistake.) Then I tried to load it by the library-command. To my
> surprise this did not work. Result:
>
> library(RWeka)
> Fehler in .jinit(c(system.file("jar", "weka.jar", p
Hi,
I downloaded RWeka successfully. (At least I do not see, where I could have
made a mistake.) Then I tried to load it by the library-command. To my surprise
this did not work. Result:
library(RWeka)
Fehler in .jinit(c(system.file("jar", "weka.jar", package = "RWeka"),
system.file("jar", :
Vielen Dank, Uwe!
I dunno how I missed it. Looking only at the demo(plotmath), I guess.
Thanks again!
Charles Annis, P.E.
[EMAIL PROTECTED]
phone: 561-352-9699
eFax: 614-455-3265
http://www.StatisticalEngineering.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED
Hi,
In fitting GAMs to assess environmental preferences, I use the part
of the fit where the lower confidence interval is above zero as my
criterion for positive association between the environmental variable
and species abundance. However I like to plot this on the original
scale of speci
It will change the coefficients from lm and therefore their t-values but it
will not change the residuals, fitted values, R-squared, F
statistic, etc. For example, try this:
set.seed(1)
x <- 1:10
y <- x + rnorm(10)
lm0 <- lm(y ~ x) # without scale
lms <- lm(y ~ scale(x)) # with scale
all.equal(fi
Kum-Hoe Hwang wrote:
> HOwdy
>
> I read R books about scale function for variable transformation.
> Acoording to this book
> scale function leads me to better regression results. Or am I worng?
>
> I hope somebody tell me about a scale function?
> Is it for variable transformation?
Did you try
Hi Charles,
Nice iniative for Linux newbie :) Some of us may have done a few things
differently. I'll just point out one or two below. If you want to continue
this discussion, why don't we carry it over to the r-sig-debian list that is
more appropriate? I'll set the reply-to header accordingly.
Charles Annis, P.E. wrote:
> Dear R Helpers:
>
> I am trying to annotate a plot. The following code snippet works, but it is
> kind of a kludge since it adds the partial derivative symbols after creating
> the plotmath frac(). Is there a more elegant way to write a partial
> derivative?
See ?
Darren Weber wrote:
> Hi,
>
> I can't find a simple command to switch the plot colors from paper to
> presentation formats. Has anyone defined styles that can be easily applied
> in one command?
>
> It would be nice to have a command for papers, using ps or eps outputs, that
> has a white backg
On Sun, 5 Mar 2006, Laurent Rhelp wrote:
> Dear R-List,
>
> I use Sweave (which is wonderful) and I have a problem with the
> strings when they are too long according to the width of the page. For
> example when I do in my .Rnw document :
>
> <>=
>
> channel <- odbcConnect(dsn="database",
charles loboz wrote:
> Installing R on Knoppix
Have you looked at Quantian? I think it would have saved you lots of time.
Best,
Jim
--
James W. MacDonald
University of Michigan
Affymetrix and cDNA Microarray Core
1500 E Medical Center Drive
Ann Arbor MI 48109
734-647-5623
*
I don't know what kind of computer you are using.
If you are on a Mac, then this might be relevant:
https://stat.ethz.ch/pipermail/r-sig-mac/2006-February/002679.html
(Need to click through to the actual message.)
Martin
On 05/03/2006, at 2:52 AM, Jan Marius Hofert wrote:
> Hi,
>
> If I use t
Dear R-List,
I use Sweave (which is wonderful) and I have a problem with the
strings when they are too long according to the width of the page. For
example when I do in my .Rnw document :
<>=
channel <- odbcConnect(dsn="database",uid="root",pwd="password")
df1 <- sqlFetch(channel,"table1",
Installing R on Knoppix
Knoppix is a small LINUX distribution
(http://www.knoppix.net/) runnable from a CD (without
an installation) It can be also installed on a hard
drive from a single CD. The idea was to reuse an old
laptop with 6gb hard drive and 128mb memory.
I had few days experience with
On Sun, 5 Mar 2006, Patrick Giraudoux wrote:
OK. Looks like I have got it... going through the source code of sp,
classes are declared as usual functions in *.R files. With the current
example, suppose I must write two files of names "class-Prior.R" and
"class-SamplePrior.R" including
setClass("
OK. Looks like I have got it... going through the source code of sp,
classes are declared as usual functions in *.R files. With the current
example, suppose I must write two files of names "class-Prior.R" and
"class-SamplePrior.R" including
setClass("Prior",representation(Distrib="character",Pa
The key steps are
1) setClass and setMethod calls are executed at the top level in your
package See e.g. file mle.R in the stats4 package which ships with R.
2) The package is installed with SaveImage: yes or LazyLoad: yes.
The stats4 package is shipped with R partly as an example of using S4
On Sun, 5 Mar 2006, Judy Chung wrote:
> Hi, all:
>
> a<-data.frame(x=c(1:10),y=c(10:1))
> edit(a)
Let us assume you are running under X11, so you are invoking
edit.data.frame and hence the data editor.
> how to quit the edit in Linux, and then do other computing?
> As In Windows, just c
38 matches
Mail list logo