1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
+ Post New Thread
Page 2 of 69 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 52 ... LastLast
Threads 61 to 120 of 4121

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
    27 Pages
    1 2 3 ... 27
    • Replies: 391
    • Views: 269,841
    11-05-2017, 08:22 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
    • Replies: 115
    • Views: 111,664
    09-29-2017, 08:14 PM Go to last post
  3. 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: 2
    • Views: 13,472
    07-20-2017, 10:43 AM Go to last post
  4. 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: 116,855
    12-13-2016, 05:47 PM Go to last post
  5. 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: 255,632
    09-13-2016, 03:35 PM Go to last post
  6. 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: 124,208
    04-14-2016, 01:02 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: 26,133
    10-17-2012, 07:20 PM Go to last post
  1. How to take out data set from r-package?

    It is known that r-packages can contain data set. How (in the general case) take out this data set (to open in Excel)? If possible, please explain...

    Started by Ted Beginner‎, 07-30-2017 05:13 AM
    data set, r-package
    • Replies: 1
    • Views: 635
    07-30-2017, 06:17 PM Go to last post
  2. Caret package SAF/GAF error; "replacement has 1 row, data has 0"

    In R, whenever I try using the safs/gafs interface via. caret I keep running into this specific error: Error in { : task 1 failed - "replacement...

    Started by aranglol‎, 07-27-2017 08:09 PM
    caret, feature selection, genetic algorithm, random forest
    • Replies: 0
    • Views: 193
    07-27-2017, 08:09 PM Go to last post
  3. monitoring of autocorrelated linear profiles using generalised estimation equation

    Hi, I am Charles Okon a research student from Nigeria. Question How can I compute the ARL comparisons under different shifts of intercept,...

    Started by charlesokon‎, 07-13-2017 04:19 AM
    • Replies: 1
    • Views: 343
    07-27-2017, 01:50 PM Go to last post
  4. hope to make a sound when my program is finished

    Dear- In XP and Windows7, I used simple R command system("c:\\sndrec32 /embedding /play c:\\Myfile\\sound12.wav", wait=FALSE) to make a...

    Started by jk90029‎, 07-24-2017 11:53 PM
    • Replies: 1
    • Views: 751
    07-25-2017, 12:47 AM Go to last post
  5. Error in sort.list(y) ?

    I downloaded a dataset from the following link https://archive.ics.uci.edu/ml/datasets/human+activity+recognition+using+smartphones This is what...

    Started by t.wang21@yahoo.com.au‎, 07-17-2017 06:07 AM
    • Replies: 3
    • Views: 1,105
    07-20-2017, 12:25 PM Go to last post
  6. Combine two epidemiology netcdf files in R

    Hello, I have 2 netCDF files (each .nc file has 4 variables: Susceptible, Infected, Recovered and Inhabitable. The dimension of each variable is...

    Started by ashokkrish‎, 07-14-2017 02:15 AM
    geospatial, ncdf, rprogramming
    • Replies: 1
    • Views: 675
    07-19-2017, 10:02 PM Go to last post
  7. Generate Grouped Data with Exact Correlations, Means, and SD

    want to generate data with the following constraints. There is one factor and two numeric variables. Note that the desired mean structure is broken...

    Started by cla18‎, 07-17-2017 03:07 PM
    anova, rstatistics, simulated_data, split-plot model mixed
    • Replies: 1
    • Views: 299
    07-17-2017, 03:52 PM Go to last post
  8. Openbugs in R, log.txt not found

    Hi there, I am a new comer of both R and Openbugs. Now I am trying to run a multi-level model using Openbugs in R. I can get the result in the...

    Started by liushuci‎, 07-15-2017 03:07 AM
    • Replies: 1
    • Views: 361
    07-16-2017, 06:27 AM Go to last post
  9. How to generate many load profiles of EV superchargers in R

    Hi guys :wave:, I make balance simulation of load profile electric vehicle chargers in R. I use CHADEMO (45 kW). I need to genarate a lot...

    Started by creat‎, 07-13-2017 01:00 AM
    function, program r, simulation study
    • Replies: 0
    • Views: 280
    07-13-2017, 01:00 AM Go to last post
  10. H2o package error

    I use the h2o.init() function to initiatlize an H2o cluster but have had an error because of a long path. I am using Windows and R and H2o is in a...

    Started by t.wang21@yahoo.com.au‎, 07-13-2017 12:48 AM
    • Replies: 0
    • Views: 458
    07-13-2017, 12:48 AM Go to last post
  11. what is the best R package for mixed logit models?

    Hello everyone, I would like to estimate mixed logit models (e.g. mixed effect binary or ordered logit models) using mainly individual specific...

    Started by t.wang21@yahoo.com.au‎, 07-03-2017 08:02 AM
    • Replies: 3
    • Views: 1,116
    07-13-2017, 12:43 AM Go to last post
  12. How do I resolve 'Error singular gradient matrix at initial parameter estimates' in R

    Hello everyone, I am a PhD student and an intermediate in R. I work on metal (copper and zinc) mixtures toxicity in algae. I need help from...

    Started by Rafael007‎, 07-11-2017 11:36 AM
    • Replies: 2
    • Views: 393
    07-12-2017, 01:47 PM Go to last post
  13. [Simple R question] editor change

    Dear- Hi, long time no see. After starting RStudio, when we change a file a (existing) a <- edit(a) However, since RStudio editor is NO...

    Started by jk90029‎, 07-09-2017 08:29 PM
    • Replies: 2
    • Views: 559
    07-10-2017, 02:46 PM Go to last post
  14. How do I solve this dummy variable VaR problem? help!!!

    the problem is attached on a picture

    Started by AugusteDupin‎, 07-02-2017 04:20 PM
    • Replies: 1
    • Views: 509
    07-08-2017, 03:19 PM Go to last post
  15. Probability

    HI I have the attached data and would like to calculate: When the Status is Re-Activation what the probability is of it going past 0...

    Started by Danii_Pink‎, 07-06-2017 10:59 PM
    • Replies: 1
    • Views: 416
    07-07-2017, 12:10 PM Go to last post
  16. cross-validated predictions from glmnet

    Does anyone know if glmnet produces cross-validated predictions ie predictions for each observation fold that was left out of the model building (ie...

    Started by statlimp‎, 07-04-2017 02:26 AM
    cross-validation, glmnet
    • Replies: 2
    • Views: 781
    07-06-2017, 01:03 AM Go to last post
  17. error in using mlogit package

    Hello everyone, I am learning how to use mlogit package using the attached document. Whenever I enter the following command, however, I have got the...

    Started by t.wang21@yahoo.com.au‎, 07-03-2017 12:24 AM
    • Replies: 0
    • Views: 576
    07-03-2017, 12:24 AM Go to last post
  18. Extracting results from list objects (after performing multiple imputations)

    Dear TS, I have a question regarding extracting results from a list object. Here is an example: library(survival) library(mice) #...

    Started by ledzep‎, 06-27-2017 05:22 AM
    • Replies: 2
    • Views: 430
    06-29-2017, 06:43 AM Go to last post
  19. Modifying a R function

    Dear TS, I am trying to modify an existing R function from the MICE package. The standard implementation of multiple imputation in the MICE...

    Started by ledzep‎, 06-29-2017 06:36 AM
    • Replies: 0
    • Views: 626
    06-29-2017, 06:36 AM Go to last post
  20. how to plot a scatterplot with three different y axes?

    Hello, I have a dataset like the following: mydata <- structure(list(historical_sources = c(7.5, 6, 10, 2.5, 4.5, 2, 4.5, 2.5, 1, 7, 4.5, 9,...

    Started by gianmarco‎, 06-15-2017 11:09 AM
    • Replies: 4
    • Views: 1,459
    06-21-2017, 12:01 PM Go to last post
  21. how to extract the F value in anova from a permutation test

    Hi I did a permutation test using the following code perm=replicate(1000,anova(lm(sample(genenormal)~as.factor(snptest1)))) the I got the...

    Started by Marwah Soliman‎, 06-12-2017 11:47 PM
    rcode, rprogram
    • Replies: 1
    • Views: 620
    06-13-2017, 02:35 PM Go to last post
  22. Question Time-series data with non-unique time stamps, how to fix?

    I have a large data set that is in a dataframe object. My end goal is to convert it into a zoo object and run some time-series regressions. ...

    Started by doriengrd‎, 06-02-2017 01:34 PM
    • Replies: 1
    • Views: 827
    06-13-2017, 02:27 PM Go to last post
  23. reading dates from Excel: as.Date has problem with 1 date that looks just like others

    I have an Excel file with a bunch of dates. They all look as if they are formatted exactly the same. Here are 3 pasted from Excel: These...

    Started by efoss‎, 06-10-2017 12:02 AM
    • Replies: 1
    • Views: 472
    06-10-2017, 02:12 AM Go to last post
  24. Applying prepared script for one file to many files in a directory?

    I am having a problem with the main loop.it succeeded to finish reading and writing from the first file in my listfile(12 files) but failed when it...

    Started by Jonsson‎, 04-30-2012 12:36 PM
    2 Pages
    1 2
    r programming help
    • Replies: 15
    • Views: 3,628
    06-02-2017, 10:43 PM Go to last post
  25. 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: 1,570
    05-21-2017, 12:27 PM Go to last post
  26. 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: 1,026
    05-19-2017, 02:28 AM Go to last post
  27. 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: 1,150
    05-17-2017, 10:32 AM Go to last post
  28. 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: 993
    05-16-2017, 07:55 PM Go to last post
  29. '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: 1,238
    05-16-2017, 04:07 PM Go to last post
  30. 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: 1,388
    05-16-2017, 07:28 AM Go to last post
  31. 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: 2,205
    05-15-2017, 01:44 PM Go to last post
  32. 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: 762
    05-15-2017, 08:54 AM Go to last post
  33. 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: 1,243
    05-14-2017, 10:47 AM Go to last post
  34. 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: 1,332
    05-13-2017, 08:38 PM Go to last post
  35. 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: 1,517
    05-11-2017, 05:27 PM Go to last post
  36. 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: 1,626
    05-05-2017, 09:55 AM Go to last post
  37. 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: 1,206
    05-05-2017, 05:04 AM Go to last post
  38. 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: 1,023
    05-04-2017, 07:58 AM Go to last post
  39. 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: 1,435
    05-02-2017, 04:10 PM Go to last post
  40. 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: 1,382
    05-01-2017, 10:17 AM Go to last post
  41. 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: 946
    05-01-2017, 04:19 AM Go to last post
  42. 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: 1,774
    04-30-2017, 10:48 AM Go to last post
  43. 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: 1,990
    04-21-2017, 04:03 PM Go to last post
  44. [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: 15,600
    04-19-2017, 09:56 AM Go to last post
  45. 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: 1,613
    04-18-2017, 07:41 PM Go to last post
  46. 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: 1,791
    04-18-2017, 12:00 PM Go to last post
  47. 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: 1,324
    04-17-2017, 11:03 PM Go to last post
  48. 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: 1,367
    04-15-2017, 06:28 AM Go to last post
  49. 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: 1,227
    04-14-2017, 10:31 AM Go to last post
  50. [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: 842
    04-12-2017, 05:42 AM Go to last post
  51. 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: 1,995
    04-11-2017, 06:45 PM Go to last post
  52. 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: 1,070
    04-10-2017, 10:55 PM Go to last post
  53. 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: 1,394
    04-07-2017, 12:44 PM Go to last post
  54. 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: 1,449
    04-07-2017, 08:38 AM Go to last post
  55. 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: 1,500
    04-03-2017, 01:25 AM Go to last post
  56. 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: 3,192
    03-28-2017, 10:53 AM Go to last post
  57. 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: 1,529
    03-28-2017, 10:51 AM Go to last post
  58. 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: 2,338
    03-28-2017, 10:43 AM Go to last post
  59. 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: 1,646
    03-28-2017, 10:40 AM Go to last post
  60. 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: 2,009
    03-28-2017, 10:13 AM Go to last post

+ Post New Thread
Page 2 of 69 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 52 ... 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