Posts by Ingled M Cardoso • 159 points
10 posts
-
-1
votes1
answer45
viewsQ: Average the sum of two columns and division of two columns
I want to average the sum of 2 columns of the following base: > dput(head(censo3)) structure(list(UF = c("Rondônia", "Rondônia", "Rondônia", "Rondônia", "Rondônia", "Rondônia"),…
rasked Ingled M Cardoso 159 -
3
votes2
answers52
viewsQ: Create new columns of data in a data frame
I would like to create 2 new columns in my "Minimum" and "Maximum" date frame, where the value of these columns depends on the "Total area groups" column, where for example, when "Total area…
rasked Ingled M Cardoso 159 -
2
votes2
answers140
viewsQ: Delete lines with a specific string
I would like to delete all lines that show "-" in the column "Shop area", how do I delete? Below follows the result of the command dput(censo) of my data frame: structure(list(Unidade.da.Federação =…
rasked Ingled M Cardoso 159 -
0
votes1
answer611
viewsQ: SIZE OF A DATAFRAME
Good afternoon! I would like to know what size capacity of a data frame in R, I have a case in which used the R Sidrar package connection direct to the IBGE API for data capture, I had the following…
rasked Ingled M Cardoso 159 -
1
votes4
answers188
viewsQ: Import Excel file to R
I am having trouble importing an excel file into R. I am using readxl package, my working directory is set in the same location as excel file : setwd("C:/R sidra") However, when executing the readxl…
rasked Ingled M Cardoso 159 -
2
votes1
answer58
viewsQ: merge dataframe by lines
I have 2 data frames and would like to merge a data frame with another data frame by the value column, subtracting the values of each line. The data frames I have are : df1: UF Ano Valor 1 AC 2007…
rasked Ingled M Cardoso 159 -
3
votes2
answers74
viewsQ: Renaming string text in a column
Hello, good morning! I have a quarterly data frame that is divided by 1st, 2nd and 3rd month of each quarter, see: Trimestre Variável Referência temporal 1º trimestre 2007 Animais abatidos No 1º mês…
rasked Ingled M Cardoso 159 -
1
votes0
answers23
viewsQ: exclusion of a column element in a dataframe
Hello, I have the following dataframe: Município (Código) Município Valor 2 1100015 Alta Floresta D'Oeste - RO 408765 3 1100023 Ariquemes - RO 477322 4 1100031 Cabixi - RO 126630 5 1100049 Cacoal -…
rasked Ingled M Cardoso 159 -
4
votes1
answer1154
viewsQ: How to remove text from a string in a data frame column in r?
Hello! I have the following dataframe: Município (Código) Município Valor 2 1100015 Alta Floresta D'Oeste - RO 408765 3 1100023 Ariquemes - RO 477322 4 1100031 Cabixi - RO 126630 5 1100049 Cacoal -…
-
0
votes1
answer118
viewsQ: Rstem package installation on R
Hello, good afternoon! I am trying to install the Rstem package on R, through a tar.gz file, since the package was discontinued from CRAN. I am using the following routine, but error installation,…
rasked Ingled M Cardoso 159