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

Forum: R

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

  1. 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,225
    10-17-2012, 07:20 PM Go to last post
  2. 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: 124,747
    04-14-2016, 01:02 PM Go to last post
  3. Sticky Thread Sticky: R News and Updates

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

    Started by trinker‎, 08-24-2011 09:41 AM
    8 Pages
    1 2 3 ... 8
    news
    • Replies: 115
    • Views: 112,337
    09-29-2017, 08:14 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: 256,993
    09-13-2016, 03:35 PM Go to last post
  5. 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: 271,334
    11-05-2017, 08:22 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: 2
    • Views: 13,556
    07-20-2017, 10:43 AM Go to last post
  7. 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: 117,342
    12-13-2016, 05:47 PM Go to last post
  1. $ operator is invalid for atomic vectors

    Hi, I have a list ("lista" of dataframes (a, b, c, d)). For each dataframe I want the frequencies of z-column. I did the code and I...

    Started by slavia‎, 02-22-2013 09:17 AM
    • Replies: 2
    • Views: 6,546
    02-22-2013, 10:43 AM Go to last post
  2. [SOLVED] %% purpose and outcome

    I'm no mathematician and so %% may have a standard math meaning. The help file for the binary operator %% isn't really helpful to me. By...

    Started by trinker‎, 01-10-2012 01:37 PM
    • Replies: 5
    • Views: 1,894
    01-10-2012, 07:01 PM Go to last post
  3. %*% ?

    I am determined to learn more about the nuts and bolts of R syntax so I plan to keep asking questions until I get it right! often I see...

    Started by bugman‎, 09-19-2012 04:38 PM
    • Replies: 12
    • Views: 2,033
    09-19-2012, 10:30 PM Go to last post
  4. >Hist problem

    Hello all ;) (am i on the good part of forum? sorry if i didn't i will change that) I have a problem to make my hist, if you could help i would be...

    Started by Elca2‎, 03-03-2015 08:13 PM
    • Replies: 7
    • Views: 2,089
    03-03-2015, 10:43 PM Go to last post
  5. "#Not run" in R package example

    In some packages at the preamble of the example code they'll have #Not run Why?

    Started by derksheng‎, 10-13-2012 11:08 AM
    • Replies: 1
    • Views: 4,936
    10-13-2012, 11:27 AM Go to last post
  6. "Basic" Simulation Query

    Hi all, New to R and would appreciate some guidance. I have a datasheet that I want to take a fixed number of sub-samples from say, 1000 times. ...

    Started by allinorfold‎, 09-24-2012 01:30 PM
    • Replies: 7
    • Views: 2,506
    09-25-2012, 03:29 AM Go to last post
  7. "Cannot change working directory"

    I am a novice, and using the function setwd("desktop") and I am getting that error message. This hasn't happened for the past week or so I've been...

    Started by DV Man‎, 06-23-2016 01:52 PM
    • Replies: 3
    • Views: 1,572
    06-23-2016, 05:48 PM Go to last post
  8. "Connecting Letters" output in R?

    When conducting Tukey's HSD (Or any multiple comparison" in JMP, it is possible to get a so called "connecting letters" report that succintly...

    Started by SurfaceThought‎, 02-27-2012 02:04 PM
    • Replies: 2
    • Views: 10,031
    02-27-2012, 04:39 PM Go to last post
  9. "cross product" regression of all variables to find highest correlation?

    http://blog.nutonian.com/how-we-beat-nate-silver I just read this article where the Stats team has no understanding of the domain or variables...

    Started by CrunchAndSee‎, 12-11-2014 04:35 PM
    • Replies: 11
    • Views: 4,367
    12-22-2014, 11:15 PM Go to last post
  10. "Error in manova, need multiple responses"

    I'm a little baffled by this. I have a set of data with the following headers: Condition, Teacher, Level, All, C1, C2, C3 The first three are the...

    Started by JoynerCN‎, 11-15-2013 12:08 AM
    • Replies: 4
    • Views: 6,428
    08-30-2014, 03:24 PM Go to last post
  11. Question "Error in paste" when fitting a latent curve model using OpenMx

    Hi all, I am relatively new to R. I have been using it to estimate structural equation models using OpenMx. Now I am trying to fit a latent...

    Started by scisci‎, 12-09-2011 01:02 PM
    curve fitting, latent variable, openmx
    • Replies: 0
    • Views: 1,873
    12-09-2011, 01:02 PM Go to last post
  12. "getVarCov" in lme

    Is "getVarCov" of lme output gives variance-covariance of estimated "Standard Deviation" of random effects or variance-covariance of estimated...

    Started by Cynderella‎, 08-04-2015 11:45 AM
    lme, mixed effects model, nlme, r help
    • Replies: 0
    • Views: 849
    08-04-2015, 11:45 AM Go to last post
  13. "Hiding" objects in R?

    I have a collection of custom functions and data that I source in near the tops of my R scripts. Having so many visible objects in the workspace can...

    Started by SlideRule‎, 07-16-2011 01:54 PM
    • Replies: 8
    • Views: 6,240
    01-21-2012, 12:10 PM Go to last post
  14. "If Replace"

    Dear R users, I have been trying to rename/repalce the values in one column based on the values in another column i.e. I am trying " if replace" ....

    Started by ledzep‎, 09-23-2011 06:25 AM
    • Replies: 2
    • Views: 5,950
    09-23-2011, 12:43 PM Go to last post
  15. "No (non-missing) observations" error in jointModelBayes function

    Hi all, I'm trying to fit a joint longitudinal and time-to event model in R as shown...

    Started by hrj21‎, 11-22-2015 01:06 PM
    coxph, lme, longitudinal design
    • Replies: 0
    • Views: 2,290
    11-22-2015, 01:06 PM Go to last post
  16. "Optimal" Sets

    I'm an informatics guy who is blurring the line into statistics and data mining more and more every day. I've decided R will be my platform for...

    Started by TheInformagician‎, 05-06-2011 02:49 PM
    • Replies: 1
    • Views: 2,340
    05-10-2011, 07:28 AM Go to last post
  17. "parallel regression assumption" test r studio

    Hi Can anyone tell me how to do a parallel regression assumption test in Rstudio?

    Started by m.lindebjerg‎, 01-05-2013 05:30 AM
    ordered probit, regression analysis, test
    • Replies: 3
    • Views: 2,372
    01-05-2013, 04:46 PM Go to last post
  18. Exclamation "X" in front of my column names - I want it to stop!!

    I have a .csv file that I am trying to load into R. The problem is, it is putting an "X" in front of all of my column names (yes, they all start...

    Started by mgroves‎, 03-21-2013 03:23 PM
    • Replies: 2
    • Views: 8,374
    03-21-2013, 11:39 PM Go to last post
  19. 'corrplot' error: color limits should cover matrix

    Hello! I have been unsuccessful in wrapping my head around the error message I got from the 'corrplot' function of the 'corrplot' package. ...

    Started by gianmarco‎, 05-30-2015 03:11 AM
    • Replies: 6
    • Views: 4,031
    05-30-2015, 09:51 AM Go to last post
  20. Question 'Curving' grades in R

    Hi- I was curious if anybody could help me with this interesting question. If given a set of 400 grades (ranging from 0.0-1.0), write a script...

    Started by robil‎, 11-29-2008 04:47 AM
    • Replies: 1
    • Views: 3,468
    11-30-2008, 01:33 PM Go to last post
  21. 'for loops' elude me

    Here's a dirty little secret: I have no idea how to use loops!!! I'm not a programmer and R makes vectorization so easy that for loops haven't...

    Started by trinker‎, 11-16-2011 05:57 PM
    • Replies: 9
    • Views: 2,970
    11-16-2011, 10:17 PM Go to last post
  22. 'layout function'

    hello all, I am trying the layout function as I need to plot ten plots in 5 rows and 2 columns. I am trying the following command, but something is...

    Started by Deccantraps‎, 01-15-2013 07:23 PM
    layout function
    • Replies: 2
    • Views: 1,577
    01-16-2013, 07:20 AM Go to last post
  23. '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,254
    05-16-2017, 04:07 PM Go to last post
  24. 'predict' with a constraint value

    Dear all, Here is my problem: I have a, say, (financial) time series of length 170, and I would like to have predictive values from time 171 to...

    Started by Julien_4230‎, 10-27-2015 02:22 PM
    • Replies: 1
    • Views: 1,442
    10-28-2015, 06:37 AM Go to last post
  25. 'unexpected result from lpSolveAPI for primal test' error for Logistic Regression

    Hello, I am trying build a logistic regression model in R and I am also using 'safeBinaryRegression' package. When I enter the my model code and...

    Started by pandyav‎, 06-10-2015 04:15 PM
    • Replies: 1
    • Views: 2,449
    06-10-2015, 09:52 PM Go to last post
  26. (basic) column manipulation in R. help please! :(

    hello! i'm somewhat new to R so i've been trying to give myself little exercises to see if i can practice. say i have the following fake dataset: ...

    Started by will22‎, 07-10-2012 03:46 PM
    • Replies: 3
    • Views: 4,314
    07-10-2012, 06:57 PM Go to last post
  27. (Easy) question about 'apply' on arrays

    Hello everyone! So... I am trying to learn how to correctly use the 'apply' function while learning something about the Wishart distribution. R...

    Started by will22‎, 05-13-2013 11:24 PM
    apply, arrays, r-lang
    • Replies: 2
    • Views: 2,253
    05-14-2013, 12:23 AM Go to last post
  28. (gene & disease) gParent function - about a fantasy world

    A parent with her two alleles of the B314 gene "transmits" or gives a copy of one of her alleles to each of her offspring. If she has two bad...

    Started by greatOz‎, 05-04-2013 12:17 AM
    • Replies: 0
    • Views: 1,458
    05-04-2013, 12:17 AM Go to last post
  29. (R-Studio) Tools required to build C/C++ Code for R

    Hello, I want to make a last effort, to learn programming of C++ within R. I have seen, that I can also create C/C++ Files in R-Studio. But the...

    Started by consuli1‎, 02-11-2014 09:43 AM
    • Replies: 6
    • Views: 11,428
    02-11-2014, 09:11 PM Go to last post
  30. **Only for Poisson, Censored data, fitdistrplus*** the function mle failed to estimat

    Hello All, I am getting the following error and it only happens for interval censoring, It does not happen for left and right censoring, and it...

    Started by mohsenhs82‎, 02-14-2016 02:07 AM
    censored, fitdistplus, mle
    • Replies: 2
    • Views: 2,627
    02-14-2016, 02:58 PM Go to last post
  31. .First (automatic execution at start) in R and RStudio.

    If I am correct, the two platform below may be different in .First. 1) R software from http://www.r-project.org/ 2) Rstudio from...

    Started by jk90029‎, 06-14-2014 07:18 PM
    • Replies: 5
    • Views: 2,344
    06-14-2014, 11:49 PM Go to last post
  32. .First survey

    TS members I'm preparing various video presentations to assist people with learning R. One of the most useful tools for me has been the .First...

    Started by trinker‎, 10-22-2011 09:40 AM
    • Replies: 1
    • Views: 2,025
    10-22-2011, 11:04 AM Go to last post
  33. .First.lib failed for ‘snow’

    I already posted this on the r-help site but am under the gun to get this data set analyzed and need an answer sooner than later. The library snow...

    Started by trinker‎, 06-28-2011 10:22 PM
    • Replies: 2
    • Views: 62,858
    06-28-2011, 11:15 PM Go to last post
  34. .Fortran("mnb1",: subroutine mnb1: Missing values in argument 2

    hi there My dependent variable is a 4-level ordered factor and my independent variables consist of 4 factors. (looking at main effects only, no...

    Started by katerina‎, 08-12-2009 06:25 AM
    • Replies: 0
    • Views: 2,311
    08-12-2009, 06:25 AM Go to last post
  35. 1-way anova problem

    Hi, I am newbie in R programming and I need some help. I have two columns the first has 1000 values Y,N or U and the other has f or m. I want...

    Started by petros20‎, 04-28-2011 09:20 AM
    • Replies: 1
    • Views: 5,527
    06-05-2011, 03:01 AM Go to last post
  36. 100k response variables: ANCOVA

    I have 100,000 response variables for n=50 subjects, eg it looks like Response Subj1 Subj2 .... Subj50 Resp1 0.9 2.2 ...

    Started by Mean Joe‎, 05-14-2014 07:13 PM
    • Replies: 0
    • Views: 1,656
    05-14-2014, 07:13 PM Go to last post
  37. 2 dependent variables regression

    Hi all. I need help. I need to know how to run a regression combining 2 dependent variables against 29 independent variables. I'm not sure how to do...

    Started by Nevadarain‎, 10-30-2013 04:33 PM
    • Replies: 0
    • Views: 1,983
    10-30-2013, 04:33 PM Go to last post
  38. 2 Dimensional Coords

    I have 2 grids, one of latitude values and the other of longitude values. I am trying to write a netcdf file in R and need to define the dimensions,...

    Started by c422j381‎, 06-21-2013 04:28 PM
    • Replies: 0
    • Views: 1,328
    06-21-2013, 04:28 PM Go to last post
  39. [SOLVED] 2 graphs in the same plot

    HI All, I have the following 2 graphs: mat <- matrix(c(107.6937,75.23753,61.22222,39.83478,23.69258,14.5623,6.201099,3.622861,2.132939,...

    Started by marwah‎, 10-22-2013 03:56 PM
    • Replies: 4
    • Views: 2,500
    10-23-2013, 03:48 PM Go to last post
  40. 2 questions concerning correlation and data split

    Dear Colleagues, I have 2 questions concerning a calculation in R: data=rats data looks like that (always 5 weeks, 3 treatments, and 10 rats...

    Started by rupert 216‎, 02-15-2014 10:27 AM
    • Replies: 0
    • Views: 1,774
    02-15-2014, 10:27 AM Go to last post
  41. 2-Stage Linear Mixed Model in nlme

    I'm trying to fit a 2 stage lmm in nlme using lme(). I have predictors A, B, C, and D, and outcome Y. I want to fit a model in which Stage 1: A~B...

    Started by agp‎, 04-18-2013 06:24 PM
    • Replies: 0
    • Views: 1,488
    04-18-2013, 06:24 PM Go to last post
  42. 2-step GAM approach for ecological data: multiple questions

    Just to give some background, I'm modeling 99 macroinvertebrate species responses to sediment mud content. So, I basically have abundance data for 99...

    Started by brober‎, 08-07-2013 06:30 PM
    • Replies: 1
    • Views: 3,353
    08-29-2013, 10:00 PM Go to last post
  43. 2D and 3D Visualizations Over Time - Dealing with Intervals

    I'm getting the chance to deal with some pretty fun analytics at my utility, and in doing so, I am learning a lot about what has been done already....

    Started by bryangoodrich‎, 08-29-2013 04:56 PM
    • Replies: 5
    • Views: 2,309
    08-30-2013, 06:15 PM Go to last post
  44. 2D Movement simulation in R

    I need to make a simulation for this problem: Now i need to make both graphical simulation and count steps until they meet in R statistical...

    Started by leetz‎, 11-27-2013 08:53 AM
    • Replies: 1
    • Views: 1,886
    11-27-2013, 11:01 AM Go to last post
  45. Exclamation 2SLS for panel data (random effect)

    Hi, I am trying to estimate a 2sls using panel data (random effect model). I tried the same estimation in STATA using the ivtreg2 command....

    Started by Phdstudent2‎, 11-14-2013 11:30 AM
    • Replies: 0
    • Views: 1,649
    11-14-2013, 11:30 AM Go to last post
  46. 2SLS with heteroscedasticity

    Trying to learn 2SLS with correction for heteroscedasticity: library(AER) library(lmtest) IV2<-ivreg(wxfath ~ realE + inc,~realD,data=data)...

    Started by JesperHP‎, 05-24-2012 05:28 PM
    • Replies: 0
    • Views: 2,540
    05-24-2012, 05:28 PM Go to last post
  47. 3 by 2 factorial, trying to subset by row and column, so simple!

    column 1 values 1, 2, 3 column 2 values 1, 2, 3, 4 column 3 has pairs of responses for each, looking to subset by column 1 then column 2 so I can...

    Started by shoneone‎, 03-12-2015 04:29 PM
    • Replies: 1
    • Views: 1,338
    03-12-2015, 09:28 PM Go to last post
  48. 3 Lines Matlab Code to R Code (Generating autocorrelated random values)

    Hello, I have found the following Matlab Code for generating autocorrelated random values, with a defined autocorrelation on lag 1. Source:...

    Started by consuli‎, 03-08-2015 08:19 AM
    autocorrelation
    • Replies: 1
    • Views: 1,968
    03-09-2015, 07:33 AM Go to last post
  49. 3 way anova with nested factor in R - error term?

    I'm trying to figure out the model for a fully factorial experiment. These are my data: Treatment Day Hour Subject Response 01 01 ...

    Started by mouseandcat‎, 01-16-2014 07:23 PM
    • Replies: 1
    • Views: 2,223
    01-16-2014, 08:00 PM Go to last post
  50. 3-Way ANOVA in R?

    Hey, Trying to get my code to work, but it's not giving me the F-Values or P-Values in R when I run it how I would normally. modeldel =...

    Started by Rsinton‎, 04-21-2012 07:42 PM
    2 Pages
    1 2
    • Replies: 15
    • Views: 25,029
    04-22-2012, 12:02 AM Go to last post
  51. 3D Circular contour plot

    Hey guys, I want to make a 3D circular/diamond contour plot using the following data, but wanted to know if it was possible... X and Y are...

    Started by agp‎, 02-20-2013 10:04 PM
    • Replies: 2
    • Views: 3,622
    02-21-2013, 01:16 AM Go to last post
  52. 3D confidence ellipsoid

    Is there a function or package?

    Started by mp83‎, 04-02-2010 05:01 PM
    • Replies: 5
    • Views: 6,725
    11-30-2011, 01:22 PM Go to last post
  53. 3D Pie

    Hi all, I manage to do this, But, the slice it is the same size. Can you help me to check what I'm doing wrong? Code: > library(plotrix)...

    Started by sheikh76‎, 03-22-2011 12:43 AM
    • Replies: 6
    • Views: 4,070
    03-30-2011, 09:31 PM Go to last post
  54. 50% / 97.5% test

    In the '50%/97.5%' test in bird taxonomy, the test is passed if sample means are two average standard deviations or more apart, controlling for...

    Started by Layo909‎, 06-25-2012 11:52 AM
    • Replies: 2
    • Views: 2,587
    06-26-2012, 05:57 AM Go to last post
  55. 95% CI for the mean of grouped data

    Hi Guys, I was wondering how to calculate the 95% CI for the mean for the attached data. The grouping variable is under the label 'metodo'. Any...

    Started by gianmarco‎, 12-31-2013 05:17 AM
    • Replies: 4
    • Views: 1,960
    12-31-2013, 10:57 AM Go to last post
  56. 95% confidence interval for the difference in true proportions for Chi-squared test

    Hello, Apologies if this has been covered, but if so I couldn't find it. Can anyone please tell me how to calculate the 95% confidence interval...

    Started by cewylie‎, 02-04-2014 10:36 AM
    chi-squared, confidence interval
    • Replies: 0
    • Views: 2,766
    02-04-2014, 10:36 AM Go to last post
  57. 95% credible interval for mean average of data

    I have been trying to work this out for ages and I just cannot get my head around it. The population I am interested in is the number of...

    Started by LucyWillow‎, 03-10-2014 09:55 AM
    • Replies: 0
    • Views: 1,579
    03-10-2014, 09:55 AM Go to last post
  58. ? on if statement

    Why does this code trigger an error? if(data1$col1>100) {cor(data1$col2, data1$col3)} this error message comes up NA Warning message: In if...

    Started by buddyreno‎, 11-17-2012 09:34 PM
    • Replies: 8
    • Views: 1,885
    11-18-2012, 02:07 PM Go to last post
  59. A bootstrap question for "R" users

    Hi everybody, I have to perform a statistical test to confirm the difference of the mean of a certain variable between male and female species...

    Started by statnew‎, 02-28-2006 03:08 AM
    • Replies: 0
    • Views: 3,073
    02-28-2006, 03:08 AM Go to last post
  60. A bug: help would be greatly appreciated!

    Hello-- I am experiencing a bug in my program that I do not know how to fix! I was hoping someone could please help me. In the step below, I...

    Started by jmill40000‎, 03-08-2011 09:38 AM
    • Replies: 4
    • Views: 3,503
    03-08-2011, 11:59 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