1. 10-14-2010
    Views:
    33,362
+ Post New Thread
Page 1 of 67 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 3971

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
    25 Pages
    1 2 3 ... 25
    • Replies: 362
    • Views: 143,691
    01-04-2017, 10:39 PM Go to last post
  2. 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 06:08 AM
    9 Pages
    1 2 3 ... 9
    • Replies: 120
    • Views: 59,028
    12-13-2016, 05:47 PM Go to last post
  3. 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 10:41 AM
    8 Pages
    1 2 3 ... 8
    news
    • Replies: 110
    • Views: 55,051
    10-05-2016, 08:33 AM Go to last post
  4. 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 04:42 PM
    20 Pages
    1 2 3 ... 20
    • Replies: 286
    • Views: 127,230
    09-13-2016, 04:35 PM Go to last post
  5. 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 10:22 AM
    7 Pages
    1 2 3 ... 7
    information
    • Replies: 100
    • Views: 68,598
    04-14-2016, 02:02 PM Go to last post
  6. 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: 1
    • Views: 3,989
    02-02-2016, 05:41 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 08:20 PM
    • Replies: 0
    • Views: 14,816
    10-17-2012, 08:20 PM Go to last post
  1. Shiny 2

    A follow up to a previous post on shiny. I am now trying to create a reactive ggplot where I have a select input box for x and y variables, based...

    Started by bugman‎, 01-19-2017 12:48 AM
    • Replies: 3
    • Views: 180
    Today, 05:27 PM Go to last post
  2. Map snps into a ref gene file using R

    I have the following data set about the snps ID POS ID 78599583 rs987435 33395779 rs345783 ...

    Started by Marwah Soliman‎, 01-19-2017 08:28 PM
    r programing
    • Replies: 3
    • Views: 168
    01-20-2017, 08:33 PM Go to last post
  3. Repeating Sequence

    Hi! I'd like to make the following code dynamic in the sense that the user can set a starting value and elements of a string will be replicated...

    Started by jamesmartinn‎, 01-19-2017 09:07 AM
    • Replies: 3
    • Views: 125
    01-19-2017, 09:47 AM Go to last post
  4. [SOLVED] Shiny Error

    So I am mucking around with Shiny and trying to create a number of tab panels to perform different tasks. I thought I was going along the right...

    Started by bugman‎, 01-18-2017 07:30 PM
    • Replies: 3
    • Views: 147
    01-18-2017, 09:30 PM Go to last post
  5. IV Regression with binary outcome

    I have a binary variable y which I am aiming to model using instrumental variable regression. Both X and the IV are continuous. ivpak in R does not...

    Started by Lazar‎, 01-16-2017 11:32 PM
    instrumental variables
    • Replies: 6
    • Views: 267
    01-18-2017, 09:58 AM Go to last post
  6. how to predict which variable has the highest good/bad impact on my result?

    ...continuing on my machine learning journey here. So I know the method of finding the best algorithm to build a model (i,e cross validation, test,...

    Started by semidevil‎, 01-06-2017 04:00 PM
    • Replies: 5
    • Views: 314
    01-15-2017, 02:48 PM Go to last post
  7. Subset based on missing in differnet variables

    Suppose I have credit ratings for 5 years (credit1, credit2, credit3, credit4, credit5). I only want to keep observations which have at least three...

    Started by leonedelman‎, 01-14-2017 08:32 AM
    drop, r program, subset
    • Replies: 1
    • Views: 151
    01-15-2017, 12:39 PM Go to last post
  8. Question How can I make a decision tree in R?

    Hi, I'm a R beginner. I want to make a desicion tree. I tried a lot of tutorials, but none of it work, because my data is other than the data in...

    Started by Jeti‎, 01-13-2017 08:18 AM
    • Replies: 4
    • Views: 169
    01-13-2017, 10:29 AM Go to last post
  9. Density plot 3d for clustering

    Good morning everybody. I want to ask you if it is possibile to build a 3d density plot in order to show the density of a cluster, having the scores...

    Started by Ferdinando Coppola‎, 01-13-2017 04:54 AM
    3d plot, clustering
    • Replies: 0
    • Views: 104
    01-13-2017, 04:54 AM Go to last post
  10. ANOVA - 2 factors with interaction

    Hi, I'm writing you because I need some help to resolve a statistical problem... I study two populations that gather individuals (n=2x80)...

    Started by SPR369‎, 01-12-2017 04:44 AM
    • Replies: 3
    • Views: 151
    01-13-2017, 03:46 AM Go to last post
  11. Link = log code won't work

    Hi, doing a generalised linear model with poisson distribution, here is my model code... ...

    Started by whyisstatssohard‎, 01-11-2017 09:15 AM
    generalised linear models, generalized linear model, glm, link function, poisson distribution
    • Replies: 2
    • Views: 176
    01-11-2017, 05:27 PM Go to last post
  12. General and generalised linear models

    Hi, I've done a few GLM's with poisson distribution, the code I've used is ...

    Started by whyisstatssohard‎, 01-09-2017 06:34 PM
    general linear model, generalised linear models, glm, glm assumptions, glm diagnostocs
    • Replies: 1
    • Views: 164
    01-09-2017, 07:29 PM Go to last post
  13. Statistical difference from Shannon Wiener and Simpson Indices

    Hello there, I am struggling to compare the results of the Shannon Wiener Index between two seasons. I have done the indices between camera trap...

    Started by Nas‎, 01-07-2017 03:25 PM
    • Replies: 1
    • Views: 232
    01-07-2017, 03:52 PM Go to last post
  14. Possible to create GUI applications in HTML with R in background

    Hello. Is it possible to create a GUI application by using R in background? I need to create some GUI with graphs, buttons, checkboxes and I have...

    Started by Volvo742‎, 01-06-2017 09:26 PM
    • Replies: 2
    • Views: 210
    01-07-2017, 02:34 PM Go to last post
  15. suggestions on improving my predictive model

    I'm playing with some data from the UCI repository. I got an algorithm going here, but I'm wondering if there is any other way to improve it. Looking...

    Started by semidevil‎, 01-06-2017 04:57 PM
    • Replies: 1
    • Views: 177
    01-07-2017, 04:09 AM Go to last post
  16. Dividing a dataset into groups

    allright this should be pretty simple, i have a dataset containing around 4000 entries, each of these entries has a column called "age" with values...

    Started by kobun‎, 01-06-2017 01:14 PM
    • Replies: 1
    • Views: 142
    01-06-2017, 02:13 PM Go to last post
  17. How to do an actual prediction in R.

    I'm going through a machine learning book and I understand all the steps to finding the best algorithm(preprocessing, cross validation, tuning,...

    Started by semidevil‎, 12-31-2016 11:31 AM
    • Replies: 4
    • Views: 407
    01-06-2017, 12:30 PM Go to last post
  18. Prediction and Poisson

    I have been set the tast of running a Poisson regression and then using the predict command to predict the number of visits to the doctors per age...

    Started by sarahharding‎, 01-05-2017 10:10 AM
    predict function
    • Replies: 0
    • Views: 146
    01-05-2017, 10:10 AM Go to last post
  19. Multinomial logistic regression

    Hi, I'm quite new to R and I need a little advise on whether multinomial logistic regression is right for what I'm hoping to do for my data....

    Started by whyisstatssohard‎, 12-29-2016 04:39 PM
    data analysis, help needed, logisitic regression, multinomial regression
    • Replies: 14
    • Views: 631
    01-05-2017, 10:03 AM Go to last post
  20. Precalculated error bars in barplot

    Hi all A basic question, but having trawled the net, I cannot find an answer! I'm using barplot in R to plot the mean value that I have for 15...

    Started by JRS‎, 12-29-2016 05:04 PM
    • Replies: 1
    • Views: 221
    12-30-2016, 11:13 AM Go to last post
  21. How to included R code into an academic paper

    I'm wondering if somebody could advise me in how to include R code into an academic paper? Should I include the code as text or as a figure? ...

    Started by bikingman‎, 12-22-2016 06:48 PM
    • Replies: 3
    • Views: 463
    12-30-2016, 07:53 AM Go to last post
  22. Estimated marginal means (+/-SE) in mixed-effect model for two or more fixed effects

    After specifying a mixed-effect model (using lme4 package) with 2+ fixed factors, for example: model = lmer(DV ~ facA * facB + (1|subject),...

    Started by Martin Marko‎, 12-29-2016 08:15 AM
    mixed effect
    • Replies: 0
    • Views: 168
    12-29-2016, 08:15 AM Go to last post
  23. Post hoc ANCOVA question regarding multiple comparison

    Hello everybody! I am doing a PhD thesis on impact of habitat on fish condition. I am comparing three regression lines by testing the effect of...

    Started by Ilanius‎, 12-28-2016 03:27 PM
    • Replies: 0
    • Views: 175
    12-28-2016, 03:27 PM Go to last post
  24. how to fix: Something is wrong; all the RMSE metric values are missing:

    I'm practicing with the Caret Package in doing a GLM training for the bostonhousing data, from the mlbench package. However, when I run my cross...

    Started by semidevil‎, 12-27-2016 04:16 PM
    • Replies: 0
    • Views: 230
    12-27-2016, 04:16 PM Go to last post
  25. JAGS error: Node inconsistent with parents

    I am trying to apply Benedict Escoto's method from the paper "Bayesian Claim Severity with Mixed Distributions," published in Variance. I seem to be...

    Started by Alp Can‎, 12-27-2016 09:37 AM
    jags
    • Replies: 0
    • Views: 186
    12-27-2016, 09:37 AM Go to last post
  26. creating a vector of integers from c(3,2,4) to c(6,5,9)

    Let's say I have an integer vector of starting positions and an integer vector of ending positions that is the same length, and I want to make one...

    Started by efoss‎, 12-16-2016 10:24 PM
    • Replies: 3
    • Views: 458
    12-17-2016, 11:22 AM Go to last post
  27. Oneway test post hoc processing HELP beginner

    Hi, I am stuck with an exercise I have to do regarding one-way anova. The exercise gives you 4 vectors, a,b,c & d. It asks to run these 2 tests:...

    Started by dieselonthecouch‎, 12-17-2016 07:02 AM
    • Replies: 0
    • Views: 247
    12-17-2016, 07:02 AM Go to last post
  28. Retrieve PE, PEG and Dividend Yield of Hong Kong HangSeng Index through R Quantmod

    Hi All, I seek for advice on how to retrieve PE, PEG and Dividend Yield of Hong Kong HangSeng Index or particular stock (such as 0005.HK) through...

    Started by HenryWai‎, 12-14-2016 12:51 PM
    quantmod
    • Replies: 0
    • Views: 297
    12-14-2016, 12:51 PM Go to last post
  29. Parallel boxplots of all quantitative variables in mtcars data set?

    Does anyone know how to do this? I know how to display boxplots of individual variables such as, and I'll stay in the mtcars data set: ...

    Started by DV Man‎, 12-12-2016 03:25 PM
    • Replies: 2
    • Views: 507
    12-12-2016, 05:55 PM Go to last post
  30. Want to use mutate with two different data sets in dplyr

    Like before, my data sets are too large, so I will try my hand again at a reproducible example. t <- data.frame( Season = c(1985,...

    Started by DV Man‎, 12-11-2016 09:18 PM
    • Replies: 5
    • Views: 333
    12-11-2016, 11:40 PM Go to last post
  31. Sequential numbering for each month on a period of time

    Hi All, I am a beginner in R. I have a period of dates in my data set starting 10th April'2006 till 31st Aug'2016. Its a period of 125 months....

    Started by kbsudhir‎, 12-06-2016 01:03 PM
    • Replies: 4
    • Views: 411
    12-11-2016, 11:21 PM Go to last post
  32. Want to merge data frames, do I use match?

    I have the following dataset, which I will attach in a PDF due to a character restraint, and want to match its condition (ISO >= .163) with all age...

    Started by DV Man‎, 12-10-2016 04:00 PM
    • Replies: 8
    • Views: 426
    12-11-2016, 07:18 AM Go to last post
  33. Vungle Project

    I am working on my final project for my Data Analysis class, where I have to give a presentation. I have been given a dataset, called Vungle. Here it...

    Started by DV Man‎, 12-03-2016 02:11 PM
    • Replies: 13
    • Views: 632
    12-08-2016, 08:39 PM Go to last post
  34. Which type of graphs should I use to illustrate results for a paired t-test?

    I have a paired t-test, and am having trouble picking what graphs to use to illustrate some results for my presentation. Here is my data: vungle...

    Started by DV Man‎, 12-07-2016 03:20 PM
    • Replies: 13
    • Views: 475
    12-08-2016, 08:59 AM Go to last post
  35. Question [Help] Simple Markov Switching Model script?

    Hello everyone! I currently am looking for a way to analyze data using a Markov Switching Model, yet I am a complete idiot when it comes to...

    Started by shabada‎, 12-07-2016 10:45 AM
    • Replies: 0
    • Views: 232
    12-07-2016, 10:45 AM Go to last post
  36. Error in `[.data.frame`(x, xok) : undefined columns selected

    Here is my data vungle <- structure(list(Strategy = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L,...

    Started by DV Man‎, 12-07-2016 08:25 AM
    • Replies: 2
    • Views: 249
    12-07-2016, 09:14 AM Go to last post
  37. Loops and Conditions with a Data Frame

    Hello all, I am moving from SAS to R, and getting a few difficulties. I have a data frame called DF. It contains 3 variables (see attached...

    Started by Yankel‎, 12-03-2016 04:40 AM
    • Replies: 6
    • Views: 524
    12-06-2016, 02:51 AM Go to last post
  38. Help! How do I fit this multinomial logistic regression model?

    Hello! I wanted to ask for help with an investigation that I am carrying out. I am trying to find if ethnicity is the most determinant factor of...

    Started by marimo22‎, 12-03-2016 09:08 AM
    • Replies: 0
    • Views: 316
    12-03-2016, 09:08 AM Go to last post
  39. R equivalent code from Stata code on regression.

    Hi, I am trying to run these stata codes into R. I have never before used stata before, so I am confused on how to transform it in R. I was...

    Started by sandyzman‎, 12-02-2016 11:02 PM
    • Replies: 0
    • Views: 243
    12-02-2016, 11:02 PM Go to last post
  40. R package (doSNOW)masking objects

    I am trying to do a simulation analysis. The code was running alright with small sample. For the full run, I ran into the following error at first. I...

    Started by thomashaosun‎, 12-02-2016 03:30 AM
    • Replies: 1
    • Views: 269
    12-02-2016, 07:37 AM Go to last post
  41. Mapping Shape files in R

    Hello, I would like to know if there's a way to convert Shape_Area and Shape_Length data to geo lat/long coordinates because I have a way to map...

    Started by iknowu99‎, 11-29-2016 11:33 AM
    • Replies: 0
    • Views: 321
    11-29-2016, 11:33 AM Go to last post
  42. AR(1)-ARCH(1) modeling

    I don't really know if this is the right place to ask for this, but maybe someone could guide me on the process of fitting AR(1)-GARCH(1) model in R....

    Started by lovetim‎, 11-28-2016 11:22 PM
    arch
    • Replies: 0
    • Views: 305
    11-28-2016, 11:22 PM Go to last post
  43. How to generalize these basic steps with vectorization techniques?

    df <- data.frame( amount=rnorm(100,1000,50), class=sample(1:10,10), year=rep(2013:2016, 25) ); head(df) #trying to generalize...

    Started by databuilder‎, 11-20-2016 11:16 PM
    • Replies: 6
    • Views: 696
    11-28-2016, 10:17 AM Go to last post
  44. How to use chi-square test correspondence between features and response in R?

    There is a set of tumors,each one includes five features, which relate to one gene type result. Tumor Feature 1 ... Feature 5 Gene type 1 Type 1...

    Started by l35633‎, 11-27-2016 03:13 PM
    chi-square
    • Replies: 0
    • Views: 278
    11-27-2016, 03:13 PM Go to last post
  45. What is an AIC in R, and what is a "good" one?

    I am doing the Titanic Kaggle problem (has anyone done this?) and I have this output from a logistic regression model: Call: glm(formula =...

    Started by DV Man‎, 11-22-2016 01:42 PM
    • Replies: 6
    • Views: 432
    11-23-2016, 02:30 AM Go to last post
  46. Question How can I insert value in a phrase

    Hello everyone! I started learning R since last September in my grad program, and also teaching myself functions that I do not learn in the...

    Started by shin1990‎, 11-20-2016 02:10 PM
    • Replies: 2
    • Views: 362
    11-20-2016, 03:59 PM Go to last post
  47. Cox Snell residuals in R

    I'm trying to fit parametric survival models for a data that I have, and I don't know how to get the Cox Snell residuals in R. An example of...

    Started by askazy‎, 11-19-2016 07:45 AM
    • Replies: 0
    • Views: 323
    11-19-2016, 07:45 AM Go to last post
  48. PCA for Compositional Data using R

    Good evening! As the title suggest, I'm approaching to PCA for compositional Data. The dataset is about 5200 proteins for which is recorded a value...

    Started by Ferdinando Coppola‎, 11-16-2016 12:32 PM
    biplot, compositional data, pca
    • Replies: 2
    • Views: 543
    11-18-2016, 03:30 AM Go to last post
  49. Creating a boxplot with a data frame

    I have the following dataset: > dput(twins) structure(list(Foster = c(82L, 80L, 88L, 108L, 116L, 117L, 132L, 71L, 75L, 93L, 95L, 88L, 111L,...

    Started by DV Man‎, 11-14-2016 08:46 AM
    • Replies: 3
    • Views: 456
    11-16-2016, 08:26 AM Go to last post
  50. Guitarpackage in R

    Hi! I am fairly new to R, and have been trying to run R's Guitar package on my linux with not much success. No image is generated - I get an error...

    Started by blur‎, 11-16-2016 06:47 AM
    guitar package r
    • Replies: 1
    • Views: 292
    11-16-2016, 07:55 AM Go to last post
  51. Point size base plots

    So cex with scale points and defaults to 1 being 1px. Is there a way however to link the diameter of points to the y-axis. So lets say we have: ...

    Started by Lazar‎, 11-12-2016 04:56 PM
    • Replies: 5
    • Views: 481
    11-13-2016, 12:24 AM Go to last post
  52. Don't understand why it needs to be class factor

    I have the following piece of code which I am trying to run library(Rcmdr) library(RcmdrMisc) library(RcmdrPlugin.DoE) PB.DOE <- pb(nruns= 12...

    Started by anonake‎, 11-10-2016 02:10 PM
    regression
    • Replies: 0
    • Views: 408
    11-10-2016, 02:10 PM Go to last post
  53. Error: unexpected string in constant

    Hi All, apologies for the basic question but I'm a newbie in R and I can't seem to fix this one line of code. I'm inputting; awk '$1 ==...

    Started by Magpie101‎, 11-10-2016 05:58 AM
    error
    • Replies: 1
    • Views: 368
    11-10-2016, 01:10 PM Go to last post
  54. Complex line graphic

    Hello everyone, :D I am trying to do a graph with the enclosed file. In ordinate I want to represent the mutation rate mu for the three types...

    Started by Bioinfo974‎, 11-06-2016 07:41 PM
    • Replies: 5
    • Views: 492
    11-09-2016, 03:26 AM Go to last post
  55. Online R coding tuition

    Hi guys, i'm new to R and have some biological data sets I need help coding with, is there anyone on here that is able to give online tuition in...

    Started by imbricata‎, 11-07-2016 05:28 AM
    • Replies: 1
    • Views: 406
    11-07-2016, 07:36 AM Go to last post
  56. Adding Text to Horizontal Line in GGPlot2

    So I made this barplot, and I have a horizontal line at the mean of the wholesale price of all cars. I would like to add text to this line to denote...

    Started by DV Man‎, 10-30-2016 09:24 PM
    • Replies: 12
    • Views: 640
    11-06-2016, 05:48 PM Go to last post
  57. Factorial ANOVA, How to do a imple effects analysis in R?

    I am running a factorial ANOVA in R. I want to find out the effect of gender and the semester the student is enrolled in on a standardized test. ...

    Started by ricardo.l‎, 11-06-2016 10:57 AM
    • Replies: 0
    • Views: 331
    11-06-2016, 10:57 AM Go to last post
  58. Help with Rstudio coding

    Hi guys I really need some help with the coding for a linear model with Gaussian error structure to assess whether a numerical variable is affected 2...

    Started by imbricata‎, 11-06-2016 10:31 AM
    • Replies: 0
    • Views: 303
    11-06-2016, 10:31 AM Go to last post
  59. What wrong with my code?

    I am running a DOE where i have generated a PB design. This ends up as a data table with my predictor variables and the experiments I need to run to...

    Started by anonake‎, 11-03-2016 09:06 AM
    calculated column, r code
    • Replies: 9
    • Views: 590
    11-05-2016, 05:56 PM Go to last post
  60. Presence/Absence Data - (Dis)similarity Analysis in R

    Hi everyone, I could not find a thread which matches my problem sufficiently. If I missed the right thread you are welcome to give me short hint....

    Started by anutinashell‎, 10-28-2016 09:20 AM
    • Replies: 4
    • Views: 470
    11-04-2016, 03:35 AM Go to last post

+ Post New Thread
Page 1 of 67 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