1. 10-14-2010
    Views:
    17,837
+ 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 3026

Forum: R

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

  1. 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: 36,939
    10-20-2014, 10:21 AM 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 05:08 AM
    5 Pages
    1 2 3 ... 5
    • Replies: 63
    • Views: 13,743
    08-12-2014, 06:30 PM 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 09:41 AM
    8 Pages
    1 2 3 ... 8
    news
    • Replies: 106
    • Views: 15,192
    07-17-2014, 04:31 PM Go to last post
  4. 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: 31,851
    06-18-2014, 04:13 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
    information
    • Replies: 99
    • Views: 31,106
    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,356
    10-17-2012, 07:20 PM Go to last post
  1. 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‎, Yesterday 06:20 PM
    • Replies: 0
    • Views: 67
    Yesterday, 06:20 PM Go to last post
  2. 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‎, Yesterday 03:58 AM
    missing values, pca, principal components
    • Replies: 5
    • Views: 135
    Yesterday, 05:16 PM Go to last post
  3. 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,899
    Yesterday, 04:26 PM Go to last post
  4. 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: 127
    10-21-2014, 02:45 PM Go to last post
  5. 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: 100
    10-20-2014, 07:00 PM Go to last post
  6. 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: 428
    10-19-2014, 08:40 PM Go to last post
  7. 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: 183
    10-19-2014, 09:56 AM Go to last post
  8. 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: 162
    10-19-2014, 01:03 AM Go to last post
  9. 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: 249
    10-17-2014, 08:49 AM Go to last post
  10. 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: 205
    10-15-2014, 06:04 PM Go to last post
  11. 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: 269
    10-15-2014, 04:25 PM Go to last post
  12. 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: 215
    10-15-2014, 12:50 AM Go to last post
  13. 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: 233
    10-14-2014, 09:49 AM Go to last post
  14. 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: 141
    10-14-2014, 07:06 AM Go to last post
  15. 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: 205
    10-14-2014, 01:01 AM Go to last post
  16. 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: 160
    10-13-2014, 12:07 PM Go to last post
  17. I need help in this problem please

    Regarding to Simulation

    Started by nmsm‎, 10-10-2014 01:03 AM
    • Replies: 2
    • Views: 273
    10-10-2014, 03:37 PM Go to last post
  18. 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: 167
    10-09-2014, 12:15 PM Go to last post
  19. 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: 286
    10-09-2014, 08:37 AM Go to last post
  20. 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: 232
    10-09-2014, 04:27 AM Go to last post
  21. 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: 272
    10-09-2014, 03:28 AM Go to last post
  22. 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: 158
    10-08-2014, 05:04 PM Go to last post
  23. 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: 212
    10-08-2014, 12:29 PM Go to last post
  24. 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: 170
    10-08-2014, 10:35 AM Go to last post
  25. 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: 128
    10-08-2014, 07:16 AM Go to last post
  26. 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: 188
    10-07-2014, 10:22 PM Go to last post
  27. 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: 236
    10-07-2014, 08:46 PM Go to last post
  28. 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: 122
    10-07-2014, 09:40 AM Go to last post
  29. 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: 194
    10-07-2014, 03:42 AM Go to last post
  30. 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: 251
    10-06-2014, 02:22 PM Go to last post
  31. 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: 274
    10-06-2014, 05:13 AM Go to last post
  32. 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: 557
    10-04-2014, 04:48 PM Go to last post
  33. 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: 256
    10-04-2014, 10:20 AM Go to last post
  34. 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
    matrix
    • Replies: 7
    • Views: 197
    10-03-2014, 10:54 AM Go to last post
  35. 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: 130
    10-03-2014, 09:06 AM Go to last post
  36. 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: 139
    10-03-2014, 01:46 AM Go to last post
  37. 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: 194
    10-02-2014, 09:44 AM Go to last post
  38. 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: 141
    10-02-2014, 01:48 AM Go to last post
  39. 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: 649
    09-30-2014, 03:56 PM Go to last post
  40. 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
    • Replies: 1
    • Views: 2,730
    09-30-2014, 07:37 AM Go to last post
  41. 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: 348
    09-27-2014, 03:50 PM Go to last post
  42. 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,438
    09-26-2014, 07:16 AM Go to last post
  43. 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: 239
    09-25-2014, 10:03 PM Go to last post
  44. 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: 165
    09-24-2014, 02:10 PM Go to last post
  45. 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: 174
    09-23-2014, 11:01 PM Go to last post
  46. 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: 239
    09-23-2014, 08:31 PM Go to last post
  47. [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: 700
    09-22-2014, 07:32 PM Go to last post
  48. 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: 164
    09-22-2014, 02:19 PM Go to last post
  49. 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: 136
    09-22-2014, 02:17 PM Go to last post
  50. 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: 176
    09-22-2014, 10:40 AM Go to last post
  51. 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: 132
    09-22-2014, 08:55 AM Go to last post
  52. 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: 123
    09-22-2014, 04:37 AM Go to last post
  53. 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,667
    09-22-2014, 04:32 AM Go to last post
  54. 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: 181
    09-19-2014, 11:05 AM Go to last post
  55. 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: 120
    09-19-2014, 06:19 AM Go to last post
  56. Calculating effect size with interaction term

    If I am running multiple regression in r, what is the next step in order to get the effect size for all variables when there's also an interaction...

    Started by bcrider‎, 09-18-2014 03:11 PM
    effect size, interaction, r program, regression
    • Replies: 1
    • Views: 195
    09-19-2014, 03:13 AM Go to last post
  57. R: lines() and points() solution in multiple plots separated by groups

    I am relatively new to R and I am trying to do the following. I am looking for a way to generate single plots defined by group (based on the ID)....

    Started by redshoe‎, 09-19-2014 02:27 AM
    base_r, data.frame, lines, plot, points
    • Replies: 0
    • Views: 129
    09-19-2014, 02:27 AM Go to last post
  58. Desnsity weighted average between two quantiles (normal distribution)

    Hello! I want to calculate the density weighted aqverage between two quantiles. For instance I can calculate the quantiles of the normal...

    Started by consuli‎, 09-15-2014 04:37 PM
    • Replies: 1
    • Views: 181
    09-17-2014, 03:34 PM Go to last post
  59. how to thicken a line on ggplot2?

    hi! question, i'm trying to do a basic density plot on ggplot2 on which i want to overlay a normal distribution curve. the problem i have is...

    Started by spunky‎, 09-16-2014 04:15 PM
    • Replies: 3
    • Views: 195
    09-16-2014, 06:28 PM Go to last post
  60. Batch Forecast Multiple SKU's - Help

    Hello, I am new to R and ran a few tutorials on how to run a forecast for 1 SKU. I have also read this: ...

    Started by audan2009‎, 09-16-2014 04:02 PM
    batch forecast, forecasting
    • Replies: 2
    • Views: 159
    09-16-2014, 04:33 PM 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