Questions tagged as 'r'

0
answers

Web scraping with R 2

I would like to be able to create a function in R to be able to capture the information of this site link being that he gives me this information consolidated by Year, State and Municipality, I tried to use the R software through the "rvest" l...
asked by 09.03.2017 / 14:59
0
answers

Internal server error, can anyone solve it? [closed]

I've put up a code to log into a website and download a spreadsheet, however, the connection has been closed, can anyone help me? library(RCurl) curl = getCurlHandle() curlSetOpt(verbose = T, cookiejar = 'cookies.txt', followlocatio...
asked by 24.02.2017 / 18:53
0
answers

Use of commands in R and error corrections

I have a large database of 1800 rows and 50 columns. Of these 50 columns 3 of them (Density, Biomass and BMI) are responses. I should compare it one by one with the other variables. I'm doing tests of normality, ANOVA, Tukey etc. An explorato...
asked by 25.02.2017 / 21:59
0
answers

Inclusion of correlation structure glmer function of package lme4

I'm using the glmer function of the lme4 package of R. My answer is binomial. In the bild Package, I can use the Mc1 or MC2 option for correlation structures, in view of my data being longitudinal. Is there any way to use the glmer functio...
asked by 30.03.2017 / 14:20
0
answers

Aggregate in R using date as key

Good afternoon, I'm using the code: soma<-aggregate(as.numeric(coop[c(10,18,26,34,42,50,58,66)]), by=list(coop$data), FUN=sum, na.rm=TRUE) to aggregate the data based on the date key, which is in date format. I tried changing this var...
asked by 18.01.2017 / 18:55
0
answers

How do I select imported data in R?

I need to analyze my data with PCA in R (version 3.3.2) , and the tutorial I have from an older version seems will not apply. I imported the data into .xlsx and according to what I know, I need to select the numeric data for analysis...
asked by 16.02.2017 / 23:49
0
answers

get.shortest.paths in temporal graph

I'm using the "igraph" library and I'm working with dynamic graphs. I have the following graph: VertexFrom VertexTo TimeStart TimeStop a c 1 1 a 2 2 b d 2 2 c d 3 3 d b 3 3 That is, v1 is connected to v2 at time x to y. E...
asked by 18.11.2016 / 21:48
1
answer

Changing list by reference in R

I have the following problem. I have 5 graphs (per hour, it will not matter the structure of each graph, only I have 5 graphs) and put them inside a list in R. I will make changes in these graphs within a loop that will have 100 loops. Example...
asked by 17.10.2016 / 14:03
2
answers

Look up values in one data.frame and add in another (R)

I have 2 data.frames, the first is a data.frame that contains stock data and a column with a unique identifier (column "ISIN") , as shown below: > Teste=data.frame(matrix(runif(20), nrow=5, ncol=4)) Teste$ISIN <- c("A1","A2","A3","A4","A5"...
asked by 19.04.2016 / 21:30
0
answers

Help with using the igraph library and timeorded in R

I'm using lib 'igraph' and 'timeorded' ( link ) to work with temporal graphs. I have the following temporal graph: "graph.txt": a c 1 1 a d 2 2 b d 2 2 c d 3 3 d b 3 3 Mycode:library(igraph)library(plyr)library(timeordered)g<-read....
asked by 17.11.2016 / 00:32