Questions tagged [R] (46)

2
answers

How to correctly export a table from R into Excel?

There was a problem when exporting a table from R. for some reason, all the data is written in one line (the data is not split into columns as it should be). While using View(), the table is displayed in the correct form. Save table to csv file using the function write.table(res.tab, file="/Users/.../result.txt", fileEncod...
laurence.Nienow asked April 9th 20 at 10:52
0
answer

R+knitr. Is it possible to create a list itemize the condition from the list?

Welcome! By transformation and filtering received: Category n <fct> <int> 1 data entry Error 121 2 the Lack of pre-obrabotki 17 3 Other 14 4 Software bugs 1 > str(low_risk) Classes ‘grouped_df’, ‘tbl_df’, ‘tbl’ and 'data.frame': 4 obs. of 2 variables: $ Category : Factor w/ 9 levels "of data entry Error ",...
kendra.Hamm asked April 8th 20 at 09:17
1
answer

How to "fill" the column names in the known names from the table?

Hi, I have this table here:id gene0 1 2 3 gene1 0 0 5 gene2 6 8 0 gene3 5 5 5 0 0 5 1 2 3 but as seen below there are duplicate rows but with no name. I would like to get a table, based on the fact that gene1 0 0 5 and gene0 1 2 3id gene0 1 2 3 gene1 0 0 5 gene2 6 8 0 gene3 5 5 5 gene1 0 0 5 gene0 1 2 3 I was advised thi...
Trisha asked April 3rd 20 at 18:18
2
answers

How to find the table of the same series and save their number in a separate column?

Hi, I have the following table:gene 5 5 5 gene 4 4 3 gene 5 5 5 gene 1 4 5 I would like to get this:gene 5 5 5 2 gene 4 4 3 1 gene 1 4 5 1 accordingly, a separate column displays the number of encountered series with the same data, in this case, in the table two rows of gene 5 5 5 and the rest one by one. Can it be done usi...
Riley.Muller11 asked April 3rd 20 at 17:24
2
answers

What is it in R that is not in Python?

What tasks Python will not be able to replace R?
Yasmine.Vandervort asked April 2nd 20 at 17:16
2
answers

Can the R language to execute multiple scripts simultaneously?

Good day! I hope there R experts:) The bottom line is this - There is some website on which users can handle the files. With the downloaded file running the script is written in R. Question - Can R to work with multiple users at the same time as it does, for example , PHP? Thanks in advance!
bridget28 asked March 31st 20 at 16:26
1
answer

How to draw a graph of a binomial distribution in R?

I need to draw a graph of a binomial distribution with 100000 attempts. The schedule should consist of the graph line and bar charts. I do so:library(tidyverse) summarize.binomial.observations <- function(trials, theta, observations) { sample.space <- c(1,0) results <- 1:observations %>% map_int(function(x) as...
Jedediah.Heidenreich59 asked March 31st 20 at 14:49
1
answer

How to reduce the number of levels in the factor?

Hi, I have dataframe films in the column "Genre" in factor 15 levels: levels(dann$Genre) > levels(dann$Genre) [1] "action" "adventure" "animation" "biography" "comedy" "crime" [7] "documentary" "drama" "fantasy" "horror" "musical" "mystery" [13] "romance" "sci-fi" "thriller" I need to reduce the number of levels fr...
aletha_Ha asked March 29th 20 at 23:53
0
answer

How to do data filtering with "CONTAINS" condition in R?

Is it possible to do data filtering with "contains" condition? For example, you need to choose in the data table all rows with the symbols "remont".
Josefa.Hahn86 asked March 24th 20 at 11:15
1
answer

Is there any virtual hosting services with support of R language?

Hello! In fact, the whole essence of the question displayed in the title. Maybe somebody knows some hosting with support R? The fact that I need to implement the R script on the website, but don't want to order a VPS because the task is so vast and it's just an extra:) P. S. in Advance thanks for answers
Salvatore.Marquar asked March 21st 20 at 12:20