search for: elham

Displaying 5 results from an estimated 5 matches for "elham".

Did you mean: elam
2017 Nov 24
0
Fw: modified mankendal
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))) sapp...
2017 Nov 22
3
Fw: modified mankendal
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]<-getElement(MK,"Var(S)")outMK[3,c]<-getElement(MK,"Sen's Slope")out...
2012 Oct 26
2
Wrong output in R.14
...atistics. For my thesis, I used R to simulate data. Surprisingly, when I wrote the code below in R14, the output was a vector full of "FALSE"s. Would you please check and let me know why this happend? ti=seq(1,10,by=0.1) ti==2.9 I'm looking forward to receiving your reply. Thank you Elham K.Moez [[alternative HTML version deleted]]
2013 Dec 13
2
how do I separete coloumns by comma?
...separate columns by comma, like this: 1,4,4,1,6,23 1,4,2,2,3,28 1,4,5,1,2,24 1,2,3,1,1,24 1,2,3,1,2,40 1,2,3,1,4,22   I used this code: mydata=read.table("data.txt",sep=",") but I see this output: 1\t4\t4\t1\t6\t231\t4\t2\t2\t3\t28 ...  please correct my code Thanks in advance Elham [[alternative HTML version deleted]]
2013 Dec 22
2
How do I separate elements of a vector by comma?
I have a vector like this (this vector is a colomn of a data set): > 3 5 2 3 7 4 7 8  8 9 0 1 4 I want to separate elements of the vector by comma like this: > 3,5,2,3,7,4,7,8,8,9,0,1,4 How can do this? Thanks. Elham [[alternative HTML version deleted]]