Questions tagged as 'r'

2
answers

RMySQL - My querys return a list

Hello, I'm working with a database that I usually access with the workbench. To start importing directly into R, I'm using the RMySQL library. I can make the connection and find my tables, but at the time of importing with tbl it returns me a li...
asked by 12.12.2018 / 21:16
0
answers

Doubts about calling multiple objects, one by one in iterations of a looping in R

I imported some objects as follows, in this example I put only two, but I want to work with many, so I need to automate the processes a little: library(quantmod) #escolhendo a data que deseja start <- as.Date("2014-01-01") end<- as.Date...
asked by 07.12.2018 / 13:10
1
answer

Monte Carlo Simulation

Good morning, I came across the following terms: Monte Carlo simulation of first order and second order. I've been working with MMC for some time but I'm not familiar with these terms and I have not found any material on that. Can someone please...
asked by 23.10.2018 / 15:06
1
answer

How to plot / map Spatial Random Effects in R?

I am working with visceral leishmaniasis data in census tracts of a Brazilian municipality. I circled a Baysian (CAR conditional autoregressive model) BYM model of the CARBayes package in software R. However, I am not able to visualize and expor...
asked by 15.10.2018 / 07:14
0
answers

I'm having trouble reading 300MB xlsx file in R

I need to read an ".xlsx" file in R, using the readxl library, but the file has more than a million lines, the session is aborted and I can not finish reading. How can I resolve this? It's worth noting that my computer crashes when y...
asked by 11.10.2018 / 21:05
0
answers

Problem downloading data from rbcb Central Bank in R

Could you help me? I'm trying to download inflation expectations data for a month through the package rbcb link I installed and did the step by step to test if everything is ok. But when I get here: rbcb::get_monthly_marke...
asked by 09.10.2018 / 14:27
0
answers

Inflection / Deflection of points set

I have the following situation and am trying to find the deflection point of the data, which corresponds to the blue line crosses , which I highlighted and found via CAD plotting. It is worth mentioning that I have already identified the cros...
asked by 29.09.2018 / 21:28
0
answers

Problems with dplyr filter ()

Hi, people. Well, I've been trying to replicate a code I made on the work computer in my notebook. At some point, I do data filtering with dplyr using the "<" and ">" signs. When I made the code on my notebook, the...
asked by 05.10.2018 / 15:23
0
answers

RMarkdown with accents changed

I made a report in Rmarkdown that, after a Windows update, it changed all the accents by other characters. The main issue would be reading the external files. But there is a part that I need to read some 'csv's', which before the encoding "ISO-8...
asked by 26.09.2018 / 20:51
0
answers

Downloading data from the internet of the site BovespaBMF by R

I need the data of this site here on Bovespa: http://www.b3.com.br/pt_br/market-data-e-indices/servicos-de-dados/market-data/historico/mercado-a-vista/series-historicas/ The data I want is the actions of 2017 and 2018. For this I need to cl...
asked by 21.09.2018 / 02:25