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
307 views
1 answer
    For the analysis of a species database, I often need to change lots of criteria, depending on the projects ... etc to perform my filtering? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
530 views
1 answer
    I need to plot an AR(1) graph for the process y[k] = 0.75 * y[k-1] + e[k] for y0 = 1. Assume that ... what parameters do I change if y[0] = 10? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
537 views
1 answer
    I am attempting to add a shape aesthetic mapping to an existing plot but am receiving the error below. Is there ... Grp2 1.077799 2.071429 14882 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
499 views
1 answer
    Here's an example: eg <- data.frame(x = c(1:50, 50:1), y = c(1:50, 1:50) + rnorm(100), g ... (data = my.data) Thanks for any help! Andrew See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
587 views
1 answer
    I have this code ggplot() + geom_histogram(aes(x=V1, y=(..count..)/sum(..count..)), fill="red", alpha=.4 ... How can I put a legend in my graph? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
487 views
1 answer
    I'm running R version 3.0.1 and ggplot2 version 0.9.3.1 on a Windows machine and getting aberrant behavior ... what's going on here? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
524 views
1 answer
    I would like to draw a box at the bottom of each panel, where each panel may have different y-ranges. The box should ... "),ymax=unit(1,"npc") ) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
394 views
1 answer
    I'm trying to install dplyr from its repository, but I getting the following error. I'm using MBP with ... /usr/local/lib/libreadline.a' See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
866 views
1 answer
    I am using the tm and wordcloud packages in R 2.15.1. I am trying to make a word cloud Here is the code: ... ) : invalid 'cex' value please help See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
309 views
1 answer
    I went into an error when running my shiny app. The error seems in ui.R but I have checked so many times ... must be NULL or a character vector See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
354 views
1 answer
    My package (let's call it A) depends on another package B. I need to modify a function f in B that has a ... "C_rf" Is it possible to modify f? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
550 views
1 answer
    I am trying to move some of my slower processes in dplyr to using data.table, however can not seem to find an efficient ... = T))) %>% ungroup() See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
600 views
1 answer
    I have a datatable where each column represents a time series, and I want to grab the last NA value per time ... per row rather than per column. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
467 views
1 answer
    From ?stringr::str_extract, I tried library(stringr) str_extract("number 123", "\d") # [1] "1" but I'd like the full ... )[[1]][2]) # [1] 123 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
524 views
1 answer
    I am trying to convert the format of the dates from yyyy-mm-dd to dd-mm-yyyy format. For example: D <- "06.12 ... I convert it to "06-12-2012"? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
260 views
1 answer
    I would like to create a loop that will add now variables to the data frame.Those variables should be the simple quadratic ... 49 3 8 4 9 64 16 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
517 views
1 answer
    This is regarding latest tidyr release. I am trying pivot_wider & pivot_longer function from library(tidyr) (Update 1. ... of what went wrong. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
424 views
1 answer
    I need to convert this integer vector which contains the number of months in the year to month's name. for ... Thank you for your suggestions! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
536 views
1 answer
    I was curious about: > strsplit("ty,rr", split = ",") [[1]] [1] "ty" "rr" > strsplit("ty|rr", split = ... ") from strsplit("ty|rr", split="|")? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
506 views
1 answer
    I have a plot in polar coordinates. I used geom_path to connect the points, but I'd like the paths to ... () I appreciate any suggestions. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
293 views
1 answer
    I'm trying to create a plot where color represents the combination of several values. In the example below, I am ... step? Thanks for your help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
364 views
1 answer
    I installed Xcode on my Mac, running on the El Capitan version 10.11. I need to get files from a github ... 0 Thread model: posix Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
369 views
1 answer
    I have a dataframe with a year index and a val index. I would like to create a mean of every n rows of val and ... 13:36, class = "data.frame") See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
529 views
1 answer
    I would like to scale a selection of variables in data.table by group "session": session score1 score2 1: 1 0. ... ). What am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    Data set contains many columns containing values which are either NA or 1, kind of like this: > data_frame(a = ... first element will be used > See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
789 views
1 answer
    I would like to create a so-called matching vector consisting of binaries. All numbers should be zero unless ... understand what I wanna do? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I had a dataframe where I recoded several columns so that 999 was set to NA dfB <-dfA %>% mutate(adhere = if_else( ... 4 3 NA FALSE 5 4 NA TRUE See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
379 views
1 answer
    I have a ggplot plot. I need to shift error bars relative to jittered points. My code is: data("cabbages", ... And I need something like this: 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

...