Questions tagged as 'rstudio'

1
answer

Website with R Markdown

I'm trying to create a site to post descriptive analyzes done in R, using the Hugo theme. However, after creating a .rmd post where I read a .csv file and do a series of reviews. I get this error when using the serve_site () or build_site () com...
asked by 13.09.2018 / 03:31
1
answer

I need to create a column with the ln of a variable in the same data frame

I have a series of data eg GDP and I need to create a column next to it with the variable lnPIB, how do I in R?     
asked by 13.02.2017 / 00:32
1
answer

Speed of table crossing - R

Good evening! I cross two bases in Rstudio, using the merge, but I would like to know if using another way (eg left_join), I get faster, because my tables can get 8 million lines. Thank you.     
asked by 08.06.2018 / 04:06
1
answer

How to change rows of tables in R by values of the same row only of another column [closed]

[,1] [,2] [1,] "NAO INFORMADO" "1" [2,] "2" "3" [3,] "NAO INFORMADO" "5" [4,] "4" "1" [5,] "NAO INFORMADO" "3" [6,] "6" "5" I wanted to change all values not reported by the values in colum...
asked by 09.02.2016 / 02:56
1
answer

Get URL table in R

I need to do this here: library(xml) URL <- "http://globoesporte.globo.com/futebol/brasileirao-serie-a/" tabela1 <- readHTMLTable(URL, which = 1, colClasses = ) tabela1$V3 <- NULL names(tabela1) <- c("Posição","Time") tabela2...
asked by 09.11.2017 / 20:30
2
answers

Update the version of RStudio R?

The version of R I have installed is outdated. What is the procedure for updating R considering that I use RStudio in Windows?     
asked by 06.01.2016 / 22:19
1
answer

Calculate difference between dates in days in R

How do I calculate the difference between dates and have the result in days? I have a column in my table called input with data similar to the ones shown below: Entry    2017-01-27   2017-06-01   2017-10-05   2017-09-27   2017-08-31...
asked by 31.01.2018 / 07:54
1
answer

Add two or more covariates in R

I have a database with multiple IDs (rows) and in the columns the covariates. These covariates are repeated in other columns with different information about the same ID. How to join these covariates using R in a single column and creating more...
asked by 27.03.2018 / 06:05
2
answers

How to read data with variables in rows, in RStudio?

I'm starting with the R language in Rstudio. I am an advanced user of MATLAB but with difficulties in R. My question is: I have a worksheet where each row is a variable and each column is an observation in the time series. I would like to kno...
asked by 16.01.2016 / 16:30
1
answer

Specify Miktex path in Rstudio

I'm trying to compile a .rmd file into pdf using Rstudio's Knitr. Since I am using a computer (Windows 7) with permission restrictions, I had to install MikTeX in the Documents folder and Rstudio is not finding this installation. I would like to...
asked by 03.02.2015 / 19:57