1. 10-14-2010
    Views:
    16,667
+ Post New Thread
Page 1 of 49 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... LastLast
Threads 1 to 60 of 2920

Forum: R

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

  1. 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: 106
    • Views: 13,637
    07-17-2014, 04:31 PM Go to last post
  2. 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 10:39 AM
    22 Pages
    1 2 3 ... 22
    • Replies: 321
    • Views: 29,665
    06-18-2014, 04:13 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: 99
    • Views: 29,507
    05-22-2014, 02:07 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 03:42 PM
    18 Pages
    1 2 3 ... 18
    • Replies: 267
    • Views: 32,957
    04-24-2014, 05:53 PM Go to last post
  5. 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
    5 Pages
    1 2 3 ... 5
    • Replies: 61
    • Views: 11,980
    04-24-2014, 04:20 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: 3,802
    10-17-2012, 07:20 PM Go to last post
  1. how to get a random sample with replacement

    Hello Guys, suppose I have the attached dataset: mydata<-structure(list(elevation = c(55.2879982, 92.2805023, 102.6689987, 58.2901993,...

    Started by gianmarco‎, Today 05:56 AM
    • Replies: 1
    • Views: 22
    Today, 07:07 AM Go to last post
  2. Nested ANOVA evaluation in R

    hi, I have an experiment to check factors that influence the results of a measurement which is done like this: Several pieces of substrate are...

    Started by rogojel‎, Yesterday 12:42 AM
    anova, nested
    • Replies: 4
    • Views: 91
    Yesterday, 02:47 PM Go to last post
  3. Question calculate marginal effects using mlogit package

    Hi R-users I try to calculate marginal effects of a multinomial logistic regression. To do this i use mlogit package and effects() function. ...

    Started by lmoulin‎, 06-07-2013 06:54 AM
    logit model, marginal effects, mlogit, multinomial regression
    • Replies: 7
    • Views: 1,378
    Yesterday, 06:59 AM Go to last post
  4. semi Markov for dummies

    Hello, I never worked with R till my supervisor asks me to run a semiMarkov analysis a month ago. After a long struggle, to date, the code works,...

    Started by MAP‎, 07-21-2014 08:43 AM
    • Replies: 5
    • Views: 234
    07-28-2014, 12:48 PM Go to last post
  5. R Studio won't open

    Hi all, Question about R Studio. I downloaded R and R Studio a few months ago. When I first tried to use them, R Studio froze my computer and I...

    Started by JWFan‎, 07-27-2014 07:27 PM
    • Replies: 1
    • Views: 91
    07-27-2014, 07:48 PM Go to last post
  6. Best way to store/organize data in R:

    Hello all, I know a lot of times when someone wants to learn a new programming language, the best way to do so is to just program. I've been...

    Started by APOCooter‎, 07-24-2014 11:01 PM
    • Replies: 0
    • Views: 129
    07-24-2014, 11:01 PM Go to last post
  7. Looking for R-specialist for potential collaboration

    Hello everybody! I am working on a research project intended to be published in a top-tier US journal. I don't want to get into details here, but...

    Started by kiton‎, 07-18-2014 10:51 AM
    2 Pages
    1 2
    • Replies: 25
    • Views: 574
    07-24-2014, 10:22 PM Go to last post
  8. R Graphics: Stacked area graph

    Hello everyone, I would like to generate a stacked area graph about species abundances along a river (river km). Instead of stacking the values...

    Started by Protonemura‎, 07-24-2014 08:38 AM
    • Replies: 0
    • Views: 64
    07-24-2014, 08:38 AM Go to last post
  9. Cumulative Hazard from coxph object with null offset?

    Hi everyone, I have a little doubt here. When I do something like: ...

    Started by JBrettas‎, 07-23-2014 06:11 PM
    • Replies: 0
    • Views: 80
    07-23-2014, 06:11 PM Go to last post
  10. Help needed: Kernel density estimate on an image

    Hey all, I'm new to R and I need help if anyone could give an advice. I need to do Kernel density estimate on an image which basically consists of...

    Started by koronfelina‎, 07-23-2014 04:17 PM
    • Replies: 0
    • Views: 57
    07-23-2014, 04:17 PM Go to last post
  11. R time series

    Hi,I am looking for a way to compare between several Databases of travel time from one point to another in order to find if there is a statistic...

    Started by GiladAnat‎, 07-23-2014 03:30 AM
    • Replies: 2
    • Views: 123
    07-23-2014, 08:02 AM Go to last post
  12. Hi

    Hello everyone, I'm a new R user and I want to do autocorrelation, convert to log returns, do difference returns on my data. How do I do all this and...

    Started by Bisola‎, 07-20-2014 12:52 AM
    • Replies: 1
    • Views: 177
    07-20-2014, 11:26 AM Go to last post
  13. Question Multiple ANOVA on a data frame -- R statistics

    Hello, I am wondering how I can do a multiple ANOVA on a data.fram and write/record p-values for each test in a list or a new variable in my data...

    Started by swordfish‎, 11-21-2010 04:21 PM
    • Replies: 10
    • Views: 3,878
    07-18-2014, 12:42 PM Go to last post
  14. A color for two condition

    Hello, Can you help me to set up a specific color when two conditions are met, I would like to color in red the points in my scatter plot when...

    Started by robinmes‎, 07-18-2014 05:33 AM
    • Replies: 1
    • Views: 102
    07-18-2014, 06:07 AM Go to last post
  15. R -> Excel

    Hello, Does someone know how to export properly a matrix from R to Excel or CSV ? I know that I need to use write.csv() but it never gives a...

    Started by roukyno1‎, 07-17-2014 09:26 AM
    • Replies: 2
    • Views: 141
    07-17-2014, 11:52 AM Go to last post
  16. how to edit ROC curve generated by R?

    I have had R generate ROC curve for me and then copy it as metafile and paste it in word doc. To change false positive rate into 1-specificity in x...

    Started by t.wang21@yahoo.com.au‎, 07-16-2014 08:50 PM
    • Replies: 6
    • Views: 156
    07-16-2014, 10:44 PM Go to last post
  17. Bagging predictions with binary response variable in R

    I am trying to use the bagging technique to increase my model's predictive power. My response variable, status, is a binary variable where 0...

    Started by randomcat‎, 07-15-2014 08:05 PM
    bagging, classification
    • Replies: 4
    • Views: 175
    07-15-2014, 08:46 PM Go to last post
  18. rpart function: how to know the % of correct classification at every terminal node?

    I have a dataset with 277 observations.I have binary response variables i.e, 0 indicates no disease, and 1 indicates disease. I know that 180 of the...

    Started by randomcat‎, 07-14-2014 03:32 AM
    classification, classification-tree
    • Replies: 1
    • Views: 179
    07-15-2014, 03:49 PM Go to last post
  19. splitting a dataset in two parts (of different size)

    Hello Guys! Suppose I have a dataset (part of it is appended below) and that I wish to split it in two parts (to be used as training sample and...

    Started by gianmarco‎, 07-15-2014 01:25 AM
    • Replies: 5
    • Views: 202
    07-15-2014, 01:03 PM Go to last post
  20. How to view the resulting tree using the bagging function in R?

    I constructed a tree with the `rpart` function. Then I can plot it to look at the tree visually and also look at what % of the observations were...

    Started by randomcat‎, 07-15-2014 01:22 AM
    bagging, classification, classification-tree
    • Replies: 3
    • Views: 135
    07-15-2014, 04:36 AM Go to last post
  21. auto.arima function (in R) and Box&Jenkins method

    I already posted that question on the Statistics portion of the forum : Hello, How is it possible that the auto.arima function in R (which...

    Started by roukyno1‎, 07-10-2014 04:34 AM
    • Replies: 14
    • Views: 301
    07-15-2014, 02:56 AM Go to last post
  22. Converting count data into binary data

    Hi everyone, i have count outcome data{0,1,2,3,} and I would like to reconstruct it using 0=absence and >0= presence I have tried to use the...

    Started by Mona‎, 07-13-2014 08:15 AM
    • Replies: 1
    • Views: 186
    07-13-2014, 11:04 AM Go to last post
  23. Can you trust the internet?

    question arose. I do not like that on the Internet everything is publicly available. How can information be protected?

    Started by gerberkon‎, 04-01-2014 04:48 PM
    • Replies: 3
    • Views: 133
    07-13-2014, 07:53 AM Go to last post
  24. Edit/Recode Data

    Hi guys, I scoured the internet about this, but I can't seem to find a straight answer. Is there a way to edit and recode multiple data points in...

    Started by gene2420‎, 07-09-2014 01:29 PM
    • Replies: 1
    • Views: 73
    07-12-2014, 05:10 PM Go to last post
  25. Regression -help with R codes

    Hi everyone, This is could be very basic but I'm really struggling with biostatistic using R-programming and I would really appreciated if...

    Started by Mona‎, 07-12-2014 04:17 PM
    • Replies: 1
    • Views: 176
    07-12-2014, 04:51 PM Go to last post
  26. Question Syntax error: Error in sqliteExecStatement

    Hi guys, I have the following problem: I am trying to do a multinomial logistic regression on a very large dataset. My dataset has 6 columns...

    Started by Bianca‎, 07-10-2014 02:41 AM
    database, large data sets, multinomial regression, sqlite, syntax
    • Replies: 1
    • Views: 119
    07-12-2014, 03:43 PM Go to last post
  27. Create special matrix

    Hi, I'm trying to build a function for constructing special matrix according to the following example. suppose the function gets as input: m=0...

    Started by LiorN‎, 07-11-2014 07:26 AM
    • Replies: 1
    • Views: 159
    07-12-2014, 02:02 PM Go to last post
  28. Loop through values - only first element is used

    Hi everybody, i feel this is very baisc but i need a hand. I want to use the strsplitfunction on characters in a data.frame but under certain...

    Started by tester1234‎, 06-29-2014 01:51 AM
    ifelse, loop, nested
    • Replies: 9
    • Views: 347
    07-11-2014, 03:22 PM Go to last post
  29. R subtract value from row above

    Hi I want to do a row-wise subtraction which is very easy in excel: A B 1 . 4 3 (4-1) 5 1 (5-4) 2 -3 (2-5) 3 1 5 2 9 4

    Started by toothpicky‎, 07-10-2014 07:05 PM
    • Replies: 2
    • Views: 153
    07-10-2014, 07:48 PM Go to last post
  30. Awful data munging problem

    So here is the situation. I have meta data as follows (dput at end - they may not be overly helpful as I cannot provide full data for privacy...

    Started by Lazar‎, 07-09-2014 08:20 PM
    • Replies: 3
    • Views: 159
    07-10-2014, 02:17 AM Go to last post
  31. Suppose we like to see two separate graphs together?

    In R or Rstudio. sometimes we like to store two graphs in one screen so that we can choose any one out of two, by clicking. For example, first...

    Started by jk90029‎, 07-09-2014 03:55 AM
    • Replies: 3
    • Views: 174
    07-09-2014, 01:01 PM Go to last post
  32. Anyone have used locator() or identify()?

    For example, let a plot has three letters, such as CA, NY, IL 1) Page 1, plot() is shown as graph in one page 2) Page 2, there is a specific CA...

    Started by jk90029‎, 07-09-2014 03:00 AM
    • Replies: 0
    • Views: 110
    07-09-2014, 03:00 AM Go to last post
  33. To send a new graph, to a file, instead of seeing at screen?

    Dear- Most time we see the output of a graph result, at the monitor screen. plot( c(1,3,2), type="l" ) Now instead of that, 1) We hope to...

    Started by jk90029‎, 07-08-2014 01:19 AM
    • Replies: 3
    • Views: 164
    07-09-2014, 02:53 AM Go to last post
  34. Separate graphs

    Hi everyone, as I wrote in the title, I need to separate 2 different functions from the same graph. I mean, I obtained the graph attached as a result...

    Started by puvio‎, 07-04-2014 09:03 AM
    • Replies: 0
    • Views: 164
    07-04-2014, 09:03 AM Go to last post
  35. Problems transposing a file in R...

    I'm trying to transpose a file in R, I have the file in .dat or .txt format and it won't transpose properly with either. Basically, it's a...

    Started by vg_87‎, 07-03-2014 08:48 AM
    • Replies: 2
    • Views: 237
    07-04-2014, 08:32 AM Go to last post
  36. What's the R command that shows the components of a function?

    fit=lm(y~x) And I remember there's an R command that lists out the components of a function. So if I were to use Rcommand(fit), the console would...

    Started by randomcat‎, 07-02-2014 12:13 PM
    • Replies: 2
    • Views: 188
    07-02-2014, 01:15 PM Go to last post
  37. Error in is.constant(y) : (list) object cannot be coerced to type 'double'

    I have a sample file that I am using to forecast as a panel series. The steps followed are 1. library(plm) 2. library(Formula) ...

    Started by r_learner_01‎, 06-30-2014 10:00 AM
    • Replies: 3
    • Views: 308
    07-02-2014, 06:51 AM Go to last post
  38. R is slow

    Hello, does anybody have the experience of running R and wait a long long time before it finally stops and show the result? I am a freshman and...

    Started by chan‎, 06-30-2014 10:40 AM
    • Replies: 6
    • Views: 306
    07-02-2014, 05:38 AM Go to last post
  39. [Package popularity?] Code to estimate R package popularity

    In answer to Trinkers question here: http://stackoverflow.com/questions/10159249/determine-number-of-package-downloads I have the following code...

    Started by TheEcologist‎, 12-11-2013 10:57 AM
    • Replies: 12
    • Views: 554
    07-01-2014, 01:54 PM Go to last post
  40. How to write loop sentence to skip some certain value in the loop

    Hello, I try to make for to do loops not in a continuous way, but in specific number. For instance, I try to make R does the loop when j=certain...

    Started by chan‎, 06-30-2014 10:19 PM
    • Replies: 2
    • Views: 169
    06-30-2014, 11:37 PM Go to last post
  41. glmulti for zero-truncated data

    Hi, I'm using glmulti to get the best glm model for zero-truncated poisson distribution, but it doesn't work. My response variable is positive...

    Started by Jundi‎, 06-29-2014 11:21 PM
    • Replies: 0
    • Views: 200
    06-29-2014, 11:21 PM Go to last post
  42. how to prune a decision tree

    I have 12,500 observations and 12 explanatory variables. I want to build a decision tree with pruning using the rpart function and then the prune...

    Started by mamus‎, 06-28-2014 09:49 AM
    • Replies: 3
    • Views: 308
    06-29-2014, 11:28 AM Go to last post
  43. Error

    I got an error when running this code: g=1 M<-data.frame(matrix(NA,nrow=83091,ncol=3)) names(M)<-c("i","j","distance") for(j in 1:56808){...

    Started by chan‎, 06-25-2014 09:53 PM
    • Replies: 11
    • Views: 462
    06-28-2014, 01:38 PM Go to last post
  44. Possible to avoid /usr/local when installing package?

    We are interested in using FunciSNP, but we're having a hard time getting setup on RHEL 6.5 My main suspicion (and pet peeve) is that "/usr/local"...

    Started by iceback‎, 06-24-2014 04:34 PM
    funcisnp, install, usr/local
    • Replies: 4
    • Views: 307
    06-27-2014, 12:49 PM Go to last post
  45. Check for normal distribution in subgroup in R

    I have dataset (MySurvey) which contains health scores (hsc) that includes both women and men. I would like to only look at the male population and...

    Started by mgirl‎, 06-24-2014 03:34 AM
    • Replies: 3
    • Views: 331
    06-24-2014, 07:21 AM Go to last post
  46. using multiple arguments (for executions, not conditions) for 'if' function

    Hi, Within a nested for loop, I am trying to do something like If (p<0.05), then (do A, and do B and do C), else (do nothing) To give details...

    Started by Deccantraps‎, 06-23-2014 09:24 PM
    'if', multiple executions
    • Replies: 5
    • Views: 253
    06-24-2014, 12:02 AM Go to last post
  47. If we want something to be blinked

    For example, if we like R to make a blinking for special letter, for attention to user, is there any way to make it? ...

    Started by jk90029‎, 06-23-2014 11:39 PM
    • Replies: 2
    • Views: 246
    06-23-2014, 11:57 PM Go to last post
  48. String in R

    Hello, everybody, i got stuck when I read data from Excel to R, the data got into strings, I did not know why, and the latitude should be -88.0103,...

    Started by chan‎, 06-20-2014 09:21 PM
    • Replies: 13
    • Views: 435
    06-22-2014, 08:54 PM Go to last post
  49. univariable lowess smoothed logit versus age in R

    Hi, I am estimating a multivariate binary logistic regression using R. After the preliminary model I would like to test the linearity assumption for...

    Started by t.wang21@yahoo.com.au‎, 06-18-2014 12:43 AM
    • Replies: 4
    • Views: 350
    06-22-2014, 08:13 PM Go to last post
  50. question about R's "rank" function

    I have had trouble with R's "rank" function and I'm having difficulty reproducing it with short vectors, so I'll use a long one, which is one of the...

    Started by efoss‎, 06-20-2014 12:35 AM
    • Replies: 1
    • Views: 251
    06-20-2014, 02:25 PM Go to last post
  51. A simple sorting of a matrix

    For example, let a <- matrix(c(1, 3, 2, 4, 2, 1, 7, 6, 3), nrow=3, ncol=3, byrow=T) I guess there...

    Started by jk90029‎, 06-20-2014 06:48 AM
    • Replies: 1
    • Views: 175
    06-20-2014, 07:27 AM Go to last post
  52. ggplot two varaibles and frequency

    I have x and y and the third variable z represents frequency of (x,y).With help of akima: n <- akima :: interp( x, y, z, xo =...

    Started by Milenko‎, 06-20-2014 12:31 AM
    image
    • Replies: 0
    • Views: 199
    06-20-2014, 12:31 AM Go to last post
  53. Exclamation installing rpud got unrecognized option '-Wl'

    I am trying to install the package rpud on a CENTOS Linux server and got the following error: /usr/local/cuda/bin/nvcc -shared -Xlinker "...

    Started by LEBRoger‎, 05-09-2013 11:43 AM
    installation, package, r ld rpud -wl linker, r-lang
    • Replies: 3
    • Views: 783
    06-19-2014, 01:42 PM Go to last post
  54. Can we draw multiple plot?

    For example, if we want 10 pieces of simple plots, such as > plot(c(1,3, i), type="l") / Note that 10 pieces are from i=1,...,10 Obviously,...

    Started by jk90029‎, 06-17-2014 09:46 PM
    2 Pages
    1 2
    • Replies: 17
    • Views: 607
    06-19-2014, 12:19 PM Go to last post
  55. Guidance please: multinomial mixed data types

    Guidance appreciated: I have approx 40k records from about 50 colleges. Data is one student per record, with age (integer), gender, ethnicity,...

    Started by cassio2506‎, 06-19-2014 09:34 AM
    multivariate non-normal, simulation
    • Replies: 0
    • Views: 163
    06-19-2014, 09:34 AM Go to last post
  56. About R using

    Hello, I had a question using R to do linear regression, when I attached data, it always says some object is masked from position 6, 7...Does anybody...

    Started by chan‎, 06-18-2014 02:51 PM
    • Replies: 2
    • Views: 268
    06-18-2014, 03:01 PM Go to last post
  57. Error in creating a raster stack - any suggestions on how to fix the problem?

    Hi I am trying to create a raster stack of several ASCII files for an environmental variable. This is what I have done so far: >files <-...

    Started by Divesh‎, 06-18-2014 05:07 AM
    ecology, environment variables, error, modelling, raster
    • Replies: 0
    • Views: 200
    06-18-2014, 05:07 AM Go to last post
  58. Can we use (open) separate window, for input and output?

    Dear- I wonder if we can do this, as worked fine in Excel or VBA. For output, instead of "cat" or "text", I wonder if if can open a NEW WINDOW...

    Started by jk90029‎, 06-17-2014 09:24 PM
    • Replies: 1
    • Views: 156
    06-17-2014, 10:03 PM Go to last post
  59. principal components analyses PCA forced through zero

    Hi, I am trying to proceed with an unconventional PCA analyses on two variables. I would like the first principal component forced through the...

    Started by skua‎, 06-14-2014 06:42 AM
    pca, principal components
    • Replies: 1
    • Views: 260
    06-17-2014, 01:55 PM Go to last post
  60. Question Reshaping data

    Hi, I have a data frame which looks like : Jan_V Jan_S Feb_V Feb_S 1 100 90 120 110 2 123 ...

    Started by leejayd‎, 06-13-2014 09:32 AM
    loop, reshape
    • Replies: 4
    • Views: 378
    06-17-2014, 06:23 AM Go to last post

+ Post New Thread
Page 1 of 49 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 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