To the Lattice expert -
I am new to the lattice package and I would like to add a curve to the
xyplot(). I know that I need to use panel function to add it. But it doesn't
work. Is there anyone can help me out on how to transfer the data into the
function?
The following is my code and I would
Dear all -
Is there anyone know how to let VB or C# know where I install R
automatically(i.e. auto detect R directory)?
Many thanks!
Best,
Haoda
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the po
Hi,
Is there anyone know if BUGS language allows the combination of variables as
response
such as
Y[i] <- a*X1[i]+b*X2[i]
Y[i] ~ dnorm(c,d)
It seems doesn't work in my model. The problem is between two ##.
The error message is
> modelCheck("BayesBioMarker.BUGS")
model is syntactically co
Hi,
The data is
x <- c(4,3,5);
I need to translate it to
y <- c(1,2,3,4,1,2,3,1,2,3,4,5);
i.e. for each number in x, we need to generate 1:x and put it in y.
The program need to evaluate this type of calculation for millions of times in
simulation. Is there any elegant way to make this happen
It works like a magic~!!
Many thanks A.K.
Best,
Haoda
From: arun
Cc: R help
Sent: Friday, December 28, 2012 12:51 PM
Subject: Re: [R] Any simple way to make this happen?
Hi,
Try:
y<-paste("c","(",paste(unlist(sapply(x,seq)),collapse=","),")",sep="")
y
#[
Friends -
I am pretty excited for the following talk and I was wondering
if there is a similar solution for C#. I googled but didn't find a
good solution. Previously, I let C# to send R code to Rscript.exe.
But it is not an integrated solution.
Integrating R with C++: Rcpp, RInside, and RProtobu
Hi,
I am wondering if there is a simple way to plot MCF(mean cumulative function)
for recurrent events in R?
MCF (http://www.weibull.com/hotwire/issue57/relbasics57.htm)
And do you have some other recommendation in visualize recurrent events?
I did some research online. Some people use ggplot2
Hi,
I was wondering if the following model can be fitted by nlme/lme4. The
difficult part is that the error term is combined with other parameters.
The model that we need to fit is as below and the R codes to generate data is
provided as well. Many thanks!!!
# Y_{ijk} = (E_0 + Emax*dose_i/(ED_5
All -
I am new to this help list. Please forgive me if
this question has been asked before.
A couple of questions about running BRugs in R.
1. I found that it has been removed from R package
list.
Why is it removed? Is there any improved package to
replace BRugs?
2.I run BRugs and sometimes
All -
When I plot something like
a<-rnorm(5)
b<-rnorm(5)
plot(a,b,col = "red")
points(10,-10)
The last point is missing because it is out of
range of the first plot.
I just try to switch from Matlab to R. In Matlab,
it always can automatic adjust the xlim and ylim
for such case.
Is it possi
Hi,
When I plot multi-panel in R by using lattice package,
the order is always starting from bottom to the top,
e.g., panel 1,2,3,4 will looks like the following,
3,4
1,2
How can I change it to
1,2
3,4
?
many thanks!
Best,
Haoda
__
R-help@r-project.o
Hi -
How can I add different notes in different panels?
My data looks like
ID Dose Visit Value
110 0.5 -6.5802e-02
210 1.0 2.4085e-01
310 1.5 -2.2907e-01
410 2.0 2.4074e-01
... ... ... ... ...
270 45 30 3.0 -8.1316e-01
271 46 30 0.5 -
Hi -
I am not R expert and I would appreciate your time if you can help me
about my xyplot question.
I would like to add text (p-value) in a 4 panels xyplot. I thought
panel = function{} should work but I am not sure where I did it wrong.
The error message from the following code is
"Argument s
13 matches
Mail list logo