1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,865
+ Post New Thread
Page 1 of 69 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 51 ... LastLast
Threads 1 to 60 of 4122

Forum: R

R programming and usage, R news, R tips and tutorials

  1. Sticky Thread Sticky: Today I Learned: ____

    I thought it might be nice to just have a place to post some happy little things you learned or (re)discovered about R that makes your life nicer and...

    Started by Dason‎, 01-03-2012 11:39 AM
    27 Pages
    1 2 3 ... 27
    • Replies: 391
    • Views: 271,669
    11-05-2017, 08:22 PM Go to last post
  2. Sticky Thread Sticky: R News and Updates

    I'm starting this thread out of frustration for my own oversight. blog.revolutionanalytics.com was having an R webinar today (LINK) that looked...

    Started by trinker‎, 08-24-2011 09:41 AM
    8 Pages
    1 2 3 ... 8
    news
    • Replies: 115
    • Views: 112,496
    09-29-2017, 08:14 PM Go to last post
  3. Sticky Thread Sticky: What R packages are you aching to see?

    Are there any R packages that don't yet exist that you wish existed? What kinds of things do you wish were easier to do in R? What things do you...

    Started by Dason‎, 11-19-2015 01:38 AM
    • Replies: 2
    • Views: 13,578
    07-20-2017, 10:43 AM Go to last post
  4. Sticky Thread Sticky: [R Graphics] Beautiful graphics thread

    Hi Everyone, I thought I might start a thread which showcases the graphics abilities of R. I'll start it off with one I just made. This thread...

    Started by TheEcologist‎, 10-17-2012 05:08 AM
    9 Pages
    1 2 3 ... 9
    • Replies: 120
    • Views: 117,466
    12-13-2016, 05:47 PM Go to last post
  5. Sticky Thread Sticky: Share your functions & code

    I’m starting this thread as a sharing thread. The power of is in building and sharing on one another’s creativity. I’m often amazed at how people...

    Started by trinker‎, 06-25-2011 03:42 PM
    20 Pages
    1 2 3 ... 20
    • Replies: 286
    • Views: 257,310
    09-13-2016, 03:35 PM Go to last post
  6. Sticky Thread Sticky: Info for R users (Links, Manuals, Books, etc.)

    Note: This original post has been modified to make it easier to find the resources in the thread and to compile them into one location. If you want...

    Started by Tart‎, 08-06-2008 09:22 AM
    7 Pages
    1 2 3 ... 7
    information
    • Replies: 100
    • Views: 124,856
    04-14-2016, 01:02 PM Go to last post
  7. Sticky Thread Sticky: How to use Code tags

    Using Code Tags This thread contains a brief introduction to using code tags and presenting code in general on this forum. I'm biased toward R so...

    Started by Dason‎, 10-17-2012 07:20 PM
    • Replies: 0
    • Views: 26,240
    10-17-2012, 07:20 PM Go to last post
  1. R shiny: Storing reactive data as a dataframe with factor values for predictive model

    i made a random forest predictive model and want my users to input the independent variables and predict the dependent variable. i'm using shiny to...

    Started by deadpool‎, 11-18-2017 05:24 PM
    dataframe, predictive model, randomforests, rstatistics, shiny app
    • Replies: 0
    • Views: 82
    11-18-2017, 05:24 PM Go to last post
  2. collapsing rows of a dataframe and "summing" the labels of the old rows

    Hello. Let's suppose I have the following dataframe: mydata <- structure(list(none = c(4, 4, 25, 18, 10), light = c(2, 3, 10, 24, 6), medium =...

    Started by gianmarco‎, 11-12-2017 02:15 AM
    • Replies: 2
    • Views: 203
    11-17-2017, 01:47 AM Go to last post
  3. code give more variables than what I have

    hello, I have the following data V1 V2 1-Dec -0.0539597263407143, -0.0511951479332808, 1-Mar 2.91833246778835,...

    Started by Marwah Soliman‎, 11-15-2017 12:22 AM
    rprogramming
    • Replies: 1
    • Views: 156
    11-15-2017, 09:53 PM Go to last post
  4. ].data.frame instead of ].data.table

    Is there a was to run ].data.frame instead of ].data.table when using package data.table? I ask because I get error "Error: cannot allocate vector of...

    Started by azalea‎, 11-14-2017 06:00 PM
    data.frame, data.table
    • Replies: 4
    • Views: 161
    11-15-2017, 02:31 PM Go to last post
  5. Unhappy non-numeric argument to binary operator -R

    I have this code : dataset <- maml.mapInputPort(1) library(tm) ## Text mining library ## Set the comlumn names colnames(dataset) <-...

    Started by leebrimlow‎, 11-13-2017 10:19 AM
    binary operator, non-numeric, r language
    • Replies: 0
    • Views: 112
    11-13-2017, 10:19 AM Go to last post
  6. How can I control the format of the PCA analysis output in R?

    I am producing PCA plots in R and every time I get a slightly different format of the plot. Is that possible to standardize the output format (the...

    Started by JTim‎, 11-08-2017 08:44 AM
    • Replies: 4
    • Views: 252
    11-13-2017, 05:33 AM Go to last post
  7. Simulation of technical analysis indicators

    Hello! :wave: I have to test effectiveness of technical analysis indicators. Major problem is that I don't know how to correctly use output of...

    Started by Mitchu‎, 11-08-2017 02:52 PM
    arima, technical analysis
    • Replies: 1
    • Views: 178
    11-11-2017, 08:36 AM Go to last post
  8. How to interpret aov table for Error:Within from R

    I have sleep data where there are 5 groups of people, 4 medications, and 5 different days measured. I ran an aov on in R Studio, but the table came...

    Started by Quixotic42‎, 11-05-2017 12:06 AM
    anova, r -studio, split plot
    • Replies: 2
    • Views: 187
    11-06-2017, 08:45 AM Go to last post
  9. what is wrong with my code.

    Hello, there is a variable named quad take values from 1 to 9 ( 400 points) I'm trying to simulate a z variable as follows: fo for example if...

    Started by Marwah Soliman‎, 11-02-2017 11:57 PM
    rprogram, rprogramming
    • Replies: 2
    • Views: 273
    11-05-2017, 08:33 PM Go to last post
  10. What is the suitable function for survival data?

    I have a data set of two groups of individuals that I want to compare. The data contains who survived and who didn't after 40 days and after 1 year....

    Started by Royan‎, 11-04-2017 06:55 AM
    logit
    • Replies: 1
    • Views: 187
    11-04-2017, 10:25 PM Go to last post
  11. too few non-missing observations, when perform ARIMA in R

    I need perform forecat for two factors- STORE and ART. So that I did library(reshape2) ...

    Started by psygrm‎, 11-03-2017 07:48 AM
    • Replies: 0
    • Views: 128
    11-03-2017, 07:48 AM Go to last post
  12. Convertion of Excel formulas to R script

    Hi all, is there any tool to convert an Excel sheet consisting of formulas to an Rscript so that the formulas and not the values are kept? For...

    Started by Cynclida‎, 10-21-2017 01:54 AM
    excel to r
    • Replies: 5
    • Views: 416
    11-02-2017, 08:10 AM Go to last post
  13. what is wrong with my code

    I'm generating a random numbers x,y between -10 and 10 then I create an if statement to classify each pair(x,y) in 4 quadrant in the following if...

    Started by Marwah Soliman‎, 10-30-2017 08:31 PM
    ifelse, rprogram, rprogramming
    • Replies: 1
    • Views: 255
    10-31-2017, 07:29 AM Go to last post
  14. Correct workflow to develop (and make available) an R package via GitHub?

    Hi All, I would very like to have some guidance on the use of Github to store and share R packages. Thank's to Dason and Jake for drawing my...

    Started by gianmarco‎, 10-30-2017 03:41 AM
    • Replies: 10
    • Views: 273
    10-31-2017, 06:27 AM Go to last post
  15. Error in mlogit package: system is computationally singular

    I have a data set that is formatted according to mlogit's standards using mlogit.data command in Rstudio. Trip SevereEarthquake ...

    Started by amirh_hassanpour‎, 10-30-2017 05:42 AM
    mlogit, nested logit, rstudio
    • Replies: 0
    • Views: 91
    10-30-2017, 05:42 AM Go to last post
  16. how to (x,y) values from xy plane in R

    Hello, I would like to generate random points on the x-y plane, for example let's set -10 < X < 10, -10 < Y < 10, and n = 400 how can I do...

    Started by Marwah Soliman‎, 10-29-2017 08:54 PM
    rprogram, rprogramming
    • Replies: 3
    • Views: 224
    10-29-2017, 09:31 PM Go to last post
  17. Interpret GLM model in test of difference in proportions

    I'm facing the following situation: We conducted a marketing campaign with three groups: 2 test vs 1 of control, where two different type of coupons...

    Started by davidecortellino‎, 10-27-2017 04:14 AM
    a/b testing, general linear model, logisitic regression, proportion, regression
    • Replies: 1
    • Views: 154
    10-27-2017, 09:33 AM Go to last post
  18. Effect Size WRS2 package : Robust anova

    pplying the one way robust Anova of the WRS2 package for a specific dataset I get the following results: > t1way(totspcam ~ bono_recibido, data =...

    Started by davidecortellino‎, 10-27-2017 09:05 AM
    anova, effect size, robust statistics, wrs2
    • Replies: 0
    • Views: 112
    10-27-2017, 09:05 AM Go to last post
  19. how to repeat the same row for two genes names

    I have the following row...

    Started by Marwah Soliman‎, 10-23-2017 02:52 PM
    rprogram
    • Replies: 0
    • Views: 187
    10-23-2017, 02:52 PM Go to last post
  20. Extracting observations with a given range of standardized residuals

    Hi everyone, Long time no post. I am new to R. I have 1460 observations with 2 variables. I have fit a slr model to the data. Now, I want to...

    Started by Buckeye‎, 10-21-2017 11:33 AM
    • Replies: 2
    • Views: 243
    10-21-2017, 12:04 PM Go to last post
  21. Use treatment effect as input for meta-analysis, not 2 groups

    Hey, I'm new to R and currently trying to teach myself how to use it with various guides. Problem is, none of the guides cover the scenario I'm...

    Started by Kseroks‎, 10-11-2017 07:20 AM
    meta-analysis, treatment effect
    • Replies: 5
    • Views: 236
    10-19-2017, 08:19 AM Go to last post
  22. Calculate power

    We were given an R code for our home work, but it doesn't seem to work. Assignment is: N = 500, best estimate of the effect size is correlation I...

    Started by Nachthauch‎, 10-15-2017 09:45 AM
    • Replies: 6
    • Views: 333
    10-15-2017, 04:04 PM Go to last post
  23. The application of graph theory in insurance cases

    Can you give me advice in graph theory? How do I analyze a sample of insurance events (road accidents with two participants) for possible fraud in...

    Started by psygrm‎, 10-15-2017 06:48 AM
    • Replies: 0
    • Views: 224
    10-15-2017, 06:48 AM Go to last post
  24. RJags Non-informative hyper-prioris Jeffreys prior?

    Hello. I have a model where a random variable is normal distributed. And I wanna compute bayesian analysis with hyper-priors for the mean and the...

    Started by PJones‎, 10-08-2017 04:16 AM
    • Replies: 1
    • Views: 279
    10-09-2017, 10:40 AM Go to last post
  25. Storing all function and data / for future restoring in a new PC.

    Dear- It seems that there is NO easy way to move all functions and data to a new PC. There is an alternative way using dump(ls(),...

    Started by jk90029‎, 10-07-2017 12:36 AM
    • Replies: 5
    • Views: 287
    10-08-2017, 08:07 PM Go to last post
  26. Trying to write R function, binomial distribution

    Hello! I am looking for some help with an Intro to R homework from a professor who doesn't clearly explain the things we need to know for the...

    Started by PitcherPlant‎, 10-06-2017 01:42 PM
    binomial distribution, function writing, r code
    • Replies: 2
    • Views: 290
    10-08-2017, 03:15 PM Go to last post
  27. Exclamation Manipulations on CO2 dataset on R

    Hi everyone, I just started a new course this semester on R. I never used it and i'm stuck on these questions from 3 days, it would be really...

    Started by Ludovico_R‎, 10-08-2017 09:57 AM
    macos
    • Replies: 1
    • Views: 244
    10-08-2017, 01:35 PM Go to last post
  28. how to split one column in multiple columns in r

    hi, I have the following data, A2M -0.313797611 A2M 0.74108697 A2M -0.364874718 A2M 0.296491814 A2M -0.387285569 A2M 0.58645548...

    Started by Marwah Soliman‎, 10-05-2017 05:15 AM
    rcode
    • Replies: 9
    • Views: 415
    10-05-2017, 04:27 PM Go to last post
  29. repeated measures Manova: error E matrix singlar?

    I tried to do a rp MANOVA but for some reason R is saying that it is impossible to do a MANOVA and I should do a ANOVA? The error seens to tell that...

    Started by silkevos‎, 10-05-2017 03:52 AM
    • Replies: 0
    • Views: 208
    10-05-2017, 03:52 AM Go to last post
  30. How to calculate effect size f-squared in PLS-SEM using R programming

    Dear R experts, I am conducting a research using PLS-SEM approach using plspm package. However, I have no idea how to calculate effect size...

    Started by chiaratee‎, 10-04-2017 07:52 PM
    cohen's f2, effect size, path modelling, pls-sem, plspm
    • Replies: 0
    • Views: 210
    10-04-2017, 07:52 PM Go to last post
  31. Multiple A/B test in R: methodology and any know tutorial

    Dear All I'm currently facing the following situation. We have run a marketing campaign providing to some members one of two type of coupones. In...

    Started by davidecortellino‎, 10-03-2017 10:30 AM
    a/b testing, glm, post hoc
    • Replies: 0
    • Views: 169
    10-03-2017, 10:30 AM Go to last post
  32. Mixed model for time trend in R package lme4

    Hello! I would very much appreciate if anyone could help with my model in lme4. I have a dataset with 100 persons, specified by ID. Each of...

    Started by anker‎, 10-03-2017 03:24 AM
    lme random-effect, lme4, mixed model, repeated measures, time trend
    • Replies: 0
    • Views: 253
    10-03-2017, 03:24 AM Go to last post
  33. MERGE issues

    I've run this code (almost exactly) before and have not had issues but now I keep getting an error saying: ERROR IN FIX.BY(BY.X,X) : 'BY' MUST...

    Started by Weibull‎, 10-02-2017 05:52 AM
    • Replies: 1
    • Views: 239
    10-02-2017, 06:02 AM Go to last post
  34. appending cluster membership to an existing dataframe

    Hello, this may prove very basic, but I couldn't find a solution by myself. Any help will be more than appreciated. Suppose I have the following...

    Started by gianmarco‎, 09-28-2017 02:35 AM
    • Replies: 0
    • Views: 219
    09-28-2017, 02:35 AM Go to last post
  35. Predictive modelling problem

    Hi, I want to use predictive modelling to predict the sales from September 2017 to February 2018. The numbers below are randomly chosen. >...

    Started by FreddyakaMark‎, 09-25-2017 03:57 AM
    • Replies: 0
    • Views: 296
    09-25-2017, 03:57 AM Go to last post
  36. Empty cell when importing csv file

    Dear- We are going to import a csv format file to R system. For example, a <- read.csv(file="c:\\order4.csv", header=TRUE, sep=","); ...

    Started by jk90029‎, 09-20-2017 08:13 PM
    • Replies: 2
    • Views: 833
    09-22-2017, 10:58 PM Go to last post
  37. how do I create a Line chart from a data frame?

    i'm quite the newbie with R and i want to create a line chart starting from this dataset: where every line points out the number of the smell...

    Started by Serphentelm‎, 09-20-2017 08:53 AM
    • Replies: 2
    • Views: 368
    09-20-2017, 11:07 AM Go to last post
  38. Help on nested for loop please!!!

    Dear R experts, I am struggling with my raw data. I am trying to filter data by a nested loop, it has been running for days. I think my loop...

    Started by tobi‎, 09-06-2017 07:13 PM
    • Replies: 4
    • Views: 554
    09-20-2017, 09:14 AM Go to last post
  39. How to add class labels for each value in a dataframe according to class breaks?

    Hello, I have a dataframe whose column $value stores some values I want to break into (say) three classes using the Jenks natural breaks method. ...

    Started by gianmarco‎, 09-14-2017 11:15 AM
    • Replies: 5
    • Views: 427
    09-15-2017, 02:23 AM Go to last post
  40. Moving rows

    I have the following dataset: ID HIV Status Date 1 FALSE 22-12-99 1 TRUE 22-12-99 2 FALSE 22-12-99 2 TRUE 22-12-99 2 TRUE 21-12-99...

    Started by helpwithstats‎, 09-08-2017 11:52 AM
    • Replies: 3
    • Views: 491
    09-12-2017, 09:36 AM Go to last post
  41. cannot make R leave enough room for labels in silhouette plot ('cluster' package)

    Dear All, I have problems making R plot the objects' labels in the 'silhouette' plot (out from the 'cluster' package). See the attached image....

    Started by gianmarco‎, 09-09-2017 04:06 AM
    • Replies: 2
    • Views: 312
    09-09-2017, 10:36 AM Go to last post
  42. [SOLVED] Overlay function on a scatterplot in ggplot2

    So I've been trying to figure this one out for a while and I haven't been able to. I have this nice scatterplot x1 <- rnorm(200, 3, ...

    Started by spunky‎, 09-07-2017 02:09 PM
    • Replies: 4
    • Views: 490
    09-07-2017, 03:44 PM Go to last post
  43. GGPLOT2 - Sub Groups

    Hi, I'm trying to create a stratified forest plot in ggplot2. In our analyses, we prepared a logistic regression model for each strata (Immigrants...

    Started by jamesmartinn‎, 07-14-2017 10:43 AM
    • Replies: 1
    • Views: 769
    09-06-2017, 02:00 PM Go to last post
  44. is it possible to build customized (nice-looking) tables in R?

    Hello All, I am wondering whether is it possible in R to produce nicely formatted tables, whose cell values (and headers) are worked out from pieces...

    Started by gianmarco‎, 09-06-2017 03:14 AM
    • Replies: 0
    • Views: 187
    09-06-2017, 03:14 AM Go to last post
  45. Mixed factor and numeric model

    Hi, I have a predictive model with three predictive variables: two factors, Status and StatusNew; and a numeric one, Weekband. I'm trying to use...

    Started by SpoodleBeast‎, 09-05-2017 01:48 AM
    • Replies: 0
    • Views: 310
    09-05-2017, 01:48 AM Go to last post
  46. Robust Factorial Repeated Measures Anova in R with the WRS2 package

    Hello! I'm trying to run a somewhat esoteric statistical test, and I'm having trouble. The experiment is a repeated-measures design, and the...

    Started by Gabriel Diaz‎, 09-01-2017 12:34 PM
    • Replies: 0
    • Views: 353
    09-01-2017, 12:34 PM Go to last post
  47. R ggplot NO alphabatize

    I am plotting box plots for several variables using ggplot. However, ggplot is alphabetizing the variables and I want them to present as the order I...

    Started by leonedelman‎, 08-23-2017 01:43 PM
    ggplot2
    • Replies: 4
    • Views: 630
    08-28-2017, 08:28 PM Go to last post
  48. Question plotting the effect of treatment on plants

    Hello, I have some plant data, which contains several plant groups. Within the plant groups there are different plant sizes (devided in groups)....

    Started by lotw‎, 08-28-2017 09:35 AM
    • Replies: 1
    • Views: 402
    08-28-2017, 07:44 PM Go to last post
  49. calculate (column-wise) how many entries are larger than the first one

    Hello, I have the following small dataframe (11 rows, 3 columns). What I would like to accomplish is to get a new dataframe (1 row, 3 columns) in...

    Started by gianmarco‎, 08-25-2017 01:24 AM
    • Replies: 2
    • Views: 304
    08-28-2017, 07:38 PM Go to last post
  50. [SOLVED] geom_boxplot

    Folks, I am seriously getting annoyed today. I am plotting calcium using geom_boxplot. The x-axis is as series of sites and looking at RC1, there...

    Started by bugman‎, 08-23-2017 11:51 PM
    • Replies: 1
    • Views: 323
    08-23-2017, 11:58 PM Go to last post
  51. R cannot find an object within a loop

    My R programming skill is quite basic I know, so be gentle! I am having difficulties in understanding what I am doing wrong here. Upon running the...

    Started by gianmarco‎, 08-22-2017 11:08 AM
    • Replies: 8
    • Views: 546
    08-23-2017, 09:52 AM Go to last post
  52. Linear mixed model subject level

    Dear All I am new to R and I am implementing a linear mixed model for a variance shift outlier model. I am wondering if someone in the group can...

    Started by isingini‎, 07-31-2017 12:53 PM
    • Replies: 1
    • Views: 571
    08-19-2017, 01:34 PM Go to last post
  53. cannot draw a histogram on R

    Im trying to draw a histogram with the code below. stat <- read.csv("C://Desktop//lung cancer.csv",header=T) x = (2000:2013) y = (0:12000)...

    Started by polly123‎, 08-18-2017 09:13 PM
    r histogram
    • Replies: 2
    • Views: 1,201
    08-19-2017, 03:06 AM Go to last post
  54. Data frame of results

    Hi all Suppose I have 10 different models as such: fit1.glm <- glm(admit ~ gre , data = dat, family = "binomial") fit2.glm <- glm(admit ~ gpa,...

    Started by leonedelman‎, 08-18-2017 10:07 AM
    dataframe, glm, odds ratio
    • Replies: 1
    • Views: 674
    08-18-2017, 10:21 AM Go to last post
  55. Odds ratio plot on log scale

    Greetings, I have had difficulties plotting results from GLM logit models to show up as odds ratios on a log scale. Ultimately I want to obtain...

    Started by leonedelman‎, 08-17-2017 03:17 PM
    logit, odds ratio, plot
    • Replies: 3
    • Views: 471
    08-18-2017, 09:25 AM Go to last post
  56. Shaded confidence bands for parametric survival w/ survreg

    Hi all, I'd like to plot shaded confidence bands for a parametric survival curve fitted with survreg. It's easy to plot dashed confidence...

    Started by azaleah_‎, 08-15-2017 07:23 PM
    shaded confidence bands, survival function, survreg
    • Replies: 0
    • Views: 243
    08-15-2017, 07:23 PM Go to last post
  57. NBSVM in R

    Hi, I need some guid in write NBSVM cod in R. pleas help me

    Started by EhsanZereshki‎, 08-10-2017 08:24 AM
    2 Pages
    1 2
    • Replies: 15
    • Views: 1,190
    08-11-2017, 02:09 AM Go to last post
  58. Scoring Dataset (easy question)

    I have a dataset "Xs" and also some model coefficients. I would like to score the dataset using the coefficients. The dataset has 7 items and there...

    Started by hlsmith‎, 08-09-2017 08:52 AM
    • Replies: 3
    • Views: 392
    08-10-2017, 11:29 AM Go to last post
  59. LASSO (binomial) p-value and confidence intervals (selectiveInference) error

    I was just trying to quickly check out the "selectiveInference" package to slap confidence intervals on my beta coefficients from a glmnet (LASSO:...

    Started by hlsmith‎, 07-08-2017 10:06 PM
    • Replies: 5
    • Views: 693
    08-07-2017, 07:26 PM Go to last post
  60. Computing skewness and other distributional Characteristics when pdf is known

    Hi everybody I want to compute skewnesss and other distributional characteristics of a gamma distribution when its shape and scale parameters are...

    Started by deantop‎, 08-06-2017 12:35 AM
    gamma distribution
    • Replies: 1
    • Views: 304
    08-06-2017, 06:30 AM Go to last post

+ Post New Thread
Page 1 of 69 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 51 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 300 views
Hot thread with unread posts
More than 15 replies or 300 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats