Displaying 2 results from an estimated 2 matches for "fcspar".
Did you mean:
aspar
2008 Jan 06
1
Error: missing value where TRUE/FALSE needed
...he 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 <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <= seedNumber) {
for(k in 1:100) {
valueDiff <- abs(fcsPar[k] - fcsPar[k+1])
if((seedCount <= seedNumber) && (valueDiff >
sup)) { #error
seeds[seedCount] <- fcsPar[k]
seedCount <-...
2008 Jan 06
1
Error .. missing value where TRUE/FALSE needed
...he 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 <- array(as.integer(rnorm(100, 50, 10)))
while (seedCount <= seedNumber) {
for(k in 1:100) {
valueDiff <- abs(fcsPar[k] - fcsPar[k+1])
if((seedCount <= seedNumber) && (valueDiff >
sup)) { #error
seeds[seedCount] <- fcsPar[k]
seedCount <-...