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
610 views
1 answer
    Having difficulty setting the colour scales for maps in ggplot. I need greyscale. Very grateful for an idea ... ) map + scale_colour_grey() See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
994 views
1 answer
    Consider the following d = data.frame(y=rnorm(120), x=rep(c("bar", "long category name", "foo"), each ... label would end right below the graph? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
524 views
1 answer
    In R, is it possible to assign names to components of a vector without first assigning that vector to a ... that on two different lines. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
515 views
1 answer
    I have a time series of data where the measurements are all integers between 1e6 and 1e8: website hits per month. ... a log scale in ggplot2? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
796 views
1 answer
    I am trying to replicate the example here (sthda.com) using the following code: # Change point shapes and colors ... I would be very grateful. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
481 views
1 answer
    Consider the following code a = "col1" b = "col2" d = data.frame(a=c(1,2,3),b=c(4,5,6)) This code ... is a variable and not a name of a column? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
571 views
1 answer
    I would like to understand why, in the the dplyr or magrittr package, and more specifically the chaining function ... in other SO questions. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
588 views
1 answer
    I am looking to assign objects in a loop. I've read that some form of eval(parse( is what I need to perform ... way to assign objects in a loop? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
469 views
1 answer
    I am trying to visualise an upper triangular matrix that is approximately 500x500. Alongside this I am also trying ... know a better solution? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
802 views
1 answer
    Simple question. I'd like to use pivot_wider on a dataset to count the number of occurrences of each category: Here ... sense to me). Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
477 views
1 answer
    I have some data in a database, and I want to work with it in Spark, using sparklyr. I can use a DBI-based ... how to use it in this context. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
397 views
1 answer
    I want to combine dplyr and ggplot within one function using piping and struggling with some issues now. Here is ... cyl) Using ggplot2_2.2.1 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    I need a flexible way to make radar / spider charts in ggplot2. From solutions I've found on github and ... about closing the lines? /Fredrik See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
496 views
1 answer
    I have been using lapply and sapply as my go-to functions recently. So far so good, but why the following code ... I run this through my data. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
543 views
1 answer
    I am a new user of "R", and I couldn't find a good solution to solve it. I got a timeseries in the ... hesitate to tell me if it's not. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
445 views
1 answer
    I want to run a multiple comparisons analysis for the different variables of a model. My idea is as follows: ... . Anyone knows a solution? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
468 views
1 answer
    I want to define (<- and access the name of the left hand side argument : *<- functions use internally an ... temp* and x are all different. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
483 views
1 answer
    I have a parent and a child Rnw document. The child doc is located in the subfolder children, i.e. +-- ... of the child AND the parent doc? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
441 views
1 answer
    I am trying to extract information from an XML file from ClinicalTrials.gov. The file is organized in the ... for example, you could generate See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
431 views
1 answer
    I'm trying to use the packages quanteda and caret together to classify text based on a trained sample. As a test ... better. Yet also only 53%. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    I have a shiny app that displays data frame data in a DT table. In the app I have a button that I when ... selected row from the the data frame? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
596 views
1 answer
    I'm trying to connect to the fitbit api using the httr library. Using the examples provided, I came up with ... about what the problem might be? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
397 views
1 answer
    I have a third-party C library I am using to write an R extension. I am required to create a few structs ... would be the type of the slot? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
459 views
1 answer
    I wonder if it is possible to create a link to other part of Shiny app. I mean, I have one page report with ... border = 'white') }) }) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
409 views
1 answer
    I was trying to replicate this chart from The Economist (the one on the left). The chart plots the number of ... ), and here's the result: See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    I plot a map based on a piece of code like this: ggplot(faithfuld, aes(y=eruptions, x=waiting, z=100* ... of text: Are there any solutions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
410 views
1 answer
    I have tried to figure out actual memory requirements for storing particular object. I tried two methods: object.size( ... class")= chr "rjags" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
510 views
1 answer
    I am running code to produce outputs where I want all the outputs to be printed with 1 decimal place. However ... . How to set this generally? See Question&Answers more detail:os...
asked Oct 24, 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

2.1m questions

2.1m answers

60 comments

57.0k users

...