1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    445
+ 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 4038

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 11:39 AM
    25 Pages
    1 2 3 ... 25
    • Replies: 370
    • Views: 186,106
    05-17-2017, 05:18 PM Go to last post
  2. 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: 76,576
    04-24-2017, 10:42 AM Go to last post
  3. Sticky Thread Sticky: [R Graphics] Beautiful graphics thread

    Hi Everyone, I thought I might start a thread which showcases the graphics abilities of R. I'll start it off with one I just made. This thread...

    Started by TheEcologist‎, 10-17-2012 05:08 AM
    9 Pages
    1 2 3 ... 9
    • Replies: 120
    • Views: 85,236
    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: 172,997
    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: 91,885
    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: 8,244
    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: 20,442
    10-17-2012, 07:20 PM Go to last post
  1. Confidence interval with t-score in R

    Hello, I need to calculate the 95% confidence interval with a sample size = 200 stored in a vector named v_name. The problem says I need standard...

    Started by Regulus‎, 05-20-2017 01:38 PM
    • Replies: 1
    • Views: 279
    05-21-2017, 12:27 PM Go to last post
  2. Question Contrast drop off from factor x in using predict in decision tree in R

    Hi, I have tried research about this error warning message for several days without any info, e.g. ": contrasts dropped from factor staffx.f" etc.....

    Started by milk‎, 05-17-2017 09:49 PM
    contrast, decision tree
    • Replies: 3
    • Views: 220
    05-19-2017, 02:28 AM Go to last post
  3. Write a formula with R

    Hi everybody, I need help about the following formula because I have difficulties to write it correctly: $$\sum_{k \in U}{a_k d_k \frac{y_l -...

    Started by bomber‎, 05-17-2017 06:25 AM
    • Replies: 2
    • Views: 212
    05-17-2017, 10:32 AM Go to last post
  4. Clustering using Non Negative Matrix Factorization

    I have written code using Non negative Matrix Factorization. In the original matrix X, Row 3 is a duplicate of row 4. How can I interpret clustering...

    Started by bongielondy‎, 05-16-2017 07:55 PM
    • Replies: 0
    • Views: 124
    05-16-2017, 07:55 PM Go to last post
  5. 'Likert' package plotting

    Hi everyone I've been using the 'Likert' package for a while and find it pretty good. One thing I haven't been able to resolve is how to...

    Started by dt87‎, 05-12-2017 01:20 AM
    grouped data, likert, plotting
    • Replies: 2
    • Views: 226
    05-16-2017, 04:07 PM Go to last post
  6. How to put title to the visgauge graphs

    Dear All, I have two questions 1)How can I put a title "House sales" to the gauge plots? 2)How can I put break points on the gauge plots also?...

    Started by masarimk‎, 05-16-2017 04:26 AM
    • Replies: 1
    • Views: 160
    05-16-2017, 07:28 AM Go to last post
  7. 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‎, 04-24-2017 02:51 PM
    • Replies: 4
    • Views: 471
    05-15-2017, 01:44 PM Go to last post
  8. Help with error

    Hi All, I am trying to do a violinplot of different densities of particles. I stole this code from the ggplot page and it works perfectly fine...

    Started by AlinaMadita‎, 05-15-2017 08:54 AM
    • Replies: 0
    • Views: 133
    05-15-2017, 08:54 AM Go to last post
  9. averaging wind data from rWind package

    Hello! I came across an interesting package which allows to download (and plot) glbal wind data. The package is rWind. The wind data (i.e., speed...

    Started by gianmarco‎, 05-14-2017 01:38 AM
    • Replies: 4
    • Views: 239
    05-14-2017, 10:47 AM Go to last post
  10. how to label specific points in ggplot2

    Hello, I have the attached figure and I need the label of 2 points the purple and the blue points I used the following code ...

    Started by Marwah Soliman‎, 05-13-2017 03:47 PM
    • Replies: 1
    • Views: 204
    05-13-2017, 08:38 PM Go to last post
  11. Is there a par(mfrow()) for ggplot2?

    I have a loop written that should be able to ggplot histograms across n number of columns(variables). Using par(mfrow(2,2)) and base graphics, I can...

    Started by semidevil‎, 05-11-2017 03:48 PM
    • Replies: 1
    • Views: 189
    05-11-2017, 05:27 PM Go to last post
  12. Help adding new column by indexing

    I have a dataset that looks something like this structure(list(Red = c(65.76, 57.07, 32.93, 43.78, 189.55, 115.87, 72.96, 51.84, 52.39, 59.03,...

    Started by deangelr‎, 05-04-2017 12:22 PM
    aggregate, indexing, sort
    • Replies: 2
    • Views: 335
    05-05-2017, 09:55 AM Go to last post
  13. help where is the error

    I have the following code not written by me new_tum <- as.matrix(clinical) new_tum_collapsed <- c() for (i in 1:dim(new_tum)){ ...

    Started by Marwah Soliman‎, 05-03-2017 10:57 PM
    r programing, r programming help
    • Replies: 1
    • Views: 301
    05-05-2017, 05:04 AM Go to last post
  14. CFA & SEM in R

    Hi everyone. Can anyone guide me how to prepare data, and to conduct CFA & SEM? I want to use these analysis for my research, and just started...

    Started by zul1912‎, 05-04-2017 05:52 AM
    • Replies: 1
    • Views: 221
    05-04-2017, 07:58 AM Go to last post
  15. ARIMA(0,1,0) random walk with drift

    What code do I use to fit the above model, or what type of differencing do I do? Something like a lag 1 subtraction? My model seemed like...

    Started by hlsmith‎, 05-02-2017 02:43 PM
    integrated, lag
    • Replies: 5
    • Views: 246
    05-02-2017, 04:10 PM Go to last post
  16. Question Loading multiple .wav files at once

    Hi everyone, I'm writing a function that will statistically analyze an audio dataset using the packages tuneR and seewave. tuneR has a nice...

    Started by Coopers‎, 05-01-2017 09:21 AM
    audio, file uploading, seewave, tuner
    • Replies: 1
    • Views: 212
    05-01-2017, 10:17 AM Go to last post
  17. Finding variance

    Hi, I need to find the variance of a probability distribution with two vectors, Prize and Probability. The values in Prize are 1000, 100, 20, 10, 4,...

    Started by Regulus‎, 04-30-2017 10:36 PM
    • Replies: 1
    • Views: 191
    05-01-2017, 04:19 AM Go to last post
  18. Thumbs up Use preceding rows in function

    Hi, I have a simple (I think/hope) R question which I can't seem to find the answer to. It will probably be easier to show a small example of what...

    Started by chaps‎, 04-27-2017 05:41 AM
    • Replies: 8
    • Views: 403
    04-30-2017, 10:48 AM Go to last post
  19. 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: 383
    04-21-2017, 04:03 PM Go to last post
  20. [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: 11,269
    04-19-2017, 09:56 AM Go to last post
  21. 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: 262
    04-18-2017, 07:41 PM Go to last post
  22. 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: 255
    04-18-2017, 12:00 PM Go to last post
  23. 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: 291
    04-17-2017, 11:03 PM Go to last post
  24. 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: 417
    04-15-2017, 06:28 AM Go to last post
  25. 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: 398
    04-14-2017, 10:31 AM Go to last post
  26. [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: 282
    04-12-2017, 05:42 AM Go to last post
  27. 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: 830
    04-11-2017, 06:45 PM Go to last post
  28. 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: 247
    04-10-2017, 10:55 PM Go to last post
  29. 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: 444
    04-07-2017, 12:44 PM Go to last post
  30. 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: 306
    04-07-2017, 08:38 AM Go to last post
  31. 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: 386
    04-03-2017, 01:25 AM Go to last post
  32. 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,584
    03-28-2017, 10:53 AM Go to last post
  33. 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: 401
    03-28-2017, 10:51 AM Go to last post
  34. 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: 966
    03-28-2017, 10:43 AM Go to last post
  35. 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: 659
    03-28-2017, 10:40 AM Go to last post
  36. 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: 818
    03-28-2017, 10:13 AM Go to last post
  37. 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: 521
    03-24-2017, 09:35 AM Go to last post
  38. [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: 400
    03-23-2017, 06:12 PM Go to last post
  39. 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: 312
    03-22-2017, 12:26 PM Go to last post
  40. 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: 333
    03-20-2017, 01:43 PM Go to last post
  41. 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: 448
    03-17-2017, 04:51 PM Go to last post
  42. 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: 385
    03-17-2017, 11:14 AM Go to last post
  43. 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: 472
    03-14-2017, 04:58 PM Go to last post
  44. 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: 717
    03-10-2017, 04:51 AM Go to last post
  45. 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: 840
    03-07-2017, 01:55 PM Go to last post
  46. 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: 1,005
    03-01-2017, 12:02 PM Go to last post
  47. 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: 1,145
    02-28-2017, 05:15 PM Go to last post
  48. 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: 765
    02-28-2017, 11:07 AM Go to last post
  49. 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: 856
    02-25-2017, 06:50 PM Go to last post
  50. 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: 978
    02-23-2017, 07:17 PM Go to last post
  51. 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: 741
    02-22-2017, 09:25 PM Go to last post
  52. 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: 1,026
    02-18-2017, 08:49 PM Go to last post
  53. 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: 1,386
    02-16-2017, 03:50 AM Go to last post
  54. 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: 813
    02-13-2017, 04:03 AM Go to last post
  55. 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: 729
    02-12-2017, 10:41 PM Go to last post
  56. 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: 701
    02-12-2017, 01:05 AM Go to last post
  57. 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: 730
    02-11-2017, 04:11 PM Go to last post
  58. 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: 719
    02-11-2017, 10:35 AM Go to last post
  59. 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: 845
    02-10-2017, 06:59 AM Go to last post
  60. 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: 790
    02-09-2017, 01:01 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