Questions tagged as 'r'

1
answer

Text mining python or r [closed]

I'm trying to extract information from PDF files to popular a table without having to read the PDF. I just can not find any reference to how to do this. I need, for example, to find the authors and date of publication of this article: lin...
asked by 09.10.2018 / 18:50
1
answer

How to adjust margins in R markdown

I'm creating a document in R Markdown, but when I generate the markdown it fills the entire browser area, reading poorly. I would like to know how to adjust the margins so that it creates a scrollbar, but respecting a margin space on the right a...
asked by 17.11.2018 / 15:27
1
answer

Comparison of two curves

Hello I have to follow a determination of Anvisa RDC 166/2017 and one of the things she asks is the comparison of two straight lines through the tilt, intercept and calculation of coincidence. Of the three calculations I could only do the coinci...
asked by 31.07.2018 / 03:33
1
answer

Warning: "In sqrt (diag (object $ vcov)): NaNs produced" in Hurdle Model

Hello I have a set of data, with which I intend to perform a test to analyze the influence of some predictor variables on a response variable; as there are many zeros in my response variable (there are 766 zeros of 2830 sample units), I decid...
asked by 19.08.2018 / 01:54
1
answer

Table of feeling ordering (Tidytext)

I'm trying to create a table that has the Chapter-Book-Feeling-n leaving the Chapter always in the original order : "The Boy Who Lived",         "The Vanishing Glass",         "The Letters from No One",         "The Keeper of Keys",         "...
asked by 14.07.2018 / 20:18
1
answer

Include column in a select

In my work, I always extract from sql, tables, in one of these tables the extracted information is contracts, date, dial qtde, attendee qtde, alo qtde, and so on. I emphasize that I use Rstudio, with a connection via odbc to extract the base. Th...
asked by 09.06.2018 / 02:37
1
answer

Error in [.data.frame '(attr, region): undefined columns selected

I want to use fortify to plot a graph in R: PaísX <- fortify(BRmap, region = "ID_2") %>% mutate(id = as.integer(id)) %>% full_join(BRmap@data, by =c("id" = "ID_2")) %>% select(c(id, long, lat, order, hole, piece, gro...
asked by 09.06.2018 / 23:19
1
answer

Separate values from a list of summaries in R

From the previous question How to execute a looping in R and save the results of a summary in a vector I have a list of 20 summaries with values calculated from a specified template. One of the answers obtained is of the form smry_list[[2]]...
asked by 18.04.2018 / 14:22
1
answer

Error in scan (file = file, what = what ...)

Good morning, I'm having an error to run a code in my R. Below is the code. library(car) library(fBasics) library(NbClust) setwd("C:/Financas") # Salvar na pasta Base = read.table("baseFin.txt", header=TRUE) #Importa o arquivo head(Base...
asked by 08.05.2018 / 14:36
1
answer

average of the 15 days before the day in common

Hello! I'm trying to find in the database ( agua and meteo ) the day of the month of agua in common with meteo and when I find meteo it finds the same day (for Alqueva-Amante station) , make it the average of th...
asked by 19.03.2018 / 19:38