Hi Elham,
The error message:
Error in if (S == 0) { : missing value where TRUE/FALSE needed
means that for at least one S, the value is missing. The best advice I
can give you is to load the data frame X1 as in your code above, and
try something like:
which.na<-function(x) return(which(is.na(x))
Hi Elham,
The error message is pretty explicit. Check your dataset for missing values.
Jim
On Thu, Nov 23, 2017 at 6:14 AM, Elham Fakharizade via R-help
wrote:
>
> Hello DearI used modifiedmk package for trend analyses.this is my script
> require(modifiedmk)X1<-read.table("c:/elham/first
> ar
Would you resubmit your question in plain text mode?
This is a plain text list and the HTML gets stripped away. What is left is this
Hello DearI used modifiedmk package for trend analyses.this is my script
require(modifiedmk)X1<-read.table("c:/elham/first
article/r/Spring_NDVI-1.txt",skip=2,he
Hello DearI used modifiedmk package for trend analyses.this is my script
require(modifiedmk)X1<-read.table("c:/elham/first
article/r/Spring_NDVI-1.txt",skip=2,header=FALSE)d=dim(X1)
outMK<-matrix(-999,nrow=4,ncol=d[2])for (c in
1:d[2]){MK<-tfpwmk(X1[,c])outMK[1,c]<-getElement(MK,"S")outMK[2,c]
4 matches
Mail list logo