1. 10-14-2010
    Views:
    28,595
+ Post New Thread
Page 1 of 65 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 3870

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
    20 Pages
    1 2 3 ... 20
    • Replies: 286
    • Views: 110,014
    09-13-2016, 03:35 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
    6 Pages
    1 2 3 ... 6
    • Replies: 89
    • Views: 48,325
    08-25-2016, 05:19 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: 109
    • Views: 47,003
    08-23-2016, 09:27 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
    24 Pages
    1 2 3 ... 24
    • Replies: 357
    • Views: 120,913
    08-12-2016, 11:55 AM 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: 100
    • Views: 60,948
    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,581
    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: 12,900
    06-04-2015, 08:01 AM Go to last post
  1. 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‎, Yesterday 02:21 AM
    • Replies: 3
    • Views: 114
    Yesterday, 09:40 PM Go to last post
  2. 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‎, Yesterday 03:57 PM
    • Replies: 0
    • Views: 68
    Yesterday, 03:57 PM Go to last post
  3. 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: 121
    Yesterday, 02:34 AM Go to last post
  4. 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: 2
    • Views: 98
    09-23-2016, 06:06 PM Go to last post
  5. 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: 122
    09-23-2016, 09:51 AM Go to last post
  6. 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: 104
    09-21-2016, 05:43 PM Go to last post
  7. 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: 8
    • Views: 224
    09-21-2016, 06:12 AM Go to last post
  8. 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: 104
    09-19-2016, 06:15 AM Go to last post
  9. 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: 139
    09-18-2016, 09:37 AM Go to last post
  10. 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: 84
    09-18-2016, 07:58 AM Go to last post
  11. 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: 65
    09-18-2016, 06:39 AM Go to last post
  12. 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: 362
    09-16-2016, 02:52 PM Go to last post
  13. 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: 138
    09-14-2016, 08:36 AM Go to last post
  14. 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: 129
    09-14-2016, 08:18 AM Go to last post
  15. 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: 90
    09-13-2016, 08:42 AM Go to last post
  16. 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: 103
    09-12-2016, 02:40 PM Go to last post
  17. 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: 151
    09-12-2016, 01:30 AM Go to last post
  18. 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: 106
    09-11-2016, 02:43 PM Go to last post
  19. 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: 150
    09-10-2016, 05:02 PM Go to last post
  20. 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: 126
    09-10-2016, 04:23 PM Go to last post
  21. 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: 2,811
    09-09-2016, 05:32 PM Go to last post
  22. 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: 162
    09-08-2016, 10:02 PM Go to last post
  23. 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: 571
    09-08-2016, 04:19 AM Go to last post
  24. 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: 166
    09-07-2016, 10:21 PM Go to last post
  25. 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: 211
    09-04-2016, 07:59 AM Go to last post
  26. 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: 211
    09-03-2016, 06:46 AM Go to last post
  27. Loop over folder files

    Hi Im a bit lost. I need to perform a simple tabulate(sex and age) over some files. I wrote this: fuente=list.files("C:/Users/Me/",...

    Started by jfca283‎, 08-22-2016 11:58 AM
    • Replies: 1
    • Views: 178
    09-02-2016, 03:00 PM Go to last post
  28. R Markdown Install Package

    Hi all, Using R Studio Version 0.99.902, R 3.3.1, Windows 10. Complete noob, trying to create first R Markdown file. I created a new project...

    Started by goss‎, 09-02-2016 09:01 AM
    • Replies: 0
    • Views: 106
    09-02-2016, 09:01 AM Go to last post
  29. marginal effects at sample mean

    So I have fit a negative binomial model with the lme4 so glmer.nb function. So I have the results fine. The question then is how to get marginal...

    Started by Lazar‎, 06-11-2015 06:32 PM
    • Replies: 1
    • Views: 552
    09-02-2016, 06:03 AM Go to last post
  30. 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: 7
    • Views: 204
    09-01-2016, 08:10 AM Go to last post
  31. Multiple Linear Regression (Actual Vs Predicted)

    Hi forum, I am new to statistics and R in general so please bear with me if I am not clear enough. So I am generating a 3 level full factorial...

    Started by anonake‎, 08-31-2016 07:33 AM
    • Replies: 7
    • Views: 229
    08-31-2016, 02:38 PM Go to last post
  32. plotting multiple trends from multiple groups in ggplot?

    hi! so i have an issue about how to plot multiple trends from various groups in ggplot. behold a snapshot of my dataset which i called "dat": ...

    Started by spunky‎, 08-30-2016 05:41 PM
    • Replies: 3
    • Views: 153
    08-30-2016, 09:34 PM Go to last post
  33. How to keep the names variable in a data frame?

    What's up everyone. I have this data frame: leaders leaders Name Team PA 1 David Ortiz ...

    Started by DV Man‎, 08-24-2016 02:04 PM
    • Replies: 7
    • Views: 243
    08-25-2016, 02:41 PM Go to last post
  34. Fastest database format for reading and working

    Hi I have some databases (80) in stata 13 format. The package "haven" takes like 14 seconds for opening a .dta file. Read_dta13 a bit less. 11...

    Started by jfca283‎, 08-24-2016 11:33 AM
    • Replies: 0
    • Views: 148
    08-24-2016, 11:33 AM Go to last post
  35. Pitching R in Pharma

    hi, I will pitch R to a pharma company on Monday. Their biggest fear is that they can not validate R, so they can not use it in any situation...

    Started by rogojel‎, 08-13-2016 06:32 AM
    2 Pages
    1 2
    pitching r
    • Replies: 16
    • Views: 633
    08-24-2016, 06:50 AM Go to last post
  36. Is it possible to use r to calculate normal standard deviation?

    P ( z <= 1) P ( z <= 2)= P (Z < 2) = P ( Z = 0 ) = P( z <= 1.34) =

    Started by helpimdesperate‎, 08-23-2016 12:52 AM
    • Replies: 0
    • Views: 124
    08-23-2016, 12:52 AM Go to last post
  37. Any tutorials to create a good dashboard in R

    I need to learn from scratch about building dashboards in r

    Started by aswinsankar‎, 08-22-2016 10:38 AM
    • Replies: 4
    • Views: 194
    08-22-2016, 10:33 PM Go to last post
  38. Creating a new Website (blogs,social networks etc ..) using R

    First of all i would like to know if one can create a website in r , if yes then can it be created with login credentials? Are there any tutorials...

    Started by aswinsankar‎, 08-22-2016 10:48 AM
    • Replies: 0
    • Views: 113
    08-22-2016, 10:48 AM Go to last post
  39. R Programming Tutorials

    I put together some tutorials: http://rprogrammingtutorials.com/

    Started by rprogrammingtutorials‎, 08-21-2016 04:37 PM
    r tutorials
    • Replies: 0
    • Views: 139
    08-21-2016, 04:37 PM Go to last post
  40. Nonlinear regression - Singular gradient error

    I'm trying to fit a nonlinear curve to my data, using nls. I keep getting the singular gradient error, also with different starting values for my...

    Started by LotVD‎, 08-09-2016 03:05 AM
    • Replies: 4
    • Views: 283
    08-21-2016, 10:27 AM Go to last post
  41. How prominent of a role does R have in statistics

    I've been looking at a particular Master's statistics program and the department website mentions the latest software: SAS, SPSS, JMP, Minitab etc....

    Started by Buckeye‎, 08-20-2016 03:28 PM
    • Replies: 1
    • Views: 174
    08-20-2016, 09:18 PM Go to last post
  42. Time fixed effect for a single country

    pvexp.result1 <- plm(export ~ partycongress + inflation + crudepetrol + lngdp + lngrowth + lnlcratio, data=private.export, ...

    Started by summercocktail‎, 08-19-2016 04:09 PM
    • Replies: 0
    • Views: 169
    08-19-2016, 04:09 PM Go to last post
  43. FOURIER and Sigmoid function

    Hi, I want to smooth a temporal serie. I found in R, the fft (Fourier function) and the SIGMOID package. But i don't undertand how to apply to...

    Started by mikelV‎, 08-13-2016 05:12 AM
    • Replies: 2
    • Views: 266
    08-18-2016, 02:59 AM Go to last post
  44. understanding t & p values from my data

    Hi guys, I'm having difficulty interpreting the summary results when running a linear model in R Studio. I have watched YouTube videos and a...

    Started by EPSC_PA‎, 08-17-2016 02:55 AM
    • Replies: 0
    • Views: 152
    08-17-2016, 02:55 AM Go to last post
  45. Variable Importance Value in R

    Is there a minimum sample size requirement to get the variable importance values when using random forest analysis in R?

    Started by SRS‎, 08-16-2016 08:01 AM
    • Replies: 3
    • Views: 181
    08-16-2016, 08:11 PM Go to last post
  46. Post Function code need chang.

    My Original function is: Expect=sum(listP * 0:t + listP * 0:t) Loop is: expnumber <- function(x) { n <- nrow(x) m <- ncol(x) ...

    Started by dorothy100‎, 08-14-2016 01:26 PM
    function writing
    • Replies: 2
    • Views: 177
    08-14-2016, 01:44 PM Go to last post
  47. Plot Multinomial Logistic Regression

    I am running multinomial logistic regression tests on my data and would like to create probability plots using the results. Does anyone have any...

    Started by glw525‎, 08-12-2016 09:51 AM
    • Replies: 1
    • Views: 151
    08-13-2016, 04:59 AM Go to last post
  48. Hexbin package download error

    I am trying to download the Hexbin package, and here's what happens: > install.packages("hexbin") trying URL...

    Started by DV Man‎, 08-12-2016 12:16 PM
    • Replies: 0
    • Views: 165
    08-12-2016, 12:16 PM Go to last post
  49. Find a data pattern within a larger data set

    the goal is to find a distribution and when it happens in a larger sample (accounting for minor deviations). For example maybe that's how 'Shazam'...

    Started by mike121‎, 08-11-2016 02:38 PM
    • Replies: 0
    • Views: 180
    08-11-2016, 02:38 PM Go to last post
  50. Is "NAs introduced by coercion" always a bad thing?

    I know it's an easy warning to turn off, but I was just wondering how often it can screw your dataset up, and if there's general steps you can take...

    Started by DV Man‎, 08-11-2016 01:01 PM
    • Replies: 3
    • Views: 155
    08-11-2016, 02:34 PM Go to last post
  51. Trying to load datasets from an R workspace with a command line and getting an error

    I am supposed to load a workspace with the following code: load("balls_strikes_count.Rdata") but I get this error: >...

    Started by DV Man‎, 08-11-2016 11:15 AM
    • Replies: 3
    • Views: 132
    08-11-2016, 12:39 PM Go to last post
  52. Identifying variables on a chart

    Here's my code to get the chart I currently have: > runs200 <- subset(runs, Batter == "braur002" | Batter == "ellsj001") > runs200 <- subset(runs,...

    Started by DV Man‎, 08-10-2016 09:00 PM
    • Replies: 1
    • Views: 178
    08-10-2016, 09:24 PM Go to last post
  53. [SOLVED] Clustering Question - Measuring Test Error

    I should probably contribute once in awhile; so here we go! I use the flexclust package for fitting k-means models using the cclust function...

    Started by bryangoodrich‎, 08-03-2016 03:40 PM
    • Replies: 8
    • Views: 393
    08-05-2016, 03:26 PM Go to last post
  54. R - Finding Frequency - Bar Graph or Percentage? Which should be used or both?

    Would the Bar Graph attached be sufficient when they ask to "Find Frequency"? or Do I need to find the specific percentage probability? If the...

    Started by lace7194‎, 08-04-2016 02:05 PM
    • Replies: 4
    • Views: 209
    08-04-2016, 04:37 PM Go to last post
  55. Post R - bootstrap confidence intervals, Create a matrix, Perform stepwise regressions

    I'm brand to statistics and taking my 1st class in almost 40 years, so I'm quite a bit behind the times. On top of all of that, I am not very...

    Started by lace7194‎, 08-03-2016 04:01 PM
    • Replies: 1
    • Views: 212
    08-03-2016, 11:08 PM Go to last post
  56. issue in extracting values from an object

    Hello, using the following dataset mydata <- structure(list(Obs = 1:14, Health = structure(c(2L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 1L, 1L, 1L, 1L,...

    Started by gianmarco‎, 08-03-2016 01:46 AM
    • Replies: 3
    • Views: 200
    08-03-2016, 12:35 PM Go to last post
  57. reshaping a table of p-values into a symmetric matrix

    Hello, I was wondering if there is a way to convert this: Asbestosis Normal Normal 1.0000000 NA OAD 0.4126984 0.7301587 ...

    Started by gianmarco‎, 08-03-2016 12:30 PM
    • Replies: 0
    • Views: 113
    08-03-2016, 12:30 PM Go to last post
  58. SEM-PLS complex survey design

    Hello, I am trying to run SEM-PLS models for a sample with complex survey design (stratified sampling with different probabilities of selection...

    Started by henrique93‎, 08-02-2016 04:19 AM
    • Replies: 4
    • Views: 319
    08-02-2016, 04:29 PM Go to last post
  59. Correlation matrix with significance

    Does anyone have a ready-made function or know a way to produce a correlation matrix with asterisks marking significance levels in R?

    Started by hariskr‎, 08-02-2016 01:10 PM
    correlation, dataframe, hypothesis testing, matrix, significance
    • Replies: 0
    • Views: 157
    08-02-2016, 01:10 PM Go to last post
  60. Hasse diagram and Kruskal-Wallis post-hoc test

    Hello, I was playing around with multiple comparisons after KW test. I found a R package 'paircompviz' (LINK) (LINK) that provides the facility to...

    Started by gianmarco‎, 08-02-2016 10:23 AM
    • Replies: 1
    • Views: 162
    08-02-2016, 10:41 AM Go to last post

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