)
[1] FALSE
> is.na(TRUE && TRUE && NA)
[1] TRUE
I hope that this helps,
John
-
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
Web: socserv.mcmaster.ca/jfox
> -Original Message-
> From: R-help [mailto:r-help-boun.
Dear Shashi,
I don't see any code, but I will take a guess anyway:
The error tells you that you try to compare a boolean with something that
is not (TRUE or FALSE cannot be compared to NA).
HTH
Ulrik
On Thu, 9 Jun 2016 at 08:55 SHASHI SETH wrote:
> Hi,
>
>
>
> I am getting the following error
Hi,
I am getting the following error:
Error in if ((sum > 0 && sums1 > 0 && sums2 > 0) != NA) { :
missing value where TRUE/FALSE needed
I have including my code below for your review:
fitness_1_data
[[alternative HTML version deleted]]
__
In addition to what Petr said,
That message most likely means that you have some missing data where
you're not allowed to have missing data in your Datos.
Look and see if the mctp() function has an argument that controls what it
does with missing data.
-Don
--
Don MacQueen
Lawrence Livermore
I wonder if anybody can resolve your problem.
Regards
Petr
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Lee Jejen
> Sent: Tuesday, July 16, 2013 11:29 PM
> To: r-help@r-project.org
> Subject: [R] ERROR: m
Hello, I have a problem... I tried using a function and I get the error:
"ERROR: missing value where TRUE/FALSE needed"
Here is my code:
a<-mctp(Ecoli~Fecha, data=Datos, type = "Tukey", alternative = "two.sided",
asy.method = "mult.t", plot.simci = TRUE)summary(a)
Ecoli, Fecha and Datos are well
When the error occurs, valueDiff is NA:
Error in if ((seedCount <= seedNumber) && (valueDiff > sup)) { :
missing value where TRUE/FALSE needed
> valueDiff
[1] NA
>
Look at your loop; you are going through 100 times so on the last time
you are trying to access: fcsPar[k+1] which is the 101th en
errata: fcsPar[k+1]
On Jan 6, 2008, at 1:50 AM, Benilton Carvalho wrote:
make "k = 100", note that you're doing fcsPar[k]-fcsPar[k+10]
note fcsPar has length 100...
therefore valueDiff becomes NA.. and the if() statement fails.
b
On Jan 6, 2008, at 1:16 AM, Nicholas Crosbie wrote:
Can a
make "k = 100", note that you're doing fcsPar[k]-fcsPar[k+10]
note fcsPar has length 100...
therefore valueDiff becomes NA.. and the if() statement fails.
b
On Jan 6, 2008, at 1:16 AM, Nicholas Crosbie wrote:
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <- a
Can any explain the following error:
Error in if ((seedCount <= seedNumber) && (valueDiff >
sup)) { :
missing value where TRUE/FALSE needed
which I get upon running this script:
seedNumber <- 10
seeds <- array(dim = seedNumber)
seedCount <- 1
maxValue <- 100
sup <- maxValue / 2
fcsPar <-
11 matches
Mail list logo