Posts by Renê Jota • 11 points
4 posts
-
0
votes2
answers44
viewsA: how to implement the jaccknife method if two terms are removed (in R)
I tried the following: As you want to remove two by two, the dataframe should have 8 lines, otherwise the reallocation of the data will be incompatible, as it is taking 2 values at a time: x<-…
-
1
votes1
answer391
viewsA: Error in setValues : Std::bad_alloc when running the Aggregate function in a raster file
Another way without using the Aggregate function is: require(raster) # criando um raster com dados aleatórios r <- matrix(runif(100),nrow=10,ncol=10) r <- raster(r) # cria um raster com…
-
0
votes1
answer1718
viewsA: Object not found
As William asked... Probably your data does not have a column named 'xv'. Imagine the example: # criando dados xv <- runif(9) yv <- runif(9) # cria o dataframe data1 <- data.frame(xv,yv)…
-
0
votes3
answers226
viewsA: Average temperature in R
I modified some of your data: # vetores de dados Data <- rep('02/08/2013', 13) # cria 13 datas iguais Sala.1 <- c(20.5,19.7,19.7,19.7,19.8,19.9,19.9,20.0,20.2,20.3,20.5,20.5,20.8) Sala.2…