1. 10-14-2010
+ Post New Thread
Page 1 of 51 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 3030

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 10:39 AM
    22 Pages
    1 2 3 ... 22
    • Replies: 322
    • Views: 32,331
    10-23-2014, 07:26 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
    19 Pages
    1 2 3 ... 19
    • Replies: 273
    • Views: 37,299
    10-20-2014, 10:21 AM Go to last post
  3. 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: 63
    • Views: 13,883
    08-12-2014, 06:30 PM Go to last post
  4. 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
    • Replies: 106
    • Views: 15,365
    07-17-2014, 04:31 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 09:22 AM
    7 Pages
    1 2 3 ... 7
    • Replies: 99
    • Views: 31,293
    05-22-2014, 02:07 AM 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: 4,409
    10-17-2012, 07:20 PM Go to last post
  1. Add Regular Expressions RSQLite

    So I want to add regular expressions to sqlite for queries via R. SQLite does not come with regular expressions but has keywords assigned and thus...

    Started by Lazar‎, 10-29-2014 03:15 PM
    regular expression, sql db, sqlite
    • Replies: 4
    • Views: 120
    Today, 02:12 AM Go to last post
  2. problem using ICC for inter-raters reliability

    Dear R experts and users, I have a list of 2000 words and have two groups of participants to rate the concreteness on half of the words in the...

    Started by Veda‎, Yesterday 03:53 AM
    • Replies: 0
    • Views: 45
    Yesterday, 03:53 AM Go to last post
  3. Time Series Breakout Detection with R

    Hi I am time series and I would like to do automated breakout detection on it. I have discovered techniques like MACD which are helpful in...

    Started by piyushkumar‎, 06-18-2013 01:32 PM
    breakout detection, time series
    • Replies: 1
    • Views: 440
    10-29-2014, 07:04 AM Go to last post
  4. Logistic Regression using optim() give "L-BFGS-B" error, please help

    Dear R Users/Experts, I am using a function called logitreg() originally described in MASS (the book 4th Ed.) by Venebles & Ripley, p445. I used...

    Started by ashokkrish‎, 09-29-2008 01:24 PM
    code, logistic
    • Replies: 2
    • Views: 2,803
    10-29-2014, 01:33 AM Go to last post
  5. Best way to impute NAs before PCA in R

    Hey, I have a dataset with approximately 4000 rows and 150 columns. I want to predict the values of a single column (= target). The data is on...

    Started by admiratio‎, 10-22-2014 03:58 AM
    missing values, pca, principal components
    • Replies: 9
    • Views: 335
    10-28-2014, 02:25 AM Go to last post
  6. To get a date of file in c:\

    Suppose there is a file with name a.csv. If you get the contents of the a.txt, we use a <- read.csv(file="c:\\a.csv", header=FALSE) ...

    Started by jk90029‎, 10-24-2014 01:00 PM
    • Replies: 1
    • Views: 84
    10-24-2014, 03:38 PM Go to last post
  7. function plotFit and x-axis with non-linear regression

    Hello everyone, I use R to do non-linear regression on data which follow a cosinus rule. I measure intensity of light (Raman intensity=V2) as...

    Started by Caps59‎, 10-23-2014 10:33 AM
    • Replies: 3
    • Views: 182
    10-24-2014, 07:28 AM Go to last post
  8. PCA & predict

    Hey, I've started my first R project a few days ago. Currently I'm wondering about some results. Hopefully someone can give me feedback wether the...

    Started by rstarter‎, 10-22-2014 06:20 PM
    • Replies: 0
    • Views: 146
    10-22-2014, 06:20 PM Go to last post
  9. Bullet Graph: help in figuring out how to build it

    Hi All, I would like to write a script to let R build a Bullet Graph (see attached pic). For given samples, the graph charts the means along with...

    Started by gianmarco‎, 10-17-2012 05:11 AM
    2 Pages
    1 2
    • Replies: 29
    • Views: 2,998
    10-22-2014, 04:26 PM Go to last post
  10. function for life tables (survival analysis)!?

    Dear Guys! I have a question regarding a statistical method using R: Life Tables. I know this function in SPSS. I have run it with my data. I also...

    Started by Matteo0‎, 10-21-2014 09:58 AM
    • Replies: 2
    • Views: 185
    10-21-2014, 02:45 PM Go to last post
  11. Read Date and Time using R

    I want to create a time series plot of each sensor number (SENSOR_NUM column in the attached file) with values (VALUE column in the attached file) in...

    Started by rskgautam‎, 10-20-2014 06:27 PM
    • Replies: 1
    • Views: 163
    10-20-2014, 07:00 PM Go to last post
  12. Unexpected output from BayesFactor package function, 'ttestBF'

    I'm new to Bayesian stats as well as R (my last stats class was six years ago) but I've done everything I can do get where I'm at... I am a grad...

    Started by Xenodius‎, 09-17-2014 03:02 PM
    • Replies: 9
    • Views: 480
    10-19-2014, 08:40 PM Go to last post
  13. R graph irregular time interval on x axis

    Hi, I'm trying to plot an irregular time interval. I'm attaching the plot i'm dealing with. I want to keep some space on the x-axis between year...

    Started by Machteld VDC‎, 10-17-2014 02:56 AM
    • Replies: 2
    • Views: 228
    10-19-2014, 09:56 AM Go to last post
  14. Reading csv file controlling variable as character or numeric

    Hi This is my first post. Apologies, if I am not following any rules I am new to R have prior experience into SAS only. I have been trying to...

    Started by bnarang‎, 10-18-2014 10:40 PM
    read csv
    • Replies: 2
    • Views: 201
    10-19-2014, 01:03 AM Go to last post
  15. how to remove a row in the data.frame which contain a empty element

    I have a data.frame with many empty element, and I want to remove the row with a empty element. Is there a convient way to do this like the command...

    Started by guozihuaa‎, 10-14-2014 07:04 AM
    data.frame, remove, row
    • Replies: 4
    • Views: 287
    10-17-2014, 08:49 AM Go to last post
  16. dbConnect function not found

    I have r-studio server running on a debian machine with MySQL. I installed the RMySQL package and I'm trying to establish a connection to my...

    Started by corey.short‎, 10-15-2014 06:02 PM
    • Replies: 1
    • Views: 243
    10-15-2014, 06:04 PM Go to last post
  17. LSmeans

    Hi, Sorry for the French! Let's take a second start ^^ I wish to analyze an unbalanced data set with 3 variables Tleaf, Tair, and orientation...

    Started by CupOfAppleTea‎, 10-14-2014 02:49 AM
    • Replies: 3
    • Views: 311
    10-15-2014, 04:25 PM Go to last post
  18. Question deriving the upper confidence interval limit in robust linear regression using MASS

    Since my data to some extent violates the linear regression assumptions I decided to also test the model using robust estimation limiting the...

    Started by CJW‎, 10-15-2014 12:50 AM
    confidence interval, package mass, robust linear regression
    • Replies: 0
    • Views: 266
    10-15-2014, 12:50 AM Go to last post
  19. Brunner-Munzel test troubleshooting (NaN in the output)

    I am trying to run the BM-test on two samples with heterogenous variances: A<-c(460,490,460,420,1450,1330,1130,1190,940,640)...

    Started by Igor K‎, 10-14-2014 04:09 AM
    • Replies: 2
    • Views: 292
    10-14-2014, 09:49 AM Go to last post
  20. setting covariates in glmer (fixed factors vs covariates)

    Hi everybody, i am a complete beginner in R, so please forgive me if I ask a stupid question. I ran an experiment on the effect of slowed speech...

    Started by Gela69‎, 10-14-2014 07:06 AM
    • Replies: 0
    • Views: 184
    10-14-2014, 07:06 AM Go to last post
  21. Commas in a vector not accepted

    I seek for advice as to how to overcome a following bug. R3.1.1 (windows) has trouble with accepting commas when I try to enter a vector...

    Started by Igor K‎, 10-13-2014 09:07 AM
    commas, vector entry
    • Replies: 2
    • Views: 248
    10-14-2014, 01:01 AM Go to last post
  22. Correctly running 2 stage cluster sampling in R w pps in psu(possibly w mstage pkg)

    Correctly running 2 stage cluster sampling in R w pps in psu, a different selection variable in each stage (if possibly with mstage sampling...

    Started by zscott1‎, 10-13-2014 12:07 PM
    multistage sampling, pps, pps sampling, r mstage sampling
    • Replies: 0
    • Views: 204
    10-13-2014, 12:07 PM Go to last post
  23. I need help in this problem please

    Regarding to Simulation

    Started by nmsm‎, 10-10-2014 01:03 AM
    • Replies: 2
    • Views: 309
    10-10-2014, 03:37 PM Go to last post
  24. Time-Series with UKgas

    Hello, i have a problem with the seasonal component. y <- UKgas p <- 4 if(!p%%2==1) { x <- filter(y,rep(1/p,p)) } else { x <-...

    Started by capri31‎, 10-09-2014 12:15 PM
    filter, seasonal components, time series
    • Replies: 0
    • Views: 196
    10-09-2014, 12:15 PM Go to last post
  25. Merging multiple csv files in many directory?

    Dear- We know that R/RStudio is excellent to transport (receive) csv file using read.csv(file="c:\\a.csv". header=FALSE) ********* Now...

    Started by jk90029‎, 10-08-2014 12:33 AM
    • Replies: 6
    • Views: 318
    10-09-2014, 08:37 AM Go to last post
  26. Calling Python from R

    So I am trying to call python from R so I can use beautiful soup. I have tried both >system("python myfile.py") and >library(rPython)...

    Started by Lazar‎, 10-08-2014 09:36 PM
    python, rpython
    • Replies: 3
    • Views: 259
    10-09-2014, 04:27 AM Go to last post
  27. Pre-Treatment Matching Method to Determine Who to Treat -> MatchIt?

    Dear members, I am looking for a method to find out how to build two groups out of a total of participants which should be as similiar as possible...

    Started by Niklas‎, 10-08-2014 04:01 AM
    • Replies: 5
    • Views: 302
    10-09-2014, 03:28 AM Go to last post
  28. Generate latex tables in nls.lm

    Hi everybody, I am trying to generate the latex code for tables with xtable function , but I got this error: xtable(summary(nls.out)) Error in...

    Started by sanmath‎, 10-08-2014 04:05 PM
    methods_in_r, nls.lm, xtable
    • Replies: 1
    • Views: 185
    10-08-2014, 05:04 PM Go to last post
  29. Drop1() and Summary() on lm object

    I need to analyse unbalanced data through linear regression: modJuin=lm(TleafMax~TairMax*orientation, na.action="na.exclude", data=aJuin) ...

    Started by CupOfAppleTea‎, 10-08-2014 08:14 AM
    • Replies: 1
    • Views: 235
    10-08-2014, 12:29 PM Go to last post
  30. Unhappy how to creat a data.frame with Duplicate column names

    I want to creat a data frame with the Duplicate column names, and it also contain rownams which are not Duplicate. The following is my code. X <-...

    Started by guozihuaa‎, 10-08-2014 09:52 AM
    colname, dataframe, duplicates, rownames
    • Replies: 3
    • Views: 201
    10-08-2014, 10:35 AM Go to last post
  31. Dredge in R

    Hi everyone, My knowledge in R statistical software is poor. Could eventually someone help me to understand which way I do dredge in R? How do I...

    Started by esocidae‎, 10-08-2014 07:16 AM
    aic, dredge, r software
    • Replies: 0
    • Views: 156
    10-08-2014, 07:16 AM Go to last post
  32. Power test - which one is suitable for me

    I have a group of 200 female individuals that are either infected or uninfected. The infected proportion is known at generation (G) 0 when I mixed...

    Started by jkaxford‎, 09-24-2014 01:51 AM
    binomial distribution, power, proportion
    • Replies: 1
    • Views: 206
    10-07-2014, 10:22 PM Go to last post
  33. Help with Sampling Loop

    Hey Everyone, First time poster, and somewhat of an R rookie, with a question on a sampling loop. Anyways, I am attempting to create a two...

    Started by MJWeinstein‎, 10-07-2014 10:48 AM
    • Replies: 4
    • Views: 260
    10-07-2014, 08:46 PM Go to last post
  34. Plotting decision tree (from own algorithm) - best way to visualize tree?

    Hi Talk Stats, What: I've created my own decision tree algorithm, this results in a total of n-paths which is stored in a list (hence the list...

    Started by Sweetbabyjesus‎, 10-07-2014 09:40 AM
    algorithm, decision-tree, visualization
    • Replies: 0
    • Views: 141
    10-07-2014, 09:40 AM Go to last post
  35. readShapeSpatial

    Hi All, I am trying to read into R the .shp file for Postal Areas ASGS Non ABS Structures Ed 2011 Digital Boundaries in ESRI Shapefile Format ...

    Started by Lazar‎, 10-06-2014 07:41 PM
    gis, maptools, shapfiles
    • Replies: 1
    • Views: 218
    10-07-2014, 03:42 AM Go to last post
  36. I can't subset a data frame

    Hi I'm importing a stata file with this abc<-read.dta("C:/Users/JC/Dropbox/data.dta", convert.dates=TRUE, convert.factors=TRUE, missing.type=TRUE,...

    Started by jfca283‎, 10-06-2014 08:12 AM
    • Replies: 4
    • Views: 268
    10-06-2014, 02:22 PM Go to last post
  37. Star Schema with R

    Hello, I am a Business Intelligence Consultant working on OLAP cube and slowly learning R.Apologize if my question is a bit dummy orf/and been...

    Started by vincent.diallonort‎, 09-21-2014 07:14 PM
    business intelligence, r project, star schema
    • Replies: 2
    • Views: 292
    10-06-2014, 05:13 AM Go to last post
  38. apply () function to realise a t.test in a matrix and to count the number à p.value

    I want to use apply () function to realise a t.test in a matrix and to count the number à p.value <=0.05. This is my code and the result I obtain but...

    Started by blaisehowe‎, 09-26-2014 09:46 AM
    • Replies: 4
    • Views: 585
    10-04-2014, 04:48 PM Go to last post
  39. How can I do stochastic approximation Robbins–Monro algorithm in R

    Since I can't find any package about stochastic approximation Moreover, I want to write function myself , but I don't know how can obtain...

    Started by leung991085‎, 10-03-2014 08:32 AM
    • Replies: 1
    • Views: 283
    10-04-2014, 10:20 AM Go to last post
  40. Question Symmetrical matrix

    Hi, I have a vector representing distances between cities. I have an nxn matrix looking like : Manchester Leeds London...

    Started by leejayd‎, 10-03-2014 10:19 AM
    • Replies: 7
    • Views: 213
    10-03-2014, 10:54 AM Go to last post
  41. Sumproduct from Excel to R

    Hi, Since a few weeks I'm working with R. The excersise I make are all built-up the same: first we make it in Excel and then we do exact the same...

    Started by JRM.fer1993‎, 10-03-2014 08:01 AM
    • Replies: 1
    • Views: 144
    10-03-2014, 09:06 AM Go to last post
  42. how to split data into estimation and holdout samples in R

    Hello, I am working on logistic regression and I have got two questions about estimation vs holdout samples. 1 my data ranges from 2002 to 2011...

    Started by t.wang21@yahoo.com.au‎, 10-03-2014 01:11 AM
    • Replies: 1
    • Views: 158
    10-03-2014, 01:46 AM Go to last post
  43. Having trouble with Croston Method Forecasting

    Hello, I am new to the forum. I haven't been using R that much and I am having trouble. I am trying to take a good deal of data (24 months of data...

    Started by thecroatiansensation‎, 10-02-2014 08:22 AM
    • Replies: 4
    • Views: 215
    10-02-2014, 09:44 AM Go to last post
  44. dataset containing only respondents with a given value on a variable in another datas

    Hello I was hoping you could give me a quick response to what is probably a very simple problem. I got a dataset in which one of the variables is...

    Started by MRAB‎, 10-02-2014 01:48 AM
    • Replies: 0
    • Views: 158
    10-02-2014, 01:48 AM Go to last post
  45. step-by-step guide to build a package in R

    Hello, I was looking for a good step-by-step guide to build a package in R. I have made a search on the Web and YouTube and I have found something,...

    Started by gianmarco‎, 09-16-2014 02:25 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 684
    09-30-2014, 03:56 PM Go to last post
  46. Exclamation R code for generating 1000 pairs (U1,U2) of uniform (0,1) RV's.

    Hi could someone help out with the code for generation 1000 pairs (U1,U2) of uniform (0,1) RV's. @Dason

    Started by Roon1‎, 09-24-2014 02:32 PM
    • Replies: 3
    • Views: 376
    09-27-2014, 03:50 PM Go to last post
  47. Unhappy how to do simulation of regression data..somebody please help

    i am currently doing my masters degree and i want to simulate regression data of many variables..let say p=10..how can i do that in R? i want to...

    Started by nhidayah‎, 11-08-2012 11:30 AM
    • Replies: 4
    • Views: 1,454
    09-26-2014, 07:16 AM Go to last post
  48. ordinal and mediation package in R

    Hi All, So I am working on a problem at the moment in which I have an outcome y that is ordinal (4 categories) and a mediator (M) and a predictor...

    Started by Lazar‎, 09-25-2014 07:49 PM
    • Replies: 5
    • Views: 256
    09-25-2014, 10:03 PM Go to last post
  49. Multiply lists

    x<-c(0:3)*7 y<-c(1:2) x+y Result: 1 9 15 23 Desired result: 1,2,8,9,15,16,22,23 How can I accomplish the desired result?

    Started by toothpicky‎, 09-24-2014 01:31 PM
    • Replies: 2
    • Views: 180
    09-24-2014, 02:10 PM Go to last post
  50. Is there win32com client in R/Rstudio? like Python

    Dear- In case we like to connect to stock Trading server, like brokerage firm, I heard that COM (win32com) may give us good and fast way to...

    Started by jk90029‎, 09-23-2014 09:12 AM
    • Replies: 2
    • Views: 192
    09-23-2014, 11:01 PM Go to last post
  51. Inverting matrix in Armadillo

    So I have a problem inverting a matrix using packages Rcpp and RcppArmadillo. I would like to know if someone else could reproduce the error: ...

    Started by JesperHP‎, 09-22-2014 05:28 PM
    • Replies: 7
    • Views: 261
    09-23-2014, 08:31 PM Go to last post
  52. [SOLVED] Help a novice day. Have you helped a novice today?

    So anyway, this plot is awesome. http://www.datapointed.net/2012/02/san-francisco-rain-year-before-after-valentines-day/ I emailed the...

    Started by bugman‎, 09-15-2014 07:40 PM
    2 Pages
    1 2
    • Replies: 15
    • Views: 739
    09-22-2014, 07:32 PM Go to last post
  53. Simple probability in R

    Hello, newbie here. I have just started with R and am having trouble with how to enter a seemingly very simple probability question in R. The...

    Started by bl16‎, 09-22-2014 02:19 PM
    probability help, r code help
    • Replies: 0
    • Views: 183
    09-22-2014, 02:19 PM Go to last post
  54. Labelling data points in xyplot

    Hello R friends, I am trying to add label to each of my datapoints in an xyplot which has two Y-axis. When I run my code with only 1 xyplot...

    Started by biobee‎, 09-22-2014 02:17 PM
    • Replies: 0
    • Views: 156
    09-22-2014, 02:17 PM Go to last post
  55. MultiTasking in R/Rstudio?

    Dear- I remember that in BSD UNIX, we can use >>> run A && to run script A and at the same time(while A is running) we can use console for...

    Started by jk90029‎, 09-22-2014 02:13 AM
    • Replies: 2
    • Views: 193
    09-22-2014, 10:40 AM Go to last post
  56. reshape outcome in r

    Dear All, df<-data.frame( ID=rep(c("a","b"), c(3,4)), turn_over=c(1,2,3,4,5,6,7) ) f=function(x){ k=median(x) z=mean(x)

    Started by masarimk‎, 09-22-2014 08:07 AM
    • Replies: 1
    • Views: 148
    09-22-2014, 08:55 AM Go to last post
  57. Histogram comparisons in R

    Let's say I want to compare the number of sold units of two companies. From my manager I have received two histograms (one per company) that holds...

    Started by user41223‎, 09-22-2014 04:37 AM
    • Replies: 0
    • Views: 140
    09-22-2014, 04:37 AM Go to last post
  58. 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: 4
    • Views: 4,930
    09-22-2014, 04:32 AM Go to last post
  59. Market basket analysis output

    i have a transaction table ..with sample 5 prior purchases and i run arules on these transaction.and generate rules. I want to run my arules for...

    Started by vishal2410‎, 09-19-2014 10:20 AM
    • Replies: 2
    • Views: 201
    09-19-2014, 11:05 AM Go to last post
  60. Base R: add points() in a loop defined by group

    Dear all, I am looking for a way to generate different plots in base R with adding points and lines manually to the plot. Here is my sample data:...

    Started by redshoe‎, 09-19-2014 06:19 AM
    base_r, loop, plot, points
    • Replies: 0
    • Views: 139
    09-19-2014, 06:19 AM Go to last post

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