Questions tagged as 'r'

0
answers

Graphical interface for R

Hello! I need to create a graphical interface capable of running ready-made R scripts and look for suggestions of which tools I can use. The scripts are complex and basically serve to render images via satellites. The interface would be quite si...
asked by 06.02.2018 / 19:18
1
answer

Error in setValues: std :: bad_alloc when executing the aggregate function in a raster file

When I run the aggregate function to reduce the resolution of a raster file I'm getting the error below, Error in setValues(out, .Call("_raster_aggregate_fun", x, dims, as.integer(na.rm), : std::bad_alloc. The command used was, DEM2 <-...
asked by 21.01.2018 / 23:34
0
answers

How to work with repeated measure for the same individual with the R

Dear colleagues, I am looking for help to generate an analysis in R. I am starting to use the software. I have a set of data and investigated the following: whether the effect of interaction between different sizes of a fish species - "large" an...
asked by 15.01.2018 / 19:33
0
answers

Graphics Residues for panel data

Hello, I want to do a residue analysis of a Feasible Generalized Least Squares (FGLS) model, but I'm not sure how to do this for such models that work with dashboard data. In the case of OLS regressions, the plot(regressaools) function...
asked by 12.01.2018 / 21:24
1
answer

Date Histogram in GGPLOT

I'm not getting the ggplot from the following table: Data Frequência 1 2016-06-11 3126 2 2016-03-05 218 3 2016-01-23 431 4 2016-06-04 145 5 2016-11-30 331 6 2016-15-01 275 Using the...
asked by 26.12.2017 / 15:06
3
answers

Aggregate function in R

Good afternoon. I'm using the aggregate function to group some data. However, I'm only using one variable to add. I would like to use more than one variable. It is possible? I'm using the following example: TESTE = aggregate(VALOR ~ REF...
asked by 05.12.2017 / 18:03
0
answers

Plot data in a group where the groups are in another data.frame

I have this data.frame date pol S01P01 S01P02 S01P03 S01P04 S01P05 S01P06 1 2016-01-23 vh -11.89972 -10.32407 -11.56241 -11.54153 -11.76252 -12.49887 2 2016-10-01 vh -11.98468 -10.65089 -12.51395 -11.72623 -13....
asked by 23.11.2017 / 16:06
0
answers

Comparison of columns in different files in R

I would like some help. I have two text files around 2 GBs, where in these files I want to compare the ID column of each file. The idea is to take the lines of the two files that have the same ID value of the ID columns. Thank you     
asked by 17.11.2017 / 01:08
2
answers

How to convert Hour: minutes: seconds to decimal number in R

I am trying to convert a column in the data.frame that is in the format of hour: minutes: second to decimal number Example: 2:20 PM to 2.33 How can I do this in R?     
asked by 18.08.2017 / 11:18
0
answers

how to categorize into 0 and 1 an array

I'm trying to create a neighborhood array based on a search radius. I have the matrix of symmetrical distances d, a minimum distance value calculated "minimum distance", and the maximum radius "r" to where it will be considered neighbor. How do...
asked by 08.10.2017 / 20:43