1. 10-14-2010
    Views:
    37,892
+ Post New Thread
Page 1 of 68 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 4021

Forum: R

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

  1. Sticky Thread Sticky: R News and Updates

    I'm starting this thread out of frustration for my own oversight. blog.revolutionanalytics.com was having an R webinar today (LINK) that looked...

    Started by trinker‎, 08-24-2011 09:41 AM
    8 Pages
    1 2 3 ... 8
    news
    • Replies: 112
    • Views: 68,593
    Today, 10:42 AM Go to last post
  2. Sticky Thread Sticky: Today I Learned: ____

    I thought it might be nice to just have a place to post some happy little things you learned or (re)discovered about R that makes your life nicer and...

    Started by Dason‎, 01-03-2012 11:39 AM
    25 Pages
    1 2 3 ... 25
    • Replies: 369
    • Views: 171,069
    04-12-2017, 06:14 PM 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
    9 Pages
    1 2 3 ... 9
    • Replies: 120
    • Views: 75,877
    12-13-2016, 05:47 PM 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: 154,879
    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
    information
    • Replies: 100
    • Views: 83,130
    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 01:38 AM
    • Replies: 1
    • Views: 6,725
    02-02-2016, 05: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: 0
    • Views: 18,436
    10-17-2012, 07:20 PM Go to last post
  1. how to extract titles out of a full name using (gsub)

    Using the titanic data set, I know you can extract a salutation out of a name using the following code name <- as.character("Braund, Mr. Owen...

    Started by semidevil‎, Today 02:51 PM
    • Replies: 0
    • Views: 38
    Today, 02:51 PM Go to last post
  2. GGPLOT: how do I draw a basic bar chart?

    I'm not understanding why I can't draw a simple bar chart. I have "month" in my x axis, and I want to sum all my "sales" and display it in a bar...

    Started by semidevil‎, 04-21-2017 03:10 PM
    • Replies: 1
    • Views: 158
    04-21-2017, 04:03 PM Go to last post
  3. [SOLVED] Get latest version of R on linux (Mint)

    This thread is just to serve as a marker for future searchers as Dason answered this for me: sudo apt-key adv --keyserver keyserver.ubuntu.com...

    Started by trinker‎, 12-23-2012 01:57 PM
    cran, linux
    • Replies: 6
    • Views: 10,610
    04-19-2017, 09:56 AM Go to last post
  4. ggsurvplot: Round n.risk for weighted data

    Hi all, I'm creating Kaplan-Meier plots with ggsurvplot on weighted data. When I add the risk.table (showing the number at risk over time) I get...

    Started by azalea‎, 04-18-2017 07:41 PM
    ggsurvplot, kaplan-meier, number at risk, round
    • Replies: 0
    • Views: 129
    04-18-2017, 07:41 PM Go to last post
  5. R lme4: Plotting three-way interaction / conditional coefficient plot

    Hi all, I'm trying to visualize a three-way interaction from a rather complex linear mixed model in R (lmer function from the lme4 package; the...

    Started by ferrand‎, 04-11-2017 06:37 AM
    • Replies: 1
    • Views: 135
    04-18-2017, 12:00 PM Go to last post
  6. how to put labels on ggplot2 graph

    I have a data and I did PCA on that data I used the following code i.pca=prcomp(tmydf) scores <- as.data.frame(i.pca$x) qplot(x = PC1, y =...

    Started by Marwah Soliman‎, 04-17-2017 03:25 PM
    pca analysis, rprogram
    • Replies: 2
    • Views: 156
    04-17-2017, 11:03 PM Go to last post
  7. auc function simple error

    I am guessing this is a simple issue, I am using pROC and its roc to get auc for my model pred and the y variable. pred came from my cv.LASSO...

    Started by hlsmith‎, 04-14-2017 08:39 AM
    • Replies: 7
    • Views: 246
    04-15-2017, 06:28 AM Go to last post
  8. help with understanding error message

    I"m using the CARET Package to run a few ML algorithims and I"m at the stage where I"m trying to compare them. when I run this: results...

    Started by semidevil‎, 04-13-2017 05:08 PM
    • Replies: 3
    • Views: 228
    04-14-2017, 10:31 AM Go to last post
  9. [R] Changing 2 Numeric Variables to 1 Categorical Variable in R?

    I am a finance student and have been playing around in R the past couple of weeks (Rookie here..). QUESTION: I have two numeric variables: A and B....

    Started by simonjosi‎, 04-12-2017 04:08 AM
    cathegorical, logit, numeric, rstudio, variable
    • Replies: 1
    • Views: 168
    04-12-2017, 05:42 AM Go to last post
  10. Forecasting/Future prediction assistance

    Hi guys, I've got a bit of advertising data here and I'd like to make a model out of it which can predict future events. So I have the amount...

    Started by Edorian‎, 03-20-2017 08:23 PM
    forecasting, modelling, prediction, rstudio
    • Replies: 10
    • Views: 593
    04-11-2017, 06:45 PM Go to last post
  11. Moran I Test for Spatal Panel Data

    Hi, I am currently trying to analyze the spillover effect on regional economic factors. But first, I need to identify the spatial dependency on...

    Started by Addin‎, 04-10-2017 10:55 PM
    • Replies: 0
    • Views: 126
    04-10-2017, 10:55 PM Go to last post
  12. how to calculate a mean based on conditions

    fairly straight forward question. I"m trying to calculate the average Fare price of a subset of my group (and excluding NA's), but it wont...

    Started by semidevil‎, 04-06-2017 05:03 PM
    • Replies: 1
    • Views: 301
    04-07-2017, 12:44 PM Go to last post
  13. SNK after two way anova with R

    Hello, I need to make a SNK test after a two way anova with R and to have the differences indicated by different letters in SNK output I have a...

    Started by Helen64‎, 04-07-2017 07:07 AM
    • Replies: 1
    • Views: 179
    04-07-2017, 08:38 AM Go to last post
  14. Multivariate regression in R

    Hello, I am not sure what to use in R. I need to find out if a variable (y) affects data from multiple sites. Readings are taken at say 3 sites...

    Started by hpsauce55‎, 04-02-2017 02:22 PM
    anova, manova, multivariate regression
    • Replies: 1
    • Views: 260
    04-03-2017, 01:25 AM Go to last post
  15. Density plot 3d for clustering

    Good morning everybody. I want to ask you if it is possibile to build a 3d density plot in order to show the density of a cluster, having the scores...

    Started by Ferdinando Coppola‎, 01-13-2017 04:54 AM
    3d plot, clustering
    • Replies: 1
    • Views: 1,038
    03-28-2017, 10:53 AM Go to last post
  16. Remove part of the values in a column

    Probably this is an easy question for experienced R-users, so hopefully you can help me. In my dataframe, I have the following kind of values in my...

    Started by DunjaV‎, 03-23-2017 02:30 AM
    column, remove values, replace values
    • Replies: 1
    • Views: 255
    03-28-2017, 10:51 AM Go to last post
  17. Error - R Script Excecution via Windows Task and German Characters in column name

    Dear all, I am excecuting an R-Script via Windows 7 Taskmanager (i created the task via "tasksheduleR"). System will run the script but not finish...

    Started by tester1234‎, 01-26-2017 09:22 AM
    • Replies: 1
    • Views: 636
    03-28-2017, 10:43 AM Go to last post
  18. Details on missing data in R

    Hello all, Say I have data as shown below. I want to generate a report in R like this: Missing 0 tests: 1 Missing 1 test: 2 Missing 2 tests: 2...

    Started by leonedelman‎, 02-22-2017 01:13 PM
    dataframe, descriptive, missing, r statistics
    • Replies: 1
    • Views: 419
    03-28-2017, 10:40 AM Go to last post
  19. Efficient R coding

    Consider the following data frame: dat <- data.frame(x=c(0,128.96,0,397.37,56.80,0,801.79,340.79), ...

    Started by user1234‎, 02-23-2017 09:46 AM
    r code help, r coding, r programming help, simulation
    • Replies: 1
    • Views: 540
    03-28-2017, 10:13 AM Go to last post
  20. Arguments imply differing number of rows: 1, 0

    I am trying to generate a cdf plot by using ggplot and have looked at some examples online. However when I try to replicate it I get the following...

    Started by john9427‎, 03-24-2017 09:35 AM
    r software, rstudio
    • Replies: 0
    • Views: 284
    03-24-2017, 09:35 AM Go to last post
  21. [SOLVED] Extending axes in R

    Hi I'm trying to create scattergraphs of data. I'm simply using plot(variable1, variable2, col = "red") for now. But I want the y-axis...

    Started by iwsmuir105‎, 03-23-2017 03:08 PM
    • Replies: 2
    • Views: 289
    03-23-2017, 06:12 PM Go to last post
  22. lmer multilevel model

    Hi to all, I want to look at the change in the percentage of income savings measured in dollars using repeated measures data for older adults. I...

    Started by leonedelman‎, 03-22-2017 12:26 PM
    lmer, multilevel model
    • Replies: 0
    • Views: 208
    03-22-2017, 12:26 PM Go to last post
  23. plot a subset of intervals after lmList

    Dear reader, I am a first timer here (and an R newbie), so please tell me if you need more information to answer the following question: I have...

    Started by DirkSa‎, 03-20-2017 01:43 PM
    intervals, lmlist, nlme, plot
    • Replies: 0
    • Views: 185
    03-20-2017, 01:43 PM Go to last post
  24. ggplot2: position_dodge not working

    I am having trouble getting position_dodge to work to add space between the bars. I have not been able to get any solution I've found online to work...

    Started by atamalu‎, 03-17-2017 04:51 PM
    • Replies: 0
    • Views: 288
    03-17-2017, 04:51 PM Go to last post
  25. Turning an R script into an exexutable

    hi, before R I used to be big fan if Perl- and there we had an option to turn a script into an exe file so that people could use it without having...

    Started by rogojel‎, 03-17-2017 10:30 AM
    exe, script
    • Replies: 1
    • Views: 223
    03-17-2017, 11:14 AM Go to last post
  26. permutations "partykit"

    Hello, I am new to R and I was reading about conditional decision trees. In the "party" package there is an option to select number of...

    Started by szm‎, 03-14-2017 12:26 PM
    conditional trees, decision trees, party, partykit, permutations
    • Replies: 2
    • Views: 314
    03-14-2017, 04:58 PM Go to last post
  27. proportional odds assumption in r

    Dear All, I would like to check proportional odds assumption below. I need to graph log((1-S(t))/S(t)) versus log t. I also want to label y axis...

    Started by masarimk‎, 03-10-2017 04:51 AM
    proportional odds
    • Replies: 0
    • Views: 470
    03-10-2017, 04:51 AM Go to last post
  28. Seeking help with creating simple function

    Thanks for reading!! I'm trying to make create functions for second stage mean, variance, standard deviation, and standard error. My data is...

    Started by lauren321‎, 03-03-2017 12:26 PM
    • Replies: 9
    • Views: 566
    03-07-2017, 01:55 PM Go to last post
  29. Simulating Data

    Hi! I have a bit of a weird question. I'd like to simulate data that looks like this in R: ...

    Started by jamesmartinn‎, 03-01-2017 08:31 AM
    • Replies: 6
    • Views: 645
    03-01-2017, 12:02 PM Go to last post
  30. ggseasonplot Change Starting Label

    In the 'forecast' 8.0 package in R, you can run the below code and get the accompanying figure. The default on the figure is to start labels for...

    Started by hlsmith‎, 02-28-2017 11:36 AM
    • Replies: 12
    • Views: 705
    02-28-2017, 05:15 PM Go to last post
  31. Probit Marginal Effects output for Latex

    I am computing probit marginal effects from R mfx package. I want to generate Latex code for the marginal effects output. I tried stargazer package...

    Started by rizwan‎, 02-28-2017 11:07 AM
    latex, stargazer
    • Replies: 0
    • Views: 464
    02-28-2017, 11:07 AM Go to last post
  32. Problem with create a PowerPoint document from a template file (R - ReporteRs)

    Hi everyone, I have a problem with loading a template file (attachment file prueba.pptx), if I execute in R the following code from the web...

    Started by karlo‎, 02-25-2017 06:50 PM
    • Replies: 0
    • Views: 554
    02-25-2017, 06:50 PM Go to last post
  33. Data Cleaning - Wide Multi-Type Table to Tidy Data

    Data Source Jan. Feb. Mar. Apr. May June July Aug. Sept. Oct. Nov. Dec....

    Started by bryangoodrich‎, 02-23-2017 04:39 PM
    • Replies: 2
    • Views: 619
    02-23-2017, 07:17 PM Go to last post
  34. Linear mixed effect model in priming experiment

    we conducted a priming experiment. subjects and items are randomly chosen, so we need to have by-item and by-subject analysis. In the experiment,...

    Started by rainamo‎, 02-22-2017 09:25 PM
    linear mixed effect model
    • Replies: 0
    • Views: 449
    02-22-2017, 09:25 PM Go to last post
  35. how to give column names for a data in R

    hello, I have a file with 1117 columns and I have the names of these columns but how to give the names to those columns it is not efficient to...

    Started by Marwah Soliman‎, 02-14-2017 10:03 PM
    rprogram
    • Replies: 3
    • Views: 677
    02-18-2017, 08:49 PM Go to last post
  36. extract first value from multiple columns

    i am trying to do this in R. it is equivalent to the stata command rowfirst suppose i have four columns as shown below (T1, T2, T3, T4). I want to...

    Started by leonedelman‎, 02-08-2017 07:28 PM
    extract, matrix, r statistics, rowfirst, stata
    • Replies: 4
    • Views: 928
    02-16-2017, 03:50 AM Go to last post
  37. Help in analyse display

    Hi. I used R to preform "logistic mixed-mode", and now i struggling in how to present it in a table. Maybe someone has an example that i can...

    Started by tal_spi‎, 02-13-2017 04:03 AM
    logistic, mixed model
    • Replies: 0
    • Views: 532
    02-13-2017, 04:03 AM Go to last post
  38. Problem in installation of quantreg in R ubuntu 16.04

    > install.packages("quantreg") Installing package into /home/aditya/R/x86_64-pc-linux-gnu-library/3.3 (as lib is unspecified) trying URL...

    Started by Aditya2956‎, 02-12-2017 10:41 PM
    bioconductor, libgfortran, quantreg, ubuntu
    • Replies: 0
    • Views: 488
    02-12-2017, 10:41 PM Go to last post
  39. Post help on CM timeline graph with R is appreciated

    conmed = structure(list(id = c(2L, 2L), cmstdate = structure(c(2L, 1L), .Label = c("1/1/2014", "1/3/2014"), class = "factor"), cmmed =...

    Started by zzz‎, 02-12-2017 01:05 AM
    • Replies: 0
    • Views: 453
    02-12-2017, 01:05 AM Go to last post
  40. Marginal effects for poisson count data model ERROR

    Hi, just as it is stated in the title, I have a problem with creating a graph of factors influencing the number of trips abroad. Can anyone help me?...

    Started by dinomilka‎, 02-09-2017 08:36 AM
    error, marginal effects, poisson
    • Replies: 1
    • Views: 481
    02-11-2017, 04:11 PM Go to last post
  41. removing rows SNPS according to proportion minor allele < 5%

    hello, I know this should be easy but my brain can't get it I have the following part of data as data is 900,000 rows * 1000 columns ...

    Started by Marwah Soliman‎, 02-11-2017 10:35 AM
    rprogram
    • Replies: 0
    • Views: 447
    02-11-2017, 10:35 AM Go to last post
  42. replace -inf with 0 in data

    hello, I have data set about gene expression I discovered that there was some -inf in the data I need to replace them with zero my data is...

    Started by Marwah Soliman‎, 02-10-2017 12:30 AM
    rprogram
    • Replies: 1
    • Views: 548
    02-10-2017, 06:59 AM Go to last post
  43. Exclamation Help! Brand new at r! Do you see the error here?

    Can anyone see the error in this? I have used a mock-up model successfully twice, with same spacing, etc., and have gotten great graphs (in the 29...

    Started by SAJ2017‎, 02-08-2017 11:13 PM
    help me, help please, help!, help?
    • Replies: 1
    • Views: 514
    02-09-2017, 01:01 AM Go to last post
  44. Webcrawling with R

    Hey! I am looking for a R script that can "crawl" through a website (the whole website not one single page) for specific words and make an output...

    Started by Nick1234‎, 02-03-2017 03:09 AM
    text mining, web scraping
    • Replies: 1
    • Views: 737
    02-07-2017, 03:38 PM Go to last post
  45. VAR Model

    Hello everybody, Im trying to code a var model and I need some help. Im trying to answer the question if a shock has an influence on the...

    Started by Ancy‎, 02-06-2017 04:17 PM
    • Replies: 0
    • Views: 540
    02-06-2017, 04:17 PM Go to last post
  46. I need some help with R. I am a new user and I am struggling to write one script.

    Hi, I am having difficulty with writing a script in R. What I am trying to get is: - I have a list of Product Codes and Product...

    Started by diods87‎, 02-06-2017 05:24 AM
    • Replies: 0
    • Views: 465
    02-06-2017, 05:24 AM Go to last post
  47. Data frame is loaded but a filter command not working - newbie

    filter (KEYINFOX_CD, Filler1 == "10200") gives an error of object not found for Filler1 even though the data frame is loaded and a summary shows the...

    Started by johnorourke‎, 01-31-2017 02:42 PM
    • Replies: 4
    • Views: 694
    01-31-2017, 04:55 PM Go to last post
  48. Comparing frequency distribution between the subsets of the datasets

    Hello, I have met some problem with testifying differences between frequencies. Let's me present it with concrete example. 1. I have 100 sample...

    Started by Ortolan‎, 01-29-2017 04:00 PM
    difference of proportions, frequency data, subsets, testing of hypothesis
    • Replies: 0
    • Views: 705
    01-29-2017, 04:00 PM Go to last post
  49. Map snps into a ref gene file using R

    I have the following data set about the snps ID POS ID 78599583 rs987435 33395779 rs345783 ...

    Started by Marwah Soliman‎, 01-19-2017 08:28 PM
    r programing
    • Replies: 4
    • Views: 1,038
    01-29-2017, 03:55 AM Go to last post
  50. efficient R code

    I have the following code in R to creat .ped file and .map file that is used in Plink "open-source whole genome association analysis toolset" I...

    Started by Marwah Soliman‎, 01-26-2017 06:55 PM
    biostatistics, rprogram
    • Replies: 1
    • Views: 791
    01-26-2017, 09:30 PM Go to last post
  51. [SOLVED] Shiny 2

    A follow up to a previous post on shiny. I am now trying to create a reactive ggplot where I have a select input box for x and y variables, based...

    Started by bugman‎, 01-19-2017 12:48 AM
    • Replies: 5
    • Views: 1,419
    01-26-2017, 06:45 PM Go to last post
  52. How to make ugly greyscale plot pretty? :(

    Hi all! So I'm getting ready some plots for my next manuscript. As some of us know, colour images are frowned upon among journal editors and they...

    Started by spunky‎, 01-25-2017 12:22 PM
    greyscale
    • Replies: 12
    • Views: 964
    01-25-2017, 06:53 PM Go to last post
  53. Multilevel moderated mediation with repeated measures in R

    Hello, I am fairly new to R, and am trying to conduct a moderated mediation using R. I have found the sobel test syntax in the Multilevel Modeling...

    Started by GS1‎, 01-24-2017 03:45 PM
    • Replies: 0
    • Views: 722
    01-24-2017, 03:45 PM Go to last post
  54. how to predict which variable has the highest good/bad impact on my result?

    ...continuing on my machine learning journey here. So I know the method of finding the best algorithm to build a model (i,e cross validation, test,...

    Started by semidevil‎, 01-06-2017 04:00 PM
    • Replies: 7
    • Views: 1,437
    01-24-2017, 12:32 PM Go to last post
  55. Help with R GLM Formula for paired/nested model

    I have an experimental design as follows: Two treatments, carried out on the same sample. The samples are collected from soil at five depths, in...

    Started by rw2‎, 01-24-2017 11:00 AM
    experimental design, glm, lmer, nested design, paired difference test
    • Replies: 0
    • Views: 613
    01-24-2017, 11:00 AM Go to last post
  56. Repeating Sequence

    Hi! I'd like to make the following code dynamic in the sense that the user can set a starting value and elements of a string will be replicated...

    Started by jamesmartinn‎, 01-19-2017 09:07 AM
    • Replies: 3
    • Views: 980
    01-19-2017, 09:47 AM Go to last post
  57. [SOLVED] Shiny Error

    So I am mucking around with Shiny and trying to create a number of tab panels to perform different tasks. I thought I was going along the right...

    Started by bugman‎, 01-18-2017 07:30 PM
    • Replies: 3
    • Views: 1,604
    01-18-2017, 09:30 PM Go to last post
  58. IV Regression with binary outcome

    I have a binary variable y which I am aiming to model using instrumental variable regression. Both X and the IV are continuous. ivpak in R does not...

    Started by Lazar‎, 01-16-2017 11:32 PM
    instrumental variables
    • Replies: 6
    • Views: 1,226
    01-18-2017, 09:58 AM Go to last post
  59. Subset based on missing in differnet variables

    Suppose I have credit ratings for 5 years (credit1, credit2, credit3, credit4, credit5). I only want to keep observations which have at least three...

    Started by leonedelman‎, 01-14-2017 08:32 AM
    drop, r program, subset
    • Replies: 1
    • Views: 850
    01-15-2017, 12:39 PM Go to last post
  60. Question How can I make a decision tree in R?

    Hi, I'm a R beginner. I want to make a desicion tree. I tried a lot of tutorials, but none of it work, because my data is other than the data in...

    Started by Jeti‎, 01-13-2017 08:18 AM
    • Replies: 4
    • Views: 1,062
    01-13-2017, 10:29 AM Go to last post

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