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

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
    25 Pages
    1 2 3 ... 25
    • Replies: 360
    • Views: 125,230
    10-15-2016, 12:15 PM 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
    7 Pages
    1 2 3 ... 7
    • Replies: 97
    • Views: 50,085
    10-11-2016, 11:42 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
    • Replies: 110
    • Views: 48,511
    10-05-2016, 07:33 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
    20 Pages
    1 2 3 ... 20
    • Replies: 286
    • Views: 113,253
    09-13-2016, 03:35 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: 100
    • Views: 62,273
    04-14-2016, 01:02 PM Go to last post
  6. 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 12:38 AM
    • Replies: 1
    • Views: 2,796
    02-02-2016, 04:41 PM Go to last post
  7. 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: 1
    • Views: 13,192
    06-04-2015, 08:01 AM Go to last post
  1. Lightbulb Statistical analysis and playing around with incidence rates

    Dear TalkStats Members, I am a bloody noob to R (used SPSS till now) and decided to learn R now. My first quest would be following: I have...

    Started by AAWWR-Mike‎, Today 03:57 AM
    disease, incidence rate, linear regression, predictive analysis, projection
    • Replies: 0
    • Views: 47
    Today, 03:57 AM Go to last post
  2. displaying annotations close to axes in scatterplots

    Dear All, as per title, I was wondering if you have ever come across any method to put annotations (I hope this is the right word) near the axes in...

    Started by gianmarco‎, 10-19-2016 01:05 PM
    • Replies: 2
    • Views: 108
    Today, 03:15 AM Go to last post
  3. Smile install RHadoop

    Hello, hello to everyone! I would like to ask you a question: I am installing RHadoop of Cloudera, but R does not make me install the packages I...

    Started by Claudia14‎, Today 02:26 AM
    • Replies: 0
    • Views: 43
    Today, 02:26 AM Go to last post
  4. Reading in SAS files

    Hi All, I have a bunch of SAS data files I need to read into R that were created a long time ago. The bdat files work fine but I am having...

    Started by Lazar‎, 10-19-2016 06:27 PM
    • Replies: 8
    • Views: 149
    Yesterday, 08:53 PM Go to last post
  5. changing the default color in a ggplot2 heat map-like plot

    I have a data frame called "test2" that has 3 columns: position, length and intensity. I want to make a plot with position on the x axis, length on...

    Started by efoss‎, Yesterday 10:54 AM
    • Replies: 3
    • Views: 111
    Yesterday, 05:59 PM Go to last post
  6. problem with decision tree using rpart: "fit is not a tree, just a root"

    I'm doing very basic decision tree practice, but I"m having trouble getting my tree to output. I'm using the rpart function for this. It's an...

    Started by semidevil‎, 10-07-2016 03:11 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 573
    10-19-2016, 01:17 PM Go to last post
  7. Issue with the ISRL data sets

    Hello everyone, I recently started to read that book (An Introduction to Statistical Learning with Applications in R). Has anyone encountered...

    Started by LongHalloween‎, 10-19-2016 11:52 AM
    • Replies: 0
    • Views: 71
    10-19-2016, 11:52 AM Go to last post
  8. R geosphere package: unit of distance

    Hello dear forum members, I have the following question in relationship to R geosphere package: So, as per package description...

    Started by kiton‎, 10-18-2016 11:20 AM
    distance unit, geosphere
    • Replies: 2
    • Views: 91
    10-18-2016, 11:46 AM Go to last post
  9. Question regarding generating graphics using ggplot2

    I have two problems, but I'll start with the first one: (I have a picture of what the outcomes are supposed to look like, but sadly I cannot post...

    Started by DV Man‎, 10-17-2016 06:16 PM
    • Replies: 5
    • Views: 201
    10-18-2016, 08:52 AM Go to last post
  10. Root node has 3 options, but 2 branches?"

    Using the rpart package, I created a decision tree describing credit default, based on various characteristics. When I tree my data, credit...

    Started by semidevil‎, 10-14-2016 09:34 PM
    • Replies: 2
    • Views: 111
    10-15-2016, 10:44 AM Go to last post
  11. A Function that creates function into a list

    Hi, I am new to R. I have this code from my programming assignment: makeVector <- function(x = numeric()) { m <- NULL set...

    Started by Apple1‎, 10-09-2016 06:10 AM
    • Replies: 3
    • Views: 188
    10-15-2016, 07:39 AM Go to last post
  12. CEM using R

    Hi everybody, I need to build a matched control sample of non-financial fraud firms through CEM. I need to identify a sample of matched control...

    Started by paola.ancona‎, 10-14-2016 03:58 PM
    cem r
    • Replies: 0
    • Views: 76
    10-14-2016, 03:58 PM Go to last post
  13. Apply ARIMA model to a time series - fit the model to past observations

    I am trying to make a forecast starting from a time series with monthly observations. After creating the time series in R, I applied auto.arima()...

    Started by Mark_‎, 10-13-2016 08:35 AM
    • Replies: 3
    • Views: 132
    10-13-2016, 01:46 PM Go to last post
  14. Spearman's Correlation and p-Value

    Hi there! I have a dataset of n=100 and I wanted to test the correlation of 4 performance metrics. I use the spearman correlation since the data...

    Started by leomessi178‎, 10-12-2016 07:55 AM
    • Replies: 0
    • Views: 112
    10-12-2016, 07:55 AM Go to last post
  15. Wilcoxon Rank Sum

    Hey Guys I know how to do the wilcoxon rank sum test (>wilcox.test(x,y)). However, I have a hard time finding the sums of the ranks. Does anyone...

    Started by leomessi178‎, 10-11-2016 10:30 AM
    • Replies: 4
    • Views: 96
    10-11-2016, 11:01 AM Go to last post
  16. Error in assignment maximizing minimal quality in R language from the book example

    I was trying run the example given in the textbook named "Modeling and Solving Linear Programming with R" the link to the textbook can be found in...

    Started by jsmiranda‎, 10-11-2016 01:35 AM
    • Replies: 0
    • Views: 88
    10-11-2016, 01:35 AM Go to last post
  17. Apply formula to several files

    Hello everyone, I am a beginner in R. In order to verify my data files (which are tables with values separated by spaces in .txt files), I wanr...

    Started by fanfanus‎, 10-10-2016 12:21 PM
    • Replies: 2
    • Views: 132
    10-10-2016, 01:28 PM Go to last post
  18. Caching the mean of a Vector in R

    Hi, I am trying to learn R, and the below is an example code of a programming assignment. I don't quite understand how it works. after...

    Started by Apple1‎, 10-09-2016 01:11 AM
    • Replies: 0
    • Views: 122
    10-09-2016, 01:11 AM Go to last post
  19. Trouble specifying correlation matrix in rjags

    Hi All, EDIT: Will cross-post on the BUGS mailing list but would like to hear your answers as that board is pretty quite. So I have data as in...

    Started by Lazar‎, 01-02-2014 10:27 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 3,470
    10-08-2016, 01:28 PM Go to last post
  20. Simulate Ar(1) process with different y0 values and uniform distribution

    I need to plot an Ar(1) graph for the process yk = 0.75yk-1 + ek. for y0=1 and another graph for y0=10. assume ek is uniformly distributed on...

    Started by ash369ster‎, 10-08-2016 12:38 PM
    ar(1), r language, r studio, time-series
    • Replies: 0
    • Views: 130
    10-08-2016, 12:38 PM Go to last post
  21. strange plot

    Hi. Im trying to do a plot to relate a categorical variable: city to a numeric variable: response time. Im doing with this command:...

    Started by oscarr‎, 10-07-2016 05:07 PM
    • Replies: 4
    • Views: 173
    10-07-2016, 08:25 PM Go to last post
  22. Excluding the effect of one of two factors

    Hello, My Name is Maya and I am new to this forum, and my skills in statistics are relatively basic. I hope you will excuse my poor English, as it is...

    Started by MajaEdlund‎, 10-06-2016 02:24 AM
    • Replies: 3
    • Views: 192
    10-06-2016, 11:07 PM Go to last post
  23. Compliling error: fPortfolio R Package

    I am trying to build an efficient frontier using fPortfolio R Package (R3.3.1 and fPortfolio 3011.81). But launching...

    Started by douglasswm‎, 10-06-2016 03:16 AM
    r programing
    • Replies: 0
    • Views: 113
    10-06-2016, 03:16 AM Go to last post
  24. Plots to different charts

    Hi! My situation is very much the same as in this image http://www.nature.com/bmt/journal/v40/n4/fig_tab/1705727f1.html#figure-title I am...

    Started by obruck‎, 08-31-2016 03:03 AM
    • Replies: 10
    • Views: 404
    10-06-2016, 02:48 AM Go to last post
  25. Mutating to add new columns

    I am looking for the highest average BasePay, and have this data: > q<-select(salaryDF, JobTitle:BasePay) > q # A tibble: 111,490 2 ...

    Started by DV Man‎, 10-03-2016 05:40 PM
    • Replies: 13
    • Views: 352
    10-05-2016, 12:22 PM Go to last post
  26. Loss-Alae

    Hi Guys I'm working on 800 bivariate data. ( loss & Expense) . I've found fitted distribution which was Pareto. I also worked on Copula to find the...

    Started by Zore‎, 10-05-2016 04:50 AM
    • Replies: 0
    • Views: 90
    10-05-2016, 04:50 AM Go to last post
  27. Exclamation markov chain monte carlo interpretation

    Hi gentlemen, I would like to know how to interpret the best chain/model to apply the analysis.

    Started by pjord28‎, 10-03-2016 04:37 PM
    • Replies: 0
    • Views: 122
    10-03-2016, 04:37 PM Go to last post
  28. Ordering a variable by frequency in the dplyr package

    I want to find the sixth most job title in my data frame. Here is the head() of the data frame, q. > head(q) # A tibble: 6 13 Id ...

    Started by DV Man‎, 10-02-2016 12:23 PM
    • Replies: 3
    • Views: 164
    10-03-2016, 10:31 AM Go to last post
  29. defining a rectangular function in R

    I am having some trouble translating mathlab code into r. As much as I have tried to google how to define a rectangular function, I have been unable....

    Started by the42up‎, 09-30-2016 10:39 AM
    • Replies: 1
    • Views: 207
    10-02-2016, 04:49 PM Go to last post
  30. help with interpreting decision trees

    I'm trying to learn decision trees, but am not understanding how to interpret decision trees. I'm using the basic titanic data from gaggle (picture...

    Started by semidevil‎, 09-23-2016 03:43 PM
    • Replies: 7
    • Views: 364
    10-02-2016, 07:33 AM Go to last post
  31. Need help in Vlookup in R

    I have an excel file in which I have 2 columns Index and Date. In the second sheet I have 4 columns Index,name,startdate and enddate. I want to...

    Started by shivamsarin‎, 09-30-2016 12:14 AM
    • Replies: 1
    • Views: 136
    09-30-2016, 09:41 AM Go to last post
  32. Portfolio Optimization (tseries) package

    I'm trying to install the tseries package in order to perform a portfolio optimization exercise but R won't let me load it on my PC. When I run the...

    Started by greg6363‎, 09-29-2016 10:55 PM
    • Replies: 2
    • Views: 145
    09-30-2016, 05:31 AM Go to last post
  33. Tough homework question I need help getting started on

    Hey everyone, I was given this problem, and truly haven't a clue where to begin. Now I know that here at Talk Stats, free answers aren't just given...

    Started by DV Man‎, 09-26-2016 12:49 PM
    2 Pages
    1 2
    • Replies: 25
    • Views: 520
    09-27-2016, 05:53 PM Go to last post
  34. adding actual values near dots in a dotplot

    Hello, I have put toghether the following piece of code to do a dotplot displaying the coefficients and 95% CI from a fitted Logistic Regression...

    Started by gianmarco‎, 09-26-2016 01:14 PM
    • Replies: 2
    • Views: 131
    09-26-2016, 01:28 PM Go to last post
  35. Character in Function

    Hi, I am new to R. I don't understand why code 1 works ,but Code 2 doesn't. The moment I assign a name to the dataset, the function fails. Thanks...

    Started by Apple1‎, 09-24-2016 02:21 AM
    • Replies: 4
    • Views: 279
    09-26-2016, 12:14 PM Go to last post
  36. Create logical argument to form Matrix in R

    Hi stats lovers! I am fairly at a beginners level in R Studio and I wonder if someone can help me out. I have created this simple dataframe to...

    Started by Fountainhead‎, 09-26-2016 05:42 AM
    • Replies: 0
    • Views: 130
    09-26-2016, 05:42 AM Go to last post
  37. New user need help figuring out my script

    Hello, thank you for taking time on this. Im trying to analyse some data and im stuck. Im new to R but eager to learn. What i want to show is...

    Started by jbander1985‎, 09-24-2016 03:57 PM
    • Replies: 0
    • Views: 163
    09-24-2016, 03:57 PM Go to last post
  38. String in Function argument

    I just want to write a function that read a csv file in different folders: opencsv <- function (x) { read.csv("x/001.csv") } So when the...

    Started by Apple1‎, 09-18-2016 06:43 AM
    • Replies: 3
    • Views: 207
    09-24-2016, 02:34 AM Go to last post
  39. R package: install dependencies recursively

    I'm trying to install an R package from Github using devtools (more precisely, install_github). But, even if a I set the parameter dependencies to...

    Started by Talitha‎, 09-22-2016 04:18 PM
    devtools, r-package
    • Replies: 2
    • Views: 207
    09-23-2016, 09:51 AM Go to last post
  40. Problem in understanding the logic of the question

    Hi I have a data set of customer.csv that has all the details of the customer the question is Calculatte % of sales by each last city,state and...

    Started by rishabh13‎, 09-21-2016 05:43 PM
    • Replies: 0
    • Views: 176
    09-21-2016, 05:43 PM Go to last post
  41. Comparison of different normality tests

    Hi Everyone, I'm a student and have to write a paper in which I compare different tests for normality like the Jarque-Bera-Test, Anderson...

    Started by StDre‎, 09-20-2016 06:41 AM
    • Replies: 6
    • Views: 350
    09-20-2016, 02:05 PM Go to last post
  42. null models mpd/mntd community data

    hi I am trying to run a null model for some community data and am recieving the same error repeatedly and have been unable to figure it out. i...

    Started by wyzen‎, 09-19-2016 06:15 AM
    assemblages, null models, rstudio
    • Replies: 0
    • Views: 172
    09-19-2016, 06:15 AM Go to last post
  43. Find the mean of a csv file

    After reading in a csv file, I want to find the mean of a variable, I used the below code: mean ("sales", na.rm=T) but the warning message: ...

    Started by Apple1‎, 09-18-2016 07:38 AM
    • Replies: 2
    • Views: 203
    09-18-2016, 09:37 AM Go to last post
  44. For Loop with File Name

    I want to read in files named 001, 002,....010,...,100... But the below code doesn't work, I want my id not to have the leading 0. Thank you ...

    Started by Apple1‎, 09-18-2016 07:58 AM
    • Replies: 0
    • Views: 144
    09-18-2016, 07:58 AM Go to last post
  45. Error: unexpected '}' in "}"

    Hi, I am really new to R, and am testing it out. i tried creating a simple If loop, but I get the following errors: a) Error: unexpected '{' in...

    Started by Apple1‎, 09-18-2016 01:53 AM
    • Replies: 2
    • Views: 142
    09-18-2016, 06:39 AM Go to last post
  46. Adding lines to ggplot2 plot....?

    Hi! So, question about ggplot. I have data that looks like this: id time comm 7339 18 15 7716 60 30 8051 54 60 8051 60 20...

    Started by spunky‎, 09-15-2016 11:16 AM
    • Replies: 11
    • Views: 615
    09-16-2016, 02:52 PM Go to last post
  47. How to extend a vector to a matrix in R?

    I have a row vector v and I would like to get a matrix A whose rows are the same and equal to v. How can I carry out it? Thank you for the answer!...

    Started by tobiroli‎, 09-14-2016 08:28 AM
    vectors matrices
    • Replies: 1
    • Views: 217
    09-14-2016, 08:36 AM Go to last post
  48. Storing /Appending results of do loop into a data frame

    Hi all: I'm fairly new to R-programming (for data management and programming), and I'm wondering how I would do the following operation. I have...

    Started by jamesmartinn‎, 09-14-2016 07:03 AM
    • Replies: 5
    • Views: 202
    09-14-2016, 08:18 AM Go to last post
  49. R studio No memory available

    Hi all, I was doing some calculations in R studio and up to now everything worked fine. Out of a sudden however I'm getting the error message "no...

    Started by summit cross‎, 09-13-2016 08:20 AM
    • Replies: 2
    • Views: 150
    09-13-2016, 08:42 AM Go to last post
  50. statconnDCOM connector

    Hello, I try to create a connection between R and an other software by using the R connector: statconnDCOM but it dosen't work. Under R 3.1.0 I...

    Started by gammoudi‎, 09-12-2016 02:40 PM
    • Replies: 0
    • Views: 167
    09-12-2016, 02:40 PM Go to last post
  51. How to find trailing and leading words of a word using R?

    I have a text document which has a million words. Now, I need to know how to find trailing and leading words of a word using R. For example, If I...

    Started by mathan_leo‎, 09-11-2016 08:49 AM
    r-script, text-mining
    • Replies: 4
    • Views: 230
    09-12-2016, 01:30 AM Go to last post
  52. Connection between R and qlikview with opencpu

    Hello, I want to create connection between R and QlikView using 'opencpu' package R. I've seen some examples but I did not understand how to use the...

    Started by gammoudi‎, 09-11-2016 02:43 PM
    opencpu, qlikview
    • Replies: 0
    • Views: 173
    09-11-2016, 02:43 PM Go to last post
  53. Help with (what will be to you) easy matrix multiplication in R

    I was given this problem: Please execute the following R code: set.seed(111) vector1 = sample(1:10,9,replace=TRUE) vector2 =...

    Started by DV Man‎, 09-10-2016 12:42 PM
    • Replies: 3
    • Views: 222
    09-10-2016, 05:02 PM Go to last post
  54. R Studio Markdown text formating

    hello there! I am using R studio with R markdown (converting the report to html website). I have one question and I am quite suprised that I...

    Started by Lukasz_‎, 09-10-2016 10:28 AM
    rmarkdown, rstudio
    • Replies: 2
    • Views: 184
    09-10-2016, 04:23 PM Go to last post
  55. Problems loading R-commander

    Hi all, I'm using Windows 7 and currently having problem loading R-commander. I tried installing it using the following commands: ...

    Started by miyii‎, 07-28-2015 02:24 AM
    • Replies: 11
    • Views: 3,119
    09-09-2016, 05:32 PM Go to last post
  56. How to extract/import a PDF table in a data frame?

    To extract a PDF table in R I have used the pdftools package: library(pdftools) txt <- pdf_text("Downloads/Bac-2016.pdf") The extracted table...

    Started by flegmatiq‎, 09-08-2016 12:32 PM
    • Replies: 1
    • Views: 237
    09-08-2016, 10:02 PM Go to last post
  57. Create Wheel of Life graph in R with 3 parameters

    Hi all R-lovin' criminals! I am a beginner with making graphs in R and I was wondering if one of you has a creative solution to make a Wheel of...

    Started by Fountainhead‎, 08-08-2016 03:47 AM
    • Replies: 9
    • Views: 689
    09-08-2016, 04:19 AM Go to last post
  58. Finding Runs for Consecutive Ones

    Hi, I am new to programming. Sorry for the basic question. I came across this code to find runs for consecutive ones for the vector...

    Started by UserR‎, 09-07-2016 03:05 PM
    r language
    • Replies: 3
    • Views: 234
    09-07-2016, 10:21 PM Go to last post
  59. issue in unstacking a dataset when number of observations per factor is unequal

    Hello! I have a dataframe (appended), with one column containing some measurements, and a second column containing a grouping variable (2...

    Started by gianmarco‎, 09-03-2016 11:43 AM
    • Replies: 3
    • Views: 273
    09-04-2016, 07:59 AM Go to last post
  60. Boxplot help

    Hi, I want to represent a boxplot. I have a table with 10 variables (9 are parameters and the last one is the class). I have two classes and ten...

    Started by mikelV‎, 09-03-2016 04:12 AM
    • Replies: 9
    • Views: 318
    09-03-2016, 06:46 AM Go to last post

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