1. 10-14-2010
    Views:
    16,558
+ 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 2913

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,536
    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,395
    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,428
    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,809
    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,880
    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,776
    10-17-2012, 07:20 PM Go to last post
  1. 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‎, Today 03:30 AM
    • Replies: 1
    • Views: 36
    Today, 06:31 AM Go to last post
  2. 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: 1
    • Views: 106
    07-21-2014, 03:35 PM Go to last post
  3. 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: 138
    07-20-2014, 11:26 AM Go to last post
  4. 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: 22
    • Views: 446
    07-19-2014, 12:39 PM Go to last post
  5. 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,844
    07-18-2014, 12:42 PM Go to last post
  6. 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: 82
    07-18-2014, 06:07 AM Go to last post
  7. 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: 118
    07-17-2014, 11:52 AM Go to last post
  8. 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: 136
    07-16-2014, 10:44 PM Go to last post
  9. 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: 156
    07-15-2014, 08:46 PM Go to last post
  10. 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: 158
    07-15-2014, 03:49 PM Go to last post
  11. 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: 188
    07-15-2014, 01:03 PM Go to last post
  12. 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: 122
    07-15-2014, 04:36 AM Go to last post
  13. 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: 273
    07-15-2014, 02:56 AM Go to last post
  14. 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: 165
    07-13-2014, 11:04 AM Go to last post
  15. 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: 116
    07-13-2014, 07:53 AM Go to last post
  16. 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: 60
    07-12-2014, 05:10 PM Go to last post
  17. 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: 158
    07-12-2014, 04:51 PM Go to last post
  18. 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: 108
    07-12-2014, 03:43 PM Go to last post
  19. 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: 145
    07-12-2014, 02:02 PM Go to last post
  20. 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: 332
    07-11-2014, 03:22 PM Go to last post
  21. 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: 138
    07-10-2014, 07:48 PM Go to last post
  22. 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: 136
    07-10-2014, 02:17 AM Go to last post
  23. 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: 163
    07-09-2014, 01:01 PM Go to last post
  24. 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: 98
    07-09-2014, 03:00 AM Go to last post
  25. 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: 152
    07-09-2014, 02:53 AM Go to last post
  26. 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: 152
    07-04-2014, 09:03 AM Go to last post
  27. 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: 227
    07-04-2014, 08:32 AM Go to last post
  28. 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: 180
    07-02-2014, 01:15 PM Go to last post
  29. 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: 277
    07-02-2014, 06:51 AM Go to last post
  30. 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: 294
    07-02-2014, 05:38 AM Go to last post
  31. [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: 534
    07-01-2014, 01:54 PM Go to last post
  32. 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: 158
    06-30-2014, 11:37 PM Go to last post
  33. 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: 185
    06-29-2014, 11:21 PM Go to last post
  34. 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: 288
    06-29-2014, 11:28 AM Go to last post
  35. 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: 441
    06-28-2014, 01:38 PM Go to last post
  36. 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: 290
    06-27-2014, 12:49 PM Go to last post
  37. 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: 319
    06-24-2014, 07:21 AM Go to last post
  38. 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: 240
    06-24-2014, 12:02 AM Go to last post
  39. 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: 237
    06-23-2014, 11:57 PM Go to last post
  40. 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: 419
    06-22-2014, 08:54 PM Go to last post
  41. 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: 341
    06-22-2014, 08:13 PM Go to last post
  42. 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: 235
    06-20-2014, 02:25 PM Go to last post
  43. 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: 162
    06-20-2014, 07:27 AM Go to last post
  44. 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: 182
    06-20-2014, 12:31 AM Go to last post
  45. 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: 763
    06-19-2014, 01:42 PM Go to last post
  46. 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: 584
    06-19-2014, 12:19 PM Go to last post
  47. 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: 153
    06-19-2014, 09:34 AM Go to last post
  48. 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: 252
    06-18-2014, 03:01 PM Go to last post
  49. 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: 191
    06-18-2014, 05:07 AM Go to last post
  50. 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: 148
    06-17-2014, 10:03 PM Go to last post
  51. 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: 249
    06-17-2014, 01:55 PM Go to last post
  52. 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: 362
    06-17-2014, 06:23 AM Go to last post
  53. gregexpr negative numbers and decimals

    Dear Bots, Raptors and Humans, I've got a little issue, I'm extracting numbers from strings with the following code: textstring<-c("the...

    Started by TheEcologist‎, 06-13-2014 06:27 AM
    regexpr
    • Replies: 12
    • Views: 305
    06-16-2014, 02:49 AM Go to last post
  54. predictor vs probability plot

    Hello, I am estimating a multivariate binary logistic regression model. To interpret estimated coefficient of a continuous predictor, we usually talk...

    Started by t.wang21@yahoo.com.au‎, 06-12-2014 10:25 PM
    • Replies: 6
    • Views: 321
    06-15-2014, 10:59 PM Go to last post
  55. .First (automatic execution at start) in R and RStudio.

    If I am correct, the two platform below may be different in .First. 1) R software from http://www.r-project.org/ 2) Rstudio from...

    Started by jk90029‎, 06-14-2014 07:18 PM
    • Replies: 5
    • Views: 224
    06-14-2014, 11:49 PM Go to last post
  56. There are two R (Big BLUE colored) folders

    Dear- Without my intention at software installation, there are two separate R data folders in my windows-7 PC. 1) c:\Users\JK , where "JK"...

    Started by jk90029‎, 06-14-2014 05:56 PM
    • Replies: 3
    • Views: 184
    06-14-2014, 07:12 PM Go to last post
  57. Quantmod OHLC currency data

    Hi all, I am trying to back test a forex trading strategy but have been unable to get all the data I need. Using the R quantmod package and the...

    Started by Ash_5‎, 06-13-2014 04:47 AM
    currency, forex, ohlc, quantmod, r statistics
    • Replies: 0
    • Views: 187
    06-13-2014, 04:47 AM Go to last post
  58. the optimal cutoff score in the classification table

    Hello, I am estimating a binary logistic model (dependent variable status: 1 failed and 0 active). At the end of the following commands, I chose the...

    Started by t.wang21@yahoo.com.au‎, 06-11-2014 11:25 PM
    • Replies: 7
    • Views: 301
    06-12-2014, 09:06 PM Go to last post
  59. Cleaning panel data with multiple rows per time period

    I have a data set which has multiple rows of data per time period but some of the entries are incorrect, so I need to drop the group that is...

    Started by cruzeconomics‎, 06-10-2014 05:49 PM
    • Replies: 1
    • Views: 282
    06-12-2014, 01:11 PM Go to last post
  60. LSA package

    Hi. Someone worked/know a LSA package? I read a lot of things with this package but I have a problem that I didn't understand. I have a big...

    Started by slavia‎, 06-12-2014 12:56 PM
    • Replies: 0
    • Views: 172
    06-12-2014, 12:56 PM 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