Questions tagged as 'rstudio'

0
answers

The use of the square root in edgeR via Rstudio

Good morning! I wonder if anyone has tried using sqrt on edgeR via Rstudio to increase their N and significance. I was having some problems with my reads (RefSeq) as low Ns and low differential expression number, so I tried to apply sqrt on my r...
asked by 06.03.2017 / 14:56
3
answers

How to join values in R?

I'm starting at R and I'm having a question. In a data frame I have a column with the social vulnerability index (IVS) that ranges from 0 to 1, per municipality (229). I need to group some values so that it looks like the example: #Como Est...
asked by 20.11.2018 / 17:19
3
answers

How to compare columns from one dataframe with those from others and remove columns that are not common between them [R]

Suppose I have 3 dataframes. In them, I have varying columns (eg x1, x2 ..., xn). However, not all of these columns coexist in all dataframes. My goal is to compare these dataframes and leave, EACH OF THEM, with the columns in common. Is it p...
asked by 23.08.2018 / 21:56
2
answers

Rstudio. Colors in a BoxPlots Set

I created this very simple set of boxplots but wanted to improve it, namely coloring each one and eventually improving the code. Someone can help. I leave here the code I created. Thank you. > a<-c(0, 15, 10, 10) > b<-c(16,21,2,...
asked by 04.07.2018 / 19:58
2
answers

read txt file with less than 5 elements using read.table

I'm trying to read the txt file with two columns below: +-----------------------------------------------------------------------------+ | Category Information | square| | #|description...
asked by 13.12.2018 / 01:21
1
answer

Barplot no RStudio - 2 Columns

I'm trying to plot the data below in R with the barplot but it must be missing something, can you help me? dados_estado_civil <- "Estado_Civil Set Out AMIGADO 2494 3857 CASADO 2500 3291 SEPARADO 2504 3545 SO...
asked by 21.06.2018 / 21:51
2
answers

How to display comments in the RStudio console?

When I write a comment (preceded by the "#" symbol) in an RStudio script, and I press the 'Control + Enter' command, my comment is not displayed on the console screen. Would anyone know how to make the script comments appear on the RStudio conso...
asked by 12.10.2017 / 23:18
2
answers

How to create column from data contained in other columns

Hello, I'm new to R and I'm getting caught up in solving this problem. I have a spreadsheet I called base and it has 2573 observations of 103 variables. I've created an auxiliary column named reclamacoes.titulo . I need to...
asked by 25.10.2017 / 19:29
2
answers

Argument is neither numerical nor logical: returning NA

Searching for an answer about the error I encountered when trying to parse data in R, I found a case very similar, but not identical to what I came across. So I decided to write my question in a systematized way. ROUTINE in R: # pr é o nome...
asked by 16.08.2018 / 17:06
1
answer

How can I assign a variable to a table? [closed]

This table is only in one column! I need to assign the variable age, to do the average, variance, ..., but I can not do this because they are in the same column. ID, Name, Sex, Age, Height, Weight, Team, NOC, Games, Year, Season, City, Sport...
asked by 02.09.2018 / 18:11