1. 10-14-2010
    Views:
    30,401
+ Post New Thread
Page 1 of 66 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 3936

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: 360
    • Views: 133,641
    10-15-2016, 01:15 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
    7 Pages
    1 2 3 ... 7
    • Replies: 97
    • Views: 53,205
    10-12-2016, 12:42 AM 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: 51,253
    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: 119,756
    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: 64,853
    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,230
    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: 13,821
    10-17-2012, 08:20 PM Go to last post
  1. 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: 283
    Today, 02:51 AM Go to last post
  2. 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: 1
    • Views: 164
    Yesterday, 04:08 PM Go to last post
  3. 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: 111
    12-03-2016, 09:08 AM Go to last post
  4. 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: 69
    12-02-2016, 11:02 PM Go to last post
  5. 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: 91
    12-02-2016, 07:37 AM Go to last post
  6. 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: 131
    11-29-2016, 11:33 AM Go to last post
  7. 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: 122
    11-28-2016, 11:22 PM Go to last post
  8. 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: 435
    11-28-2016, 10:17 AM Go to last post
  9. 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: 105
    11-27-2016, 03:13 PM Go to last post
  10. 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: 237
    11-23-2016, 02:30 AM Go to last post
  11. 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: 167
    11-20-2016, 03:59 PM Go to last post
  12. 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: 130
    11-19-2016, 07:45 AM Go to last post
  13. 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: 318
    11-18-2016, 03:30 AM Go to last post
  14. 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: 256
    11-16-2016, 08:26 AM Go to last post
  15. 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: 119
    11-16-2016, 07:55 AM Go to last post
  16. 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: 287
    11-13-2016, 12:24 AM Go to last post
  17. 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: 232
    11-10-2016, 02:10 PM Go to last post
  18. 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: 170
    11-10-2016, 01:10 PM Go to last post
  19. 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: 312
    11-09-2016, 03:26 AM Go to last post
  20. 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: 187
    11-07-2016, 07:36 AM Go to last post
  21. 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: 409
    11-06-2016, 05:48 PM Go to last post
  22. 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: 158
    11-06-2016, 10:57 AM Go to last post
  23. 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: 128
    11-06-2016, 10:31 AM Go to last post
  24. 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: 398
    11-05-2016, 05:56 PM Go to last post
  25. 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: 289
    11-04-2016, 03:35 AM Go to last post
  26. MLE parameter estimation error in R for Exponential Distribution

    I am doing a statistical modeling and doing right and left censoring. I have difficulty to fit my data to exponential distribution as I am getting...

    Started by mohsenhs82‎, 11-03-2016 03:06 AM
    censoring, exponential distribution, fit distribution, fitdistplus
    • Replies: 0
    • Views: 148
    11-03-2016, 03:06 AM Go to last post
  27. replacing 4 or more characters 'j' in a string with the same number of characters 'y'

    Let's say I have a string a <- 'jjjaaaabbbjjjjcccccddjjjjjjjjeeejjffjjjjjjgg' I want to replace all instances of the character 'j' with an...

    Started by efoss‎, 11-01-2016 11:24 PM
    • Replies: 3
    • Views: 242
    11-02-2016, 01:40 AM Go to last post
  28. Recoding Data

    Hi guys! This seems like an easy enough topic...but I CANNOT find it anywhere on the internet. I'm probably looking in all the wrong places so I...

    Started by gene2420‎, 08-15-2014 05:21 PM
    • Replies: 6
    • Views: 788
    11-01-2016, 04:18 PM Go to last post
  29. How to combine multiple variables into one by name

    I have the following dataset: class = c("tbl_df", "tbl", "data.frame"), row.names = c(NA, -121690L), .Names = c("Model", "Make", "Color",...

    Started by DV Man‎, 10-30-2016 12:25 PM
    • Replies: 9
    • Views: 234
    10-30-2016, 03:02 PM Go to last post
  30. Creating simple GUI for R - Calling scripts from R-external Application

    Dear all, today i would like to get some directions for the following question. Main Target - create a simple GUI which allows non R-Users to...

    Started by tester1234‎, 10-23-2016 04:26 AM
    gui, java, simple
    • Replies: 6
    • Views: 414
    10-29-2016, 10:57 AM Go to last post
  31. R - Logistic regression. Coding to get all predictor variables for categorical vars

    I'll preface my question by stating that I am new to using R. I am trying to use logistic regression on my data. I typed glm(formula = purchase ~...

    Started by willcoop‎, 10-26-2016 01:20 PM
    logistic regression, r coding
    • Replies: 5
    • Views: 333
    10-27-2016, 08:14 AM Go to last post
  32. Exclamation SOS!!!!!!! Appraisal Ratio in R

    Please share with me! Thank you in advance!:)

    Started by Lisa92‎, 10-26-2016 11:20 AM
    appraisal ratio, finance, ratio
    • Replies: 0
    • Views: 174
    10-26-2016, 11:20 AM Go to last post
  33. Gaussian Copula

    I have two stocks, equally weighted, in my portfolio. The objective is to link both with two marginal t-student distributions linked with a Gaussian...

    Started by John Nogueira‎, 10-26-2016 06:17 AM
    • Replies: 0
    • Views: 149
    10-26-2016, 06:17 AM Go to last post
  34. can't install caret.

    Im 'trying to install the caret package, but am having trouble. I'm running it on a MAC I"m already using the most updated version of R Studio....

    Started by semidevil‎, 10-24-2016 09:51 PM
    • Replies: 8
    • Views: 334
    10-25-2016, 10:34 PM Go to last post
  35. Help with Conditional Statement

    Hi, Please assist. I would like to create a new collumn called Completion Status. if the value of the Post_Test_Score is blank i would like the...

    Started by Easy‎, 10-24-2016 03:57 AM
    • Replies: 1
    • Views: 247
    10-24-2016, 11:24 AM Go to last post
  36. Apply ARIMA model to a time series - fit the model to past observations

    I am trying to make a forecast starting from a time series with monthly observations. After creating the time series in R, I applied auto.arima()...

    Started by Mark_‎, 10-13-2016 09:35 AM
    • Replies: 4
    • Views: 314
    10-22-2016, 07:39 AM Go to last post
  37. Lightbulb Statistical analysis and playing around with incidence rates

    Dear TalkStats Members, I am a bloody noob to R (used SPSS till now) and decided to learn R now. My first quest would be following: I have...

    Started by AAWWR-Mike‎, 10-21-2016 04:57 AM
    disease, incidence rate, linear regression, predictive analysis, projection
    • Replies: 0
    • Views: 170
    10-21-2016, 04:57 AM Go to last post
  38. displaying annotations close to axes in scatterplots

    Dear All, as per title, I was wondering if you have ever come across any method to put annotations (I hope this is the right word) near the axes in...

    Started by gianmarco‎, 10-19-2016 02:05 PM
    • Replies: 2
    • Views: 203
    10-21-2016, 04:15 AM Go to last post
  39. Smile install RHadoop

    Hello, hello to everyone! I would like to ask you a question: I am installing RHadoop of Cloudera, but R does not make me install the packages I...

    Started by Claudia14‎, 10-21-2016 03:26 AM
    rhadoop
    • Replies: 0
    • Views: 146
    10-21-2016, 03:26 AM Go to last post
  40. Reading in SAS files

    Hi All, I have a bunch of SAS data files I need to read into R that were created a long time ago. The bdat files work fine but I am having...

    Started by Lazar‎, 10-19-2016 07:27 PM
    • Replies: 8
    • Views: 406
    10-20-2016, 09:53 PM Go to last post
  41. changing the default color in a ggplot2 heat map-like plot

    I have a data frame called "test2" that has 3 columns: position, length and intensity. I want to make a plot with position on the x axis, length on...

    Started by efoss‎, 10-20-2016 11:54 AM
    • Replies: 3
    • Views: 220
    10-20-2016, 06:59 PM Go to last post
  42. problem with decision tree using rpart: "fit is not a tree, just a root"

    I'm doing very basic decision tree practice, but I"m having trouble getting my tree to output. I'm using the rpart function for this. It's an...

    Started by semidevil‎, 10-07-2016 04:11 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 926
    10-19-2016, 02:17 PM Go to last post
  43. Issue with the ISRL data sets

    Hello everyone, I recently started to read that book (An Introduction to Statistical Learning with Applications in R). Has anyone encountered...

    Started by LongHalloween‎, 10-19-2016 12:52 PM
    • Replies: 0
    • Views: 151
    10-19-2016, 12:52 PM Go to last post
  44. R geosphere package: unit of distance

    Hello dear forum members, I have the following question in relationship to R geosphere package: So, as per package description...

    Started by kiton‎, 10-18-2016 12:20 PM
    distance unit, geosphere
    • Replies: 2
    • Views: 188
    10-18-2016, 12:46 PM Go to last post
  45. Question regarding generating graphics using ggplot2

    I have two problems, but I'll start with the first one: (I have a picture of what the outcomes are supposed to look like, but sadly I cannot post...

    Started by DV Man‎, 10-17-2016 07:16 PM
    • Replies: 5
    • Views: 328
    10-18-2016, 09:52 AM Go to last post
  46. Root node has 3 options, but 2 branches?"

    Using the rpart package, I created a decision tree describing credit default, based on various characteristics. When I tree my data, credit...

    Started by semidevil‎, 10-14-2016 10:34 PM
    • Replies: 2
    • Views: 203
    10-15-2016, 11:44 AM Go to last post
  47. A Function that creates function into a list

    Hi, I am new to R. I have this code from my programming assignment: makeVector <- function(x = numeric()) { m <- NULL set...

    Started by Apple1‎, 10-09-2016 07:10 AM
    • Replies: 3
    • Views: 296
    10-15-2016, 08:39 AM Go to last post
  48. CEM using R

    Hi everybody, I need to build a matched control sample of non-financial fraud firms through CEM. I need to identify a sample of matched control...

    Started by paola.ancona‎, 10-14-2016 04:58 PM
    cem r
    • Replies: 0
    • Views: 170
    10-14-2016, 04:58 PM Go to last post
  49. Spearman's Correlation and p-Value

    Hi there! I have a dataset of n=100 and I wanted to test the correlation of 4 performance metrics. I use the spearman correlation since the data...

    Started by leomessi178‎, 10-12-2016 08:55 AM
    • Replies: 0
    • Views: 219
    10-12-2016, 08:55 AM Go to last post
  50. Wilcoxon Rank Sum

    Hey Guys I know how to do the wilcoxon rank sum test (>wilcox.test(x,y)). However, I have a hard time finding the sums of the ranks. Does anyone...

    Started by leomessi178‎, 10-11-2016 11:30 AM
    • Replies: 4
    • Views: 210
    10-11-2016, 12:01 PM Go to last post
  51. Error in assignment maximizing minimal quality in R language from the book example

    I was trying run the example given in the textbook named "Modeling and Solving Linear Programming with R" the link to the textbook can be found in...

    Started by jsmiranda‎, 10-11-2016 02:35 AM
    • Replies: 0
    • Views: 174
    10-11-2016, 02:35 AM Go to last post
  52. Apply formula to several files

    Hello everyone, I am a beginner in R. In order to verify my data files (which are tables with values separated by spaces in .txt files), I wanr...

    Started by fanfanus‎, 10-10-2016 01:21 PM
    • Replies: 2
    • Views: 233
    10-10-2016, 02:28 PM Go to last post
  53. Caching the mean of a Vector in R

    Hi, I am trying to learn R, and the below is an example code of a programming assignment. I don't quite understand how it works. after...

    Started by Apple1‎, 10-09-2016 02:11 AM
    • Replies: 0
    • Views: 232
    10-09-2016, 02:11 AM Go to last post
  54. Trouble specifying correlation matrix in rjags

    Hi All, EDIT: Will cross-post on the BUGS mailing list but would like to hear your answers as that board is pretty quite. So I have data as in...

    Started by Lazar‎, 01-02-2014 11:27 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 3,754
    10-08-2016, 02:28 PM Go to last post
  55. Simulate Ar(1) process with different y0 values and uniform distribution

    I need to plot an Ar(1) graph for the process yk = 0.75yk-1 + ek. for y0=1 and another graph for y0=10. assume ek is uniformly distributed on...

    Started by ash369ster‎, 10-08-2016 01:38 PM
    ar(1), r language, r studio, time-series
    • Replies: 0
    • Views: 207
    10-08-2016, 01:38 PM Go to last post
  56. strange plot

    Hi. Im trying to do a plot to relate a categorical variable: city to a numeric variable: response time. Im doing with this command:...

    Started by oscarr‎, 10-07-2016 06:07 PM
    • Replies: 4
    • Views: 291
    10-07-2016, 09:25 PM Go to last post
  57. Excluding the effect of one of two factors

    Hello, My Name is Maya and I am new to this forum, and my skills in statistics are relatively basic. I hope you will excuse my poor English, as it is...

    Started by MajaEdlund‎, 10-06-2016 03:24 AM
    • Replies: 3
    • Views: 289
    10-07-2016, 12:07 AM Go to last post
  58. Compliling error: fPortfolio R Package

    I am trying to build an efficient frontier using fPortfolio R Package (R3.3.1 and fPortfolio 3011.81). But launching...

    Started by douglasswm‎, 10-06-2016 04:16 AM
    r programing
    • Replies: 0
    • Views: 205
    10-06-2016, 04:16 AM Go to last post
  59. Plots to different charts

    Hi! My situation is very much the same as in this image http://www.nature.com/bmt/journal/v40/n4/fig_tab/1705727f1.html#figure-title I am...

    Started by obruck‎, 08-31-2016 04:03 AM
    • Replies: 10
    • Views: 539
    10-06-2016, 03:48 AM Go to last post
  60. Mutating to add new columns

    I am looking for the highest average BasePay, and have this data: > q<-select(salaryDF, JobTitle:BasePay) > q # A tibble: 111,490 2 ...

    Started by DV Man‎, 10-03-2016 06:40 PM
    • Replies: 13
    • Views: 522
    10-05-2016, 01:22 PM Go to last post

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