1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,834
+ 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,275
    11-05-2017, 08:22 PM Go to last post
  2. 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: 256,927
    09-13-2016, 03:35 PM Go to last post
  3. 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,727
    04-14-2016, 01:02 PM 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,325
    12-13-2016, 05:47 PM Go to last post
  5. 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,314
    09-29-2017, 08:14 PM Go to last post
  6. 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,223
    10-17-2012, 07:20 PM Go to last post
  7. 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,555
    07-20-2017, 10:43 AM Go to last post
  1. Somer’s Dyx in [R] (not Dxy)

    I have been trying to compute Somer’s Dyx (Not Dxy) for a few weeks now as a measure of association in a logistic model. Most programs (including ...

    Started by trinker‎, 06-24-2011 01:10 PM
    • Replies: 5
    • Views: 300,719
    06-26-2011, 08:01 AM Go to last post
  2. the function set.seed() in R

    How does set.seed() in R work? I know it has to do with random number generation but after reading it in the R documentation I still don't get it. ...

    Started by zzzc‎, 03-18-2011 08:00 PM
    • Replies: 10
    • Views: 122,821
    12-03-2013, 05:29 PM Go to last post
  3. R vs Sas vs Splus vs Matlab vs others

    Can someone explain to me the pros and cons of all these software packages? Which one would you use if you can start all over again? Thanks.

    Started by shrek‎, 05-16-2008 02:40 PM
    3 Pages
    1 2 3
    • Replies: 31
    • Views: 117,248
    09-01-2015, 07:27 AM Go to last post
  4. How to get R to export a pdf ?

    I'm using save.image(file = "q3d.pdf") at the end of some code and it's saving a file, but I can't open the file because of an error message...

    Started by sdurrington‎, 09-04-2008 06:28 AM
    • Replies: 13
    • Views: 116,317
    09-06-2008, 02:29 AM Go to last post
  5. R clear ALL memory

    I'm trying to clear all the memory from R when I run a code, but it keeps remembering old stuff. Googling this problem shows the command rm but it...

    Started by toothpicky‎, 04-06-2011 03:54 PM
    • Replies: 5
    • Views: 81,436
    04-06-2011, 05:39 PM Go to last post
  6. .First.lib failed for ‘snow’

    I already posted this on the r-help site but am under the gun to get this data set analyzed and need an answer sooner than later. The library snow...

    Started by trinker‎, 06-28-2011 10:22 PM
    • Replies: 2
    • Views: 62,855
    06-28-2011, 11:15 PM Go to last post
  7. how to compute the absolute value in R?

    the median absolute deviance (mad) of a vector x=(x1,x2....xn) is defined as the median of the absolute differences between each observation and...

    Started by xixihaha‎, 03-09-2010 05:10 PM
    • Replies: 7
    • Views: 58,544
    03-11-2010, 03:02 PM Go to last post
  8. Problem with plotting in R

    Hi there Why cant I just plot such a simple dataset? It seems thar R is finding some error in the dataset. I have also tried with plot("V1",...

    Started by Boderne‎, 04-25-2010 10:44 AM
    • Replies: 7
    • Views: 58,460
    07-18-2011, 04:51 AM Go to last post
  9. An R learning project (feel free to learn with me)

    I realized today I seem to learn the most when I have some kind of project that stretches my abilities beyond where they are currently. Like many of...

    Started by trinker‎, 02-04-2012 01:10 AM
    10 Pages
    1 2 3 ... 10
    • Replies: 137
    • Views: 57,592
    12-22-2012, 05:59 PM Go to last post
  10. Adding a new column in R data frame with values conditional on another column

    Suppose I have the data frame: table<- data.frame(population=c(100, 300, 5000, 2000, 900, 2500), habitat=c(1,2,3,4,5,6)) Now I want to add a...

    Started by econlearner‎, 11-24-2012 05:12 AM
    column, conditional, data.frame
    • Replies: 8
    • Views: 52,242
    11-24-2012, 05:41 PM Go to last post
  11. Using R for the Kolmogorov-Smirnov test

    I have some data that consists of around five columns. I want to use the KS test in R to test it for normaility. A few questions. First off am I...

    Started by freebird2008‎, 08-10-2008 07:01 PM
    • Replies: 13
    • Views: 50,415
    07-08-2012, 09:15 AM Go to last post
  12. Question listwise vs pairwise

    What is the difference between excluding cases listwise and excluding cases pairwise?

    Started by Nin‎, 07-23-2006 09:55 PM
    • Replies: 5
    • Views: 47,990
    12-01-2009, 08:19 PM Go to last post
  13. R Question - How to generate the 50 first odd numbers and store them as a vector?

    Hello, This might sound really basic as I am completely new to R. Any help is appreciated.

    Started by econlearner‎, 09-16-2012 03:01 AM
    • Replies: 14
    • Views: 44,364
    09-16-2012, 10:40 PM Go to last post
  14. R, When does the error "$ operator is invalid for atomic vectors" occur?

    pmf <- array(c(2/15,1/15,4/15,1/15,3/15,4/15),dim=c(2,3), dimnames=list(X=1:2,Y=1:3)) pmf$Y Error in pmf$Y : $ operator is invalid...

    Started by Jesmin‎, 07-17-2013 08:48 PM
    program r
    • Replies: 4
    • Views: 44,235
    07-17-2013, 10:53 PM Go to last post
  15. How to uninstall package in R ?

    Hi, Could somebody tell me how to uninstall a given package in R ? (OS: vista, R v2.81) Thank you in advance

    Started by statser‎, 02-12-2009 01:28 PM
    • Replies: 2
    • Views: 44,167
    02-15-2009, 11:40 AM Go to last post
  16. installing and running R on ubuntu

    Hi guys, I'm hoping one of you will have the experience and knowledge to help me. I'm new to Linux AND new to R. I'm taking a statistical...

    Started by Link‎, 09-15-2010 10:48 AM
    2 Pages
    1 2
    • Replies: 21
    • Views: 41,959
    06-23-2011, 04:14 PM Go to last post
  17. plotting confidence bands for linear regression

    Hello, I am trying to plot a regression line onto a simple scatterplot displaying the 95% Confidence bands. I have run the analysis and have...

    Started by bugman‎, 12-15-2008 01:01 AM
    • Replies: 8
    • Views: 37,345
    12-13-2011, 08:14 PM Go to last post
  18. Importing Images to R

    Hi Everybody, Does anyone of you works with images in R? I'm creating graphical reports in R (everyone likes pretty charts) in PDF format, and my...

    Started by Tart‎, 07-21-2009 07:55 AM
    • Replies: 8
    • Views: 36,918
    11-15-2011, 10:32 AM Go to last post
  19. Append two data frames on top of each other

    Dear all, I have two data frames. Both have same column names but the rows are entirely different. So, I want to stack the data frames on top of...

    Started by ledzep‎, 11-09-2011 03:05 AM
    • Replies: 8
    • Views: 36,065
    11-09-2011, 03:42 PM Go to last post
  20. Add element to vector

    I've created a vector as follows: measure<-c("77.6","77.1","78.0","78.0","77.1","77.1","78.2") However, in between the second and third...

    Started by Layo909‎, 06-08-2012 02:14 AM
    • Replies: 2
    • Views: 35,961
    06-08-2012, 02:34 AM Go to last post
  21. Help finding p-value using R

    I am new to using R and I need to calculate a probability of a hypothesis test (i'm new to statistics too so not sure if that makes sense) I have...

    Started by sdurrington‎, 09-03-2008 03:54 AM
    • Replies: 2
    • Views: 35,846
    09-03-2008, 04:38 AM Go to last post
  22. Embedded Nulls when importing CSV into R

    Hey there. I try to import a csv file generated with the phonetics software Praat into R. When I first did this, there were no problems. Now...

    Started by sibert‎, 04-02-2014 07:21 AM
    • Replies: 7
    • Views: 34,705
    11-12-2015, 10:54 AM Go to last post
  23. Error Message: Object of type "closure" is not subsettable.

    I keep getting this error "Error in data$location1 : object of type 'closure' is not subsettable ". I don't really understand what it means.

    Started by crookedhorizon‎, 05-02-2014 07:33 PM
    • Replies: 3
    • Views: 34,451
    05-03-2014, 04:09 AM Go to last post
  24. [SOLVED] Plot mean and standard deviation

    How do I create a simple plot showing the mean and standard deviation in R, like that attached?

    Started by Layo909‎, 12-23-2011 04:40 AM
    2 Pages
    1 2
    • Replies: 15
    • Views: 34,437
    05-08-2013, 06:16 PM Go to last post
  25. How to calculate the Factorial of Numbers > 170

    Hi I use factorial() function, but it doesn't work for numbers more than 170. I also use lfactorial() but doesn't work too. I put simple...

    Started by DataMiner‎, 04-25-2011 01:57 PM
    2 Pages
    1 2
    • Replies: 16
    • Views: 33,812
    05-04-2011, 09:50 AM Go to last post
  26. [R] Plotting a normal curve along with a histogram

    The R code below is my attempt to plot a histogram and then plot a normal curve for reference. A blue line is drawn to show the mean value. From...

    Started by SlideRule‎, 03-26-2011 09:49 AM
    • Replies: 2
    • Views: 33,760
    03-26-2011, 01:14 PM Go to last post
  27. summary: What does 1st Qu. & 3rd Qu. mean?

    Hi All I have a time series dataset which produnes the following stats from the summary function Min 1st Qu Median Mean 3rd Qu Max...

    Started by donal30‎, 03-11-2011 06:36 AM
    • Replies: 2
    • Views: 33,245
    03-11-2011, 11:41 AM Go to last post
  28. Use R to make a folder

    New R question: After reading the Blomberg quote: I'm going to ask how to do the following. 1. How do you tell R to create a named folder...

    Started by trinker‎, 10-10-2011 04:33 PM
    • Replies: 5
    • Views: 32,565
    10-10-2011, 11:15 PM Go to last post
  29. How to generate a binomial sample and plot histogram using R

    How do you generate a histogram using sample size of 1000 from a bin(50,0.8) distribution. I've found this hist() function but not sure how to get...

    Started by sdurrington‎, 09-03-2008 04:47 AM
    • Replies: 3
    • Views: 31,889
    09-03-2008, 02:23 PM Go to last post
  30. SUMPRODUCT like function in R?

    What is the equivalent to the SUMPRODUCT function in Excel. I am sure there is but I only been using R sporadically for a few months and have never...

    Started by buddyreno‎, 01-27-2013 11:46 PM
    matrix
    • Replies: 2
    • Views: 31,472
    01-28-2013, 12:08 PM Go to last post
  31. r command for sxx

    what is the R command for SXX? cant seem to find it on google. thanks and sxy while we are at it.

    Started by interestednew‎, 06-21-2011 11:26 PM
    • Replies: 8
    • Views: 30,833
    06-22-2011, 01:38 AM Go to last post
  32. Calculating a p-value using R.

    Hi, I have a set of set of data (age of wives, age of husbands) and am trying to answer the question whether or not men marry younger women. I...

    Started by emms‎, 05-17-2012 02:57 AM
    2 Pages
    1 2
    • Replies: 20
    • Views: 30,607
    05-28-2012, 03:05 PM Go to last post
  33. Test for Normal Distribution

    I have a data set and I want to know whether it is Normally distributed or not. How can I do this easily? I would prefer to be able to do it in Excel...

    Started by tja26‎, 01-18-2006 11:04 AM
    • Replies: 2
    • Views: 30,444
    01-22-2006, 05:19 PM Go to last post
  34. Extract Adjusted R-squared in R

    For regression reg = lm( y~X ), I can extract the R-squard using summary(reg)$r.squared but how do I extract Adjusted R-Squared. I have to store...

    Started by sak‎, 08-08-2011 01:47 PM
    • Replies: 8
    • Views: 27,595
    08-08-2011, 05:16 PM Go to last post
  35. How do I get an R script to output its results to the command line?

    I'm writing a script with this code: smalldata <- read.csv(file="smalldata.csv", head=TRUE, sep=",") out <- summary(smalldata) print(out) ...

    Started by pythonscript‎, 10-29-2010 08:50 AM
    • Replies: 5
    • Views: 26,825
    10-29-2010, 12:50 PM Go to last post
  36. Plotting the beta distribution

    Hello I am trying to plot to Beta distribution in order to demonstrate something in Bayesian statistics. I use this code: ...

    Started by NN_STAT‎, 07-10-2012 12:37 AM
    • Replies: 5
    • Views: 26,618
    07-10-2012, 05:30 PM Go to last post
  37. Move files from one folder to another using R

    Is it possible to move files from one folder in windows to another using R? I have got, say a file called good.csv in "C:/test", which I want to...

    Started by ledzep‎, 11-30-2011 05:05 PM
    • Replies: 7
    • Views: 25,881
    11-30-2011, 05:46 PM Go to last post
  38. problem with abline and regression plot

    I use 2.9.0 when using the following commands with the attached lbw.txt lbw<-read.table("lbw.txt") reg<-(lbw$PDBB~lbw$PDMR)...

    Started by mboutsen‎, 05-13-2009 11:10 AM
    • Replies: 7
    • Views: 25,412
    12-05-2011, 11:55 AM Go to last post
  39. How to read the regression diagnostic plots?

    When you plot a linear model in R using a command like: model <- lm(y~x, data), then using the command plot(model) gives you 4 diagnostic plots. ...

    Started by paralleluniverse‎, 09-10-2010 10:39 AM
    • Replies: 3
    • Views: 25,239
    09-26-2010, 01:42 PM Go to last post
  40. compute expected value in R

    Given a random variable with probability density function f(x), how to compute the expected value of this random variable in R?

    Started by surfreta‎, 09-06-2010 11:04 PM
    • Replies: 1
    • Views: 25,129
    09-06-2010, 11:26 PM Go to last post
  41. 3-Way ANOVA in R?

    Hey, Trying to get my code to work, but it's not giving me the F-Values or P-Values in R when I run it how I would normally. modeldel =...

    Started by Rsinton‎, 04-21-2012 07:42 PM
    2 Pages
    1 2
    • Replies: 15
    • Views: 25,020
    04-22-2012, 12:02 AM Go to last post
  42. error in loading data in R

    Hi, I just started to work with R and I am trying to load excel data into a special R package called iTRAQPak with:...

    Started by laurencevo‎, 06-25-2009 07:51 AM
    • Replies: 1
    • Views: 24,812
    06-25-2009, 08:11 AM Go to last post
  43. Convert data frame into a numeric data frame

    So this is probably extremely simple to do but I haven't been able to figure out how to get it so it outputs the way I want it to. I've loaded my...

    Started by don279‎, 04-18-2013 02:47 AM
    • Replies: 3
    • Views: 24,012
    04-19-2013, 02:55 AM Go to last post
  44. Still trying to learn to scrape

    Alright my scraping skills are getting better but they're still babyish. If something's not in a nice table I have a hard time getting the info out...

    Started by trinker‎, 06-07-2012 02:54 PM
    4 Pages
    1 2 3 ... 4
    • Replies: 52
    • Views: 23,926
    07-15-2013, 11:13 AM Go to last post
  45. loops in R

    I am a beginner in R and have some trouble with loops. First, I am trying to make new variables using a loop: orig_var <- c(wh,wg,wd,p)...

    Started by funguscafe‎, 11-12-2008 02:57 PM
    • Replies: 1
    • Views: 23,669
    11-15-2008, 09:49 AM Go to last post
  46. Lagged Dependent Variable

    First, what is a lagged dependent variable? Is it the figure given in the previous year, say consumption today includes consumption of yesterday? ...

    Started by dEconomist‎, 03-04-2012 11:17 AM
    • Replies: 8
    • Views: 23,340
    03-05-2012, 05:58 AM Go to last post
  47. Merging Multiple Data Frames

    I've had an earlier thread that talked about this problem, and I used a series of merge statements to get the job done. While it works, I really...

    Started by bryangoodrich‎, 12-15-2011 03:33 PM
    • Replies: 12
    • Views: 23,292
    12-27-2011, 09:02 PM Go to last post
  48. Convert factor to date

    I am quite new to using R and have encountered a problem with conversion of a factor to a date format. The data was imported into R from a csv file....

    Started by Kony-2012‎, 03-11-2012 04:10 PM
    • Replies: 14
    • Views: 23,036
    12-16-2013, 04:28 AM Go to last post
  49. PERMANOVA in R adonis function

    Please ignore question no longer need help - thank you for all of your responses!

    Started by Rose1226‎, 02-06-2011 06:15 PM
    f.model, permanova, t statistic
    • Replies: 9
    • Views: 22,741
    03-21-2013, 01:04 PM Go to last post
  50. Error: missing value where TRUE/FALSE needed

    I did google my error but I do not have a satisfactory answer. Here is my piece of code: TickTest <- function(data) { d1 = data; d2 =...

    Started by sak‎, 05-26-2011 11:38 AM
    • Replies: 3
    • Views: 22,520
    05-26-2011, 12:58 PM Go to last post
  51. [Solved] Significance in R

    Ok, this is quite hard to explain, but I'm at a complete loss what to do. I'm a relative newcomer to R and although I can completely admire how...

    Started by Gemsie‎, 01-07-2011 09:35 AM
    2 Pages
    1 2
    • Replies: 27
    • Views: 22,246
    01-10-2011, 05:24 PM Go to last post
  52. [R]-command to open new graph window

    Hi, I have found that the command quartz() can be used to make R open a new chart window. I guess it only works on Mac OS. If this is correct, I...

    Started by gianmarco‎, 07-17-2012 05:00 AM
    • Replies: 12
    • Views: 22,196
    07-17-2012, 01:21 PM Go to last post
  53. How to locate a legend box outside of the graph box?

    Dear friends: A really concrete question: Do you know how to locate a legend outside of the graph box? I could not find any parameter of the...

    Started by ruski‎, 09-13-2010 03:42 AM
    • Replies: 2
    • Views: 21,873
    09-14-2010, 05:18 AM Go to last post
  54. how do I draw a histogram for bivariate data in R

    Hi, I have a matrix of values with 2 rows with n columns or else two row vectors each of size n and I want to plot a histogram, that is with...

    Started by PeterVincent‎, 03-13-2009 11:59 AM
    • Replies: 6
    • Views: 21,084
    03-18-2009, 12:05 PM Go to last post
  55. Simple R plot question

    How can I add an vertical line connecting two points (a,0) and (a,b). I can do it with an arrow, but it;s not the same...

    Started by mp83‎, 06-11-2008 10:26 AM
    • Replies: 6
    • Views: 20,953
    06-11-2008, 01:05 PM Go to last post
  56. R code help: the same function in r as vlookup in excel

    I have two data sheets dataA <- read.csv("data_sheet1.csv"); ID name value data 1 342a s 1.2 4.5 2 342b g 3.4 5.7 3 564e r 9.8 3.6...

    Started by scyxr‎, 06-28-2012 05:44 PM
    • Replies: 3
    • Views: 20,719
    06-29-2012, 01:00 AM Go to last post
  57. Running R & Tinn R

    Hi. I'm still new to R & Tinn-R. So, please help me (though it's just a basic question). 1.So far, i type my codes in text editor and then to...

    Started by tsukiko‎, 03-28-2010 02:20 AM
    • Replies: 7
    • Views: 20,620
    06-24-2010, 06:23 PM Go to last post
  58. What is difference between a Matrix and an Array ?

    I have read numerous texts and they all say a matrix is 2 dimensional...but I dn't actuall know what this means (when the say 2 dimensional). for...

    Started by urbano‎, 12-05-2012 04:41 AM
    • Replies: 2
    • Views: 20,273
    12-05-2012, 08:46 PM Go to last post
  59. ggplot2: contour chart plotting concentrations

    Hi All, in this christmas evening, waiting to eat my christmas dinner, I was wondering how can I use ggplot2 to build a plot showing how a given...

    Started by gianmarco‎, 12-24-2013 01:03 PM
    2 Pages
    1 2
    • Replies: 25
    • Views: 20,062
    01-22-2014, 10:30 AM Go to last post
  60. Confidence Interval for model parameters (in R lme4)

    Hi, I am trying to fit logistic regression in lme4 package. However, couldn't figure out way to extract the confidence intervals for the model...

    Started by ledzep‎, 05-02-2012 11:17 AM
    • Replies: 6
    • Views: 19,925
    07-03-2012, 05:02 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