1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    1,861
+ Post New Thread
Page 1 of 69 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 4102

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: 390
    • Views: 256,256
    10-13-2017, 11:36 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: 115
    • Views: 106,213
    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: 12,490
    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: 112,580
    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: 243,390
    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
    information
    • Replies: 100
    • Views: 119,659
    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: 25,419
    10-17-2012, 07:20 PM Go to last post
  1. Use treatment effect as input for meta-analysis, not 2 groups

    Hey, I'm new to R and currently trying to teach myself how to use it with various guides. Problem is, none of the guides cover the scenario I'm...

    Started by Kseroks‎, 10-11-2017 07:20 AM
    meta-analysis, treatment effect
    • Replies: 5
    • Views: 157
    Today, 08:19 AM Go to last post
  2. Calculate power

    We were given an R code for our home work, but it doesn't seem to work. Assignment is: N = 500, best estimate of the effect size is correlation I...

    Started by Nachthauch‎, 10-15-2017 09:45 AM
    • Replies: 6
    • Views: 190
    10-15-2017, 04:04 PM Go to last post
  3. The application of graph theory in insurance cases

    Can you give me advice in graph theory? How do I analyze a sample of insurance events (road accidents with two participants) for possible fraud in...

    Started by psygrm‎, 10-15-2017 06:48 AM
    • Replies: 0
    • Views: 68
    10-15-2017, 06:48 AM Go to last post
  4. RJags Non-informative hyper-prioris Jeffreys prior?

    Hello. I have a model where a random variable is normal distributed. And I wanna compute bayesian analysis with hyper-priors for the mean and the...

    Started by PJones‎, 10-08-2017 04:16 AM
    • Replies: 1
    • Views: 145
    10-09-2017, 10:40 AM Go to last post
  5. Storing all function and data / for future restoring in a new PC.

    Dear- It seems that there is NO easy way to move all functions and data to a new PC. There is an alternative way using dump(ls(),...

    Started by jk90029‎, 10-07-2017 12:36 AM
    • Replies: 5
    • Views: 213
    10-08-2017, 08:07 PM Go to last post
  6. Trying to write R function, binomial distribution

    Hello! I am looking for some help with an Intro to R homework from a professor who doesn't clearly explain the things we need to know for the...

    Started by PitcherPlant‎, 10-06-2017 01:42 PM
    binomial distribution, function writing, r code
    • Replies: 2
    • Views: 172
    10-08-2017, 03:15 PM Go to last post
  7. Exclamation Manipulations on CO2 dataset on R

    Hi everyone, I just started a new course this semester on R. I never used it and i'm stuck on these questions from 3 days, it would be really...

    Started by Ludovico_R‎, 10-08-2017 09:57 AM
    macos
    • Replies: 1
    • Views: 111
    10-08-2017, 01:35 PM Go to last post
  8. how to split one column in multiple columns in r

    hi, I have the following data, A2M -0.313797611 A2M 0.74108697 A2M -0.364874718 A2M 0.296491814 A2M -0.387285569 A2M 0.58645548...

    Started by Marwah Soliman‎, 10-05-2017 05:15 AM
    rcode
    • Replies: 9
    • Views: 242
    10-05-2017, 04:27 PM Go to last post
  9. repeated measures Manova: error E matrix singlar?

    I tried to do a rp MANOVA but for some reason R is saying that it is impossible to do a MANOVA and I should do a ANOVA? The error seens to tell that...

    Started by silkevos‎, 10-05-2017 03:52 AM
    • Replies: 0
    • Views: 76
    10-05-2017, 03:52 AM Go to last post
  10. How to calculate effect size f-squared in PLS-SEM using R programming

    Dear R experts, I am conducting a research using PLS-SEM approach using plspm package. However, I have no idea how to calculate effect size...

    Started by chiaratee‎, 10-04-2017 07:52 PM
    cohen's f2, effect size, path modelling, pls-sem, plspm
    • Replies: 0
    • Views: 108
    10-04-2017, 07:52 PM Go to last post
  11. Multiple A/B test in R: methodology and any know tutorial

    Dear All I'm currently facing the following situation. We have run a marketing campaign providing to some members one of two type of coupones. In...

    Started by davidecortellino‎, 10-03-2017 10:30 AM
    a/b testing, glm, post hoc
    • Replies: 0
    • Views: 105
    10-03-2017, 10:30 AM Go to last post
  12. Mixed model for time trend in R package lme4

    Hello! I would very much appreciate if anyone could help with my model in lme4. I have a dataset with 100 persons, specified by ID. Each of...

    Started by anker‎, 10-03-2017 03:24 AM
    lme random-effect, lme4, mixed model, repeated measures, time trend
    • Replies: 0
    • Views: 102
    10-03-2017, 03:24 AM Go to last post
  13. MERGE issues

    I've run this code (almost exactly) before and have not had issues but now I keep getting an error saying: ERROR IN FIX.BY(BY.X,X) : 'BY' MUST...

    Started by Weibull‎, 10-02-2017 05:52 AM
    • Replies: 1
    • Views: 127
    10-02-2017, 06:02 AM Go to last post
  14. appending cluster membership to an existing dataframe

    Hello, this may prove very basic, but I couldn't find a solution by myself. Any help will be more than appreciated. Suppose I have the following...

    Started by gianmarco‎, 09-28-2017 02:35 AM
    • Replies: 0
    • Views: 104
    09-28-2017, 02:35 AM Go to last post
  15. Predictive modelling problem

    Hi, I want to use predictive modelling to predict the sales from September 2017 to February 2018. The numbers below are randomly chosen. >...

    Started by FreddyakaMark‎, 09-25-2017 03:57 AM
    • Replies: 0
    • Views: 198
    09-25-2017, 03:57 AM Go to last post
  16. Empty cell when importing csv file

    Dear- We are going to import a csv format file to R system. For example, a <- read.csv(file="c:\\order4.csv", header=TRUE, sep=","); ...

    Started by jk90029‎, 09-20-2017 08:13 PM
    • Replies: 2
    • Views: 344
    09-22-2017, 10:58 PM Go to last post
  17. how do I create a Line chart from a data frame?

    i'm quite the newbie with R and i want to create a line chart starting from this dataset: where every line points out the number of the smell...

    Started by Serphentelm‎, 09-20-2017 08:53 AM
    • Replies: 2
    • Views: 217
    09-20-2017, 11:07 AM Go to last post
  18. Help on nested for loop please!!!

    Dear R experts, I am struggling with my raw data. I am trying to filter data by a nested loop, it has been running for days. I think my loop...

    Started by tobi‎, 09-06-2017 07:13 PM
    • Replies: 4
    • Views: 346
    09-20-2017, 09:14 AM Go to last post
  19. How to add class labels for each value in a dataframe according to class breaks?

    Hello, I have a dataframe whose column $value stores some values I want to break into (say) three classes using the Jenks natural breaks method. ...

    Started by gianmarco‎, 09-14-2017 11:15 AM
    • Replies: 5
    • Views: 360
    09-15-2017, 02:23 AM Go to last post
  20. Moving rows

    I have the following dataset: ID HIV Status Date 1 FALSE 22-12-99 1 TRUE 22-12-99 2 FALSE 22-12-99 2 TRUE 22-12-99 2 TRUE 21-12-99...

    Started by helpwithstats‎, 09-08-2017 11:52 AM
    • Replies: 3
    • Views: 383
    09-12-2017, 09:36 AM Go to last post
  21. cannot make R leave enough room for labels in silhouette plot ('cluster' package)

    Dear All, I have problems making R plot the objects' labels in the 'silhouette' plot (out from the 'cluster' package). See the attached image....

    Started by gianmarco‎, 09-09-2017 04:06 AM
    • Replies: 2
    • Views: 253
    09-09-2017, 10:36 AM Go to last post
  22. [SOLVED] Overlay function on a scatterplot in ggplot2

    So I've been trying to figure this one out for a while and I haven't been able to. I have this nice scatterplot x1 <- rnorm(200, 3, ...

    Started by spunky‎, 09-07-2017 02:09 PM
    • Replies: 4
    • Views: 289
    09-07-2017, 03:44 PM Go to last post
  23. GGPLOT2 - Sub Groups

    Hi, I'm trying to create a stratified forest plot in ggplot2. In our analyses, we prepared a logistic regression model for each strata (Immigrants...

    Started by jamesmartinn‎, 07-14-2017 10:43 AM
    • Replies: 1
    • Views: 478
    09-06-2017, 02:00 PM Go to last post
  24. is it possible to build customized (nice-looking) tables in R?

    Hello All, I am wondering whether is it possible in R to produce nicely formatted tables, whose cell values (and headers) are worked out from pieces...

    Started by gianmarco‎, 09-06-2017 03:14 AM
    • Replies: 0
    • Views: 141
    09-06-2017, 03:14 AM Go to last post
  25. Mixed factor and numeric model

    Hi, I have a predictive model with three predictive variables: two factors, Status and StatusNew; and a numeric one, Weekband. I'm trying to use...

    Started by SpoodleBeast‎, 09-05-2017 01:48 AM
    • Replies: 0
    • Views: 184
    09-05-2017, 01:48 AM Go to last post
  26. Robust Factorial Repeated Measures Anova in R with the WRS2 package

    Hello! I'm trying to run a somewhat esoteric statistical test, and I'm having trouble. The experiment is a repeated-measures design, and the...

    Started by Gabriel Diaz‎, 09-01-2017 12:34 PM
    • Replies: 0
    • Views: 278
    09-01-2017, 12:34 PM Go to last post
  27. R ggplot NO alphabatize

    I am plotting box plots for several variables using ggplot. However, ggplot is alphabetizing the variables and I want them to present as the order I...

    Started by leonedelman‎, 08-23-2017 01:43 PM
    ggplot2
    • Replies: 4
    • Views: 433
    08-28-2017, 08:28 PM Go to last post
  28. Question plotting the effect of treatment on plants

    Hello, I have some plant data, which contains several plant groups. Within the plant groups there are different plant sizes (devided in groups)....

    Started by lotw‎, 08-28-2017 09:35 AM
    • Replies: 1
    • Views: 248
    08-28-2017, 07:44 PM Go to last post
  29. calculate (column-wise) how many entries are larger than the first one

    Hello, I have the following small dataframe (11 rows, 3 columns). What I would like to accomplish is to get a new dataframe (1 row, 3 columns) in...

    Started by gianmarco‎, 08-25-2017 01:24 AM
    • Replies: 2
    • Views: 231
    08-28-2017, 07:38 PM Go to last post
  30. [SOLVED] geom_boxplot

    Folks, I am seriously getting annoyed today. I am plotting calcium using geom_boxplot. The x-axis is as series of sites and looking at RC1, there...

    Started by bugman‎, 08-23-2017 11:51 PM
    • Replies: 1
    • Views: 229
    08-23-2017, 11:58 PM Go to last post
  31. R cannot find an object within a loop

    My R programming skill is quite basic I know, so be gentle! I am having difficulties in understanding what I am doing wrong here. Upon running the...

    Started by gianmarco‎, 08-22-2017 11:08 AM
    • Replies: 8
    • Views: 367
    08-23-2017, 09:52 AM Go to last post
  32. Linear mixed model subject level

    Dear All I am new to R and I am implementing a linear mixed model for a variance shift outlier model. I am wondering if someone in the group can...

    Started by isingini‎, 07-31-2017 12:53 PM
    • Replies: 1
    • Views: 455
    08-19-2017, 01:34 PM Go to last post
  33. cannot draw a histogram on R

    Im trying to draw a histogram with the code below. stat <- read.csv("C://Desktop//lung cancer.csv",header=T) x = (2000:2013) y = (0:12000)...

    Started by polly123‎, 08-18-2017 09:13 PM
    r histogram
    • Replies: 2
    • Views: 777
    08-19-2017, 03:06 AM Go to last post
  34. Data frame of results

    Hi all Suppose I have 10 different models as such: fit1.glm <- glm(admit ~ gre , data = dat, family = "binomial") fit2.glm <- glm(admit ~ gpa,...

    Started by leonedelman‎, 08-18-2017 10:07 AM
    dataframe, glm, odds ratio
    • Replies: 1
    • Views: 363
    08-18-2017, 10:21 AM Go to last post
  35. Odds ratio plot on log scale

    Greetings, I have had difficulties plotting results from GLM logit models to show up as odds ratios on a log scale. Ultimately I want to obtain...

    Started by leonedelman‎, 08-17-2017 03:17 PM
    logit, odds ratio, plot
    • Replies: 3
    • Views: 347
    08-18-2017, 09:25 AM Go to last post
  36. Shaded confidence bands for parametric survival w/ survreg

    Hi all, I'd like to plot shaded confidence bands for a parametric survival curve fitted with survreg. It's easy to plot dashed confidence...

    Started by azaleah_‎, 08-15-2017 07:23 PM
    shaded confidence bands, survival function, survreg
    • Replies: 0
    • Views: 187
    08-15-2017, 07:23 PM Go to last post
  37. NBSVM in R

    Hi, I need some guid in write NBSVM cod in R. pleas help me

    Started by EhsanZereshki‎, 08-10-2017 08:24 AM
    2 Pages
    1 2
    • Replies: 15
    • Views: 859
    08-11-2017, 02:09 AM Go to last post
  38. Scoring Dataset (easy question)

    I have a dataset "Xs" and also some model coefficients. I would like to score the dataset using the coefficients. The dataset has 7 items and there...

    Started by hlsmith‎, 08-09-2017 08:52 AM
    • Replies: 3
    • Views: 291
    08-10-2017, 11:29 AM Go to last post
  39. LASSO (binomial) p-value and confidence intervals (selectiveInference) error

    I was just trying to quickly check out the "selectiveInference" package to slap confidence intervals on my beta coefficients from a glmnet (LASSO:...

    Started by hlsmith‎, 07-08-2017 10:06 PM
    • Replies: 5
    • Views: 557
    08-07-2017, 07:26 PM Go to last post
  40. Computing skewness and other distributional Characteristics when pdf is known

    Hi everybody I want to compute skewnesss and other distributional characteristics of a gamma distribution when its shape and scale parameters are...

    Started by deantop‎, 08-06-2017 12:35 AM
    gamma distribution
    • Replies: 1
    • Views: 253
    08-06-2017, 06:30 AM Go to last post
  41. Adjust for overdispersion in glm family = binomial (logit) model

    I have an overdispersion problem in my model.. I have the following data: y= succes/fail (%) x= Var1 : Temperature data...

    Started by lotw‎, 08-04-2017 04:26 AM
    binomial glm, glm, overdispersion, sigma
    • Replies: 1
    • Views: 278
    08-04-2017, 09:36 AM Go to last post
  42. 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: 450
    07-30-2017, 06:17 PM Go to last post
  43. 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: 148
    07-27-2017, 08:09 PM Go to last post
  44. 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: 295
    07-27-2017, 01:50 PM Go to last post
  45. 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: 537
    07-25-2017, 12:47 AM Go to last post
  46. 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: 671
    07-20-2017, 12:25 PM Go to last post
  47. 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: 479
    07-19-2017, 10:02 PM Go to last post
  48. 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: 266
    07-17-2017, 03:52 PM Go to last post
  49. 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: 327
    07-16-2017, 06:27 AM Go to last post
  50. 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: 232
    07-13-2017, 01:00 AM Go to last post
  51. 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: 344
    07-13-2017, 12:48 AM Go to last post
  52. 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: 811
    07-13-2017, 12:43 AM Go to last post
  53. 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: 331
    07-12-2017, 01:47 PM Go to last post
  54. [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: 454
    07-10-2017, 02:46 PM Go to last post
  55. 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: 402
    07-08-2017, 03:19 PM Go to last post
  56. 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: 373
    07-07-2017, 12:10 PM Go to last post
  57. 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: 572
    07-06-2017, 01:03 AM Go to last post
  58. 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: 428
    07-03-2017, 12:24 AM Go to last post
  59. 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: 405
    06-29-2017, 06:43 AM Go to last post
  60. 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: 498
    06-29-2017, 06:36 AM Go to last post

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