Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged R

0 votes
435 views
1 answer
    I am creating a matrix in my server. I would like to then output this matrix on the screen using renderTable(). (I ... 'c') matrix }) } ) ) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
405 views
1 answer
    I have the following data: bin groupname total_dist 0 rowA 377 0 rowA 306.6 0 rowB 2.1 0 rowB 110.6 ... that looks similar to this example: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
320 views
1 answer
    I want to highlight selected points and encountered some strange behaviour. First some dummy data: a <- 1:50 b <- ... number of rows: 3, 31 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
355 views
1 answer
    Is it possible to use dplyr's mutate function without hard-coding the variable names? For example, the following code ... seem to help, either. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
368 views
1 answer
    How can I delete every n-th row from a dataframe in R? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
335 views
1 answer
    I want to plot two variables on one plot similar to a population pyramid similar to this: This plot is ... Any advice or assistance appreciated! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
225 views
1 answer
    I am using the following code to create a standard normal distribution in R: x <- seq(-4, 4, length=200) y ... mean. How can I add these labels? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    I am attempting to create an rmarkdown document. I have finally figured out a way to approach this, although it ... title that would be great. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
371 views
1 answer
    I made a list out of my dataframe, based on the factor levels in column A. In the list I would like to remove that ... Test 1 1 $B Test 1 3 5 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
331 views
1 answer
    I have a data.table like this dput(DT) structure(list(ref = c(3L, 3L, 3L, 3L), nb = 12:15, i1 = c(3.1e- ... , .SDcols = grep("i", colnames(DT))] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
587 views
1 answer
    I have an igraph with several disconnected components. For example: library(igraph) g <- simplify( graph.compose( ... of splitting the graph? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
457 views
1 answer
    I want to create an input file dialog. This is straightforward using the fileInput function. shinyUI(pageWithSidebar( ... a thing) ... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
394 views
1 answer
    I use LETTERS most of the time for my factors but today I tried to go beyond 26 characters: LETTERS[1: ... m looking for using another function? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
328 views
1 answer
    I have matrix g: > g[1:5,1:5] rs7510853 rs10154488 rs12159982 rs2844887 rs2844888 NA06985 "CC" "CC" "CC" "CC" " ... of rows that I have ID-d. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
540 views
1 answer
    My R project is structured like a package with directories /R, /vignettes, /data etc. In one of my Rmd ... the question. Thanks in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
298 views
1 answer
    I would like to plot a time series that look like this: what I plot with: qplot(Jahr, Wert, data=tu, ... suggestions? Thanks for y'all help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
505 views
1 answer
    setwd in an Rmd file in RStudio does not appear to change the directory in subsequent chunks. Is there a ... once for all subsequent chunks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
287 views
1 answer
    I'm new using R. I'm trying to add (append) new lines to a file with my existing data in R. The ... resulting file contains only the line added. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
365 views
1 answer
    I am doing some text mining in R with the tm-package. Everything works very smooth. However, one problem ... corpus.copy) inspect(corpus.final) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
364 views
1 answer
    I am trying to produce a heat map using ggplot2. I found this example, which I am essentially trying to replicate ... in R looks like this: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
568 views
1 answer
    I'm trying to get devtools::install_github() working behind my corporate proxy on Windows 7. So far I've ... and proceed with the installation? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
364 views
1 answer
    I created the following function with six args: nDone <- function(under,strike,ttoe,vol,rf,dy) { pnorm(((log( ... doing wrong and how to fix? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
367 views
1 answer
    ggplot2 produces fancy graphs for screen/color prints, but the gray background and the colors interfere when ... to distinguish the groups. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
365 views
1 answer
    I want to create a new column based on 4 values in another column. if col1=1 then col2= G; if col1=2 ... but none seems to be working. Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    How do you adjust the expansion of limits asymmetrically in ggplot? For example, library(ggplot2) ggplot(mtcars) + geom_bar( ... cyl, y = y)) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
386 views
1 answer
    Is there any difference between testing isTRUE(all.equal(x, y)) and identical(x, y)? The help page says: ... which of the two is appropriate? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
321 views
1 answer
    Is it (reasonably) possible to plot a sequence logo plot using ggplot2? There is a package to do it which is ... ggplot2 version of it. Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
343 views
1 answer
    I want to find all the names of columns with NA or missing data and store these column names in a vector. ... output. Any help is appreciated. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...