Questions tagged as 'r'

2
answers

Problem with accentuation - R

I try to solve the accent problem with this script: Mapa@data$NAME_2 <- Mapa@data$NAME_2 %>% as.character() %>% stri_trans_general("Latin-ASCII") %>% toupper() But when I open the column NAME_2 , the n...
asked by 12.06.2018 / 19:57
0
answers

Set up an EDO system for a data set

I need to set in R a template for the following data set: t <- c(15.0169, 13.0286, 11.0257, 10.0172, 9.0087, 8.0157, 7.0230, 6.0300, 5.0229, 4.0158, 3.0231, 2.0302, 1.0221, 0.0000) N <- c(7.9709, 7.9146, 7.9225, 7.8392, 7.7743, 7...
asked by 09.06.2018 / 16:16
0
answers

How can I do a function that "calls" preexisting worksheets in program R?

Good morning, I'm new to the R program so I have a basic question. I want to make a function that uses an existing worksheet to pull some data that will be important for the calculation that I want the function to perform. How can I call this wo...
asked by 17.05.2018 / 15:07
0
answers

Error in XMLSchema R version 3.5.0

follows the complete information: What is contained in Source bcb.R is: >library(SSOAP) >library(XML) >library(RCurl) wsdl <- getURL("https://www3.bcb.gov.br/sgspub/JSP/sgsgeral/FachadaWSSGS.wsdl", ssl.verifypeer = FAL...
asked by 27.04.2018 / 20:21
1
answer

Problems loading Rcmdr

Good evening when after installing the Rcmdr package, I can not load it to use. Does this message appear? Can anyone tell me what I can do pfv?    local ({pkg
asked by 28.04.2018 / 05:35
0
answers

How do I insert rows into specific places in a data frame?

I need to insert rows in the "fev" column on days 30 and 31 that are filled with "NA" so that the data in the rows is shifted down. I tried fev$novaLin <- with(fev, as.integer(d == 30, 31 & fev == NA, NA)) , but it did not work bec...
asked by 02.04.2018 / 15:36
0
answers

Error to generate a Seasplot chart

Generating this code: inflacao <- ts(read.csv2('inflacao.csv',header = T,sep = ';',dec = ','), start = c(1980,01),freq=12)[,-1] After Seasplot: seasplot(inflacao, outplot = 4) Give this error:    Relate the item...
asked by 07.04.2018 / 18:44
1
answer

Reading of pdf via R

I need to convert the PDF data below into a data frame: link Doing a search for the How to Read PDF Data in the R . I had some problems installing the package, but I managed to make it work in RStudio after all. But the result was not sati...
asked by 19.03.2018 / 19:24
0
answers

How to do an automated search in the Web of Science using R?

So I have several search strings with which I want to search the Web of Science (these search strings are organized in a Excel, where each line corresponds to a search string ); my goal is to know the number of articles that the search for...
asked by 31.03.2018 / 23:16
1
answer

Object not found

I made the following commands in the R: setwd:(###) data1<-read.table("scatter1.txt",header=T) head(data1) tail(data1) summary(data1) str(data1) names(data1) plot(xv,ys,col="red") And the message below appeared:    Error in eval (pred...
asked by 23.03.2018 / 15:23