Questions tagged as 'rstudio'

2
answers

How to return a logical value when rows have identical values in software R?

I have a database that contains 3 variables: var1 , var2 and var 3 . I tried to use some functions in R that would return me a logical value if any of the rows had the same values. One of them was the all function, as b...
asked by 27.10.2018 / 04:36
1
answer

Github pages and rstudio

I'm using Rstudio to create my documents in the format .Rmd and render in .md with the following function: rmarkdown::render("2016-09-07-post1.Rmd",output_format = "md_document",encoding = "UTF-8") The .md genera...
asked by 07.09.2016 / 15:22
3
answers

Transform factor into numerical R

Good evening! I'm doing a job where I import a base and after importing I create a range of values. Ex. I import the base with read.csv dados <- read.csv(base, header=TRUE, sep=',') But in this column of values ($$), which I...
asked by 05.06.2018 / 04:45
2
answers

I want to generate a table of R for Latex

I want to generate a table with the summary data of R with the results I got, I know there is a library called stargazer that does, but I did not find the documentation.     
asked by 14.09.2017 / 06:14
1
answer

How to join two csv files in R?

My problem is this: I have two csv data files with the same number of columns and the same column names (see below). I ask you to read the files as follows: > dados_1 <- read.csv("Teste_01.csv") > dados_2 <- read.csv("Teste_02.csv"...
asked by 09.10.2016 / 20:07
1
answer

How to check if a (variable) column exists inside a 'data.frame'?

I need to check for columns (or variables) within data.frame before doing any operation, but the passed variable is not in string to compare with colnames or names . > Follow the code: check_measurement_ages = func...
asked by 27.09.2016 / 08:15
1
answer

How to merge BibTex files into R

How can I merge several .bib extension files into one single file in R? I'm learning how to use the Bibliometrix package, and I need to merge 99 .bib files into a single file. Thanks, guys.     
asked by 08.07.2016 / 22:23
1
answer

Loading RData files from the directory itself .R

How to load RData files that are in the same directory as the .R file in RStudio? Here, for example, there is the line: load('teste.RData') When loaded, it returns ... Erro em readChar(con, 5L, useBytes = TRUE) : não é possível...
asked by 23.09.2014 / 19:12
1
answer

Run an .R file inside another code in R

I have a code that reads XML files that are in a corporate network folder, and generates a .RData file. I have other codes that generate different reports for the different sectors, based on RData . My problem is: these XML files ar...
asked by 11.10.2018 / 15:47
0
answers

Calculate Weibull distribution parameters from a wind velocity histogram using Rstudio

I can calculate the shape and scale parameters of the weibull distribution, where I enter the velocities of the winds and using the fitdistrplus () function of the fitdistrplus package, I get the shape and scale factors. Now, given any histogram...
asked by 17.07.2017 / 20:12