Hello,
try this way : any(as.integer(c(1, 3))==3)
cheers,
Jonas
Christofer Bogaso a écrit :
Hi I have following line of code:
any(as.integer(c(1, 3))) == 3
[1] FALSE
Shouldn't I expect it is true?
Thanks,
__
R-help@r-project.org
Hello,
Check the function diff() it can do it for you, no need for a loop.
Cheers,
Jonas Mandel
ecvet...@uwaterloo.ca a écrit :
I have a data frame with 2 columns, one for day and one for average. The
day starts at 97 all the way to 279. I want to subtract day 98 average-
day 97 average
, Jun 17, 2010 at 6:03 PM, Jonas Mandel jonas.man...@curie.fr wrote:
Dear R users,
I have some trouble using the allEffects() function to compute and
display effect plots for a linear model.
My data is quite simple, it concerns effects of 3 treatments on the
tumoral volume of mice. vTum codes
formed, so the problem should come from the
fit itself. And as I can't see any obvious errors in your model
formula, it has to be a problem with your data. Did you get no warning
at all when fitting the model?
Cheers
Joris
On Fri, Jun 18, 2010 at 10:19 AM, Jonas Mandel jonas.man
:
eff.lm1 - allEffect(mod=lm1,
Error in apply(mod.matrix[, components], 1, prod) : index out of range
I read the help and the example but I don't understand the reason why it
doesn't work. Can you help me ?
Thanks
--
Jonas Mandel
__
R-help@r
for my
question ? Thanks by advance
Jonas Mandel
U900 - Bioinformatics unit
Institut Curie
Paris
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
6 matches
Mail list logo