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
441 views
1 answer
    I want to add a greek character to the y-axis of my barplot in R. The problem is that I need this character ... . I hope I was clear enough. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
879 views
1 answer
    The plotting code below gives Error: Discrete value supplied to continuous scale What's wrong with this code? ... looked before adding scale: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    When using ggplot, I can set shape to 21-25 to get shapes that have independent setting for the internal ( ... I control the border thickness? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
332 views
1 answer
    I am trying to generate an HTML report, using knitr, based on an R script that has for loops. I want to ... HTML. Is it possible? Thanks, Peter See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
466 views
1 answer
    I want to delete all columns or rows with more than 50% NAs in a data frame. This is my solution: # ... I would also appreciate a dplyr solution See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    How do I find the Euclidean distance of two vectors: x1 <- rnorm(30) x2 <- rnorm(30) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
581 views
1 answer
    I have seen this question here: Error in loading rgl package with Mac OS X but there is no mentioning ... this installation problem? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
511 views
1 answer
    I am very new to R, so I apologize for such a basic question. I spent an hour googling this issue, ... a simple frequency histogram by category. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
269 views
1 answer
    I'm trying to read a JSON file into R but I got this error: Error in parseJSON(txt) : parse error: trailing ... this a file problem or my code? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
284 views
1 answer
    I'm sure this is simple, but I cannot find a solution ... I would like to use a variable containing a ... na.rm=FALSE) Thanks in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    With the new version ggplot2 and scales, I can't figure out how to get axis label in scientific notation. For example ... .9.1 and scales_0.2.1 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
909 views
1 answer
    I read data from a csv file, the data has 3 columns, one is transaction id, the other two are ... to find rules between multiple columns. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I'm looking for a way to use long variable names on the x axis of a plot. Of course I could use a ... solutions are welcome of course. Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
424 views
1 answer
    I would like to draw plot with the same width of the bars. Here's my minimal example code: data <- data. ... s not the answer to my question. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
543 views
1 answer
    I have two legends on my ggplot with two different legend titles (automatically created from ggplot()). Now, I want ... (type)" and "code": See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
342 views
1 answer
    I need to get the row and column name of the smallest element of a matrix > mat = matrix(data=runif(12), nrow = 4, ... d like to get "a" and "b" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
554 views
1 answer
    Situation & data I have a dataframe df of athlete positions in a race (I've already melted it for use with ggplot2) ... and 1 is at the top? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
478 views
1 answer
    I am having trouble subsetting my data. I want the data subsetted on column x, where the first 3 characters ... unsure how to use wildcards. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
353 views
1 answer
    I have a date in R, e.g.: dt = as.Date('2010/03/17') I would like to subtract 2 years from this date, ... 2010-03-17'). How would I do that? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
658 views
1 answer
    Consider the following example library(tidyverse) library(lubridate) time <- seq(from =ymd("2014-02-24"),to ... appropriate here. Thanks again! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
420 views
1 answer
    Some time ago I asked a question about drawing boxplot Link1. I have got some data with 3 different groups (or ... cut from a paper here: See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
457 views
1 answer
    The following code is supposed to create a heatmap in rpy2 import numpy as np from rpy2.robjects import r data = ... to the required data type? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
548 views
1 answer
    In web browsers you pass parameters to a website like www.mysite.com/?parameter=1 I have a shiny app and I ... sample code or links? Thank you See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
286 views
1 answer
    I have a matrix (2601 by 58) of particulate matter concentration estimates from an air quality model. Because ... this it deletes everything. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
391 views
1 answer
    I saw some similar qestions and I tried to work it out on my own, but I couldn't. This is my problem: I ... I wrote, Im not a native speaker. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
480 views
1 answer
    I need to include a js library into my Shiny app. Currently I use includeHTML to include the script directly ... ? Thanks for any suggestions. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
407 views
1 answer
    I develop a package in R and when I check and build it in my local computer it works properly. But when I ... and submit to CRAN? Thank you. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
328 views
1 answer
    I have a large R script of, say, 142 small sections. If one section fails with an error I'd like the ... have a script as described. Thanks! 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

...