Questions tagged as 'r'

1
answer

How to make a count of repeated arguments in R

I have a spreadsheet, I have to do some operations on the data, so I exported to the R and manages to select the important arguments, now I need to know how many repeated elements there are in a column: for example PRTR4: 4 VALE5: 20 . . ....
asked by 09.03.2018 / 21:03
1
answer

CSV manipulation in R

I have several files with a .csv extension, I need to read them all, however I have a problem where I have the following file range. df1 -> Cabeçalho numérico antes do cabeçalho atual 1 2 3 nome idade escolaridade joao 10 6ano B...
asked by 09.10.2018 / 20:34
1
answer

add different data frames based on column names

I really need your help to complete an analysis. I have the following tables (data frames): df1<-data.frame(c(0,1,1,0),c(1,0,0,1),c(1,1,0,0)) colnames(df1)<-c("0","0.5","1") df2<-data.frame(c(1,1,1,0),c(0,1,0,0)) colnames(df2)<-c("...
asked by 26.12.2017 / 19:03
1
answer

Doubt about concatenation in the R language

I want to use these variables that I'm importing from a table in my function, gecode. The geocode function behaves like this:        geocode ("Paulista Avenue, 1578 - Bela Vista, Sao Paulo, Brazil") I wanted to know if there are any R's to...
asked by 17.01.2018 / 00:25
2
answers

R - Search for rows in a data frame conditioned to part of a string

I have a multi-line date frame, on these lines I have a sentence that contains the word "Ad" by default, I want to generate a new date frame that contains only the lines that in the phrase have the word "Advertisement". I have already looked at...
asked by 31.10.2017 / 14:03
1
answer

How to recategorize a labelled variable and assign new labels?

My question is very basic and is as follows: I have a labelled variable with ten levels and different labels and I would like to add two levels to their levels and assign new labels to each of the levels. how can I do this?     
asked by 31.08.2017 / 15:54
2
answers

Not Available (how to put information in this position) [closed]

I need help. I have a dataframe in R with some columns NA (I know it's uninformated column) and would like to add information in that position, but I have no idea how to do this. Need help. Thank you !!     
asked by 25.07.2017 / 05:21
1
answer

Web scrapping with R, java or html? [closed]

How do I extract the data table from the following page: link     
asked by 03.01.2017 / 19:25
1
answer

Full Separation in Hurdle Model

In a Hurdle Model analysis, how can one work with one of the model variables that has complete (or nearly complete) separation in the binomial model?     
asked by 24.08.2018 / 07:47
1
answer

R histogram with all apparent breaks, hist () function

I have a database with more than 8000 lines and I would like to create a histogram, but the same does not appear in all lower frequency classes, in the case of the last classes (Image). I understand that the 15th class disappears because it p...
asked by 02.08.2018 / 00:11