Questions tagged as 'rstudio'

2
answers

R - Search for rows in a data frame conditioned to part of a string

I have a multi-line date frame, on these lines I have a sentence that contains the word "Ad" by default, I want to generate a new date frame that contains only the lines that in the phrase have the word "Advertisement". I have already looked at...
asked by 31.10.2017 / 14:03
1
answer

Rendering latex tables in rmarkdown

I am creating an html file from a latex file that I already have. To do this, I would like to render in html (using the Rstudio format Rmd) the complex table below that uses \usepackage{multirow} in the latex file preamble. How to do this...
asked by 11.09.2016 / 19:04
0
answers

How to join two different file arrays in RData format?

Hello, I have two RData files that I want to gather the information to perform the data processing. But, I am not able to join the arrays through the CSV file because it does not load all the information, when I convert the RData file to CSV the...
asked by 25.10.2018 / 20:52
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
1
answer

DataFrame Handling in R

I have the dataset according to the figure. I need to name the Month column where where 1 is January, 2 February and so on. I also need to group by type of expense and add the amount reimbursed. The idea is to generate monthly charts by name, ty...
asked by 10.09.2018 / 18:11
0
answers

Linear discriminant analysis in RStudio: dependent and independent variables

Hello, I have no experience in RStudio, but I need to do Linear Discriminant Analysis (LDA) in this program. I have an independent variable (the X) in the first column and 22 dependent variables (the Ys) in the other columns. My problem is being...
asked by 28.08.2018 / 04:25
0
answers

R / Rstudio - Configure Devices

In a set of about 40 graphs, namely: histograms, boxplot and scatter diagrams, only two or three of them appear in different (larger) windows than the other graphs and with the indication "device active" and "device inactive ". Is it possible (a...
asked by 28.08.2018 / 04:16
0
answers

Error installing packages in RStudio

Every time I try to install some package in RStudio this error message appears    Error in install.packages: can not open file 'xxxxxxxxxxxxxxxxxxxxx / xxxxxxxxx / R / win-library / 3.5 / file2dd82b9d52da / colorspace / doc / hcl-colors.pdf':...
asked by 08.09.2018 / 02:11
0
answers

Rstudio - BoxPlot

I have a chart with a set of 3 BoxPlots that all appear, depending on the code I made, in "gray" and I can not change that color. I leave here the code I have in the script. I asked for help to resolve this issue. Thank you. C = list (perform...
asked by 22.08.2018 / 17:59
0
answers

Searching for specific names within rows

I have a database on parties and on a line I have a series of acronym of type; PT / PSDC / PCB / PMDB How do I select only the PMDB within these lines for example?     
asked by 01.08.2018 / 00:28