Displaying 1 result from an estimated 1 matches for "monthcount".
Did you mean:
  mon_count
  
2010 May 23
1
Re : Indexing array to 1000
...ay1Avg <- value[1]
> day1Avg
[1] 60102
> ID <- (1000/day1Avg)
> ID
[1] 0.01663838
> index <- value*ID
> index
           [,1]
 [1,] 1000.0000
 [2,] 1387.5911
 [3,]  944.6275
 [4,]  811.7034
 [5,]  815.4471
 [6,]  675.0524
 [7,]  635.1702
 [8,]  782.6195
 [9,]  855.2461
> monthcount <- length(avglog)
> Month <-  c(1:monthcount)
> trend <- cbind(Month,c(index))
> colnames(trend) <- c("Month","Index")
> trend
       Month  Index
 [1,]    1 1000.0000
 [2,]    2 1387.5911
 [3,]    3  944.6275
 [4,]    4  811.7034
 [5,]    5  815.4471...