1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,853
+ Post New Thread
Page 17 of 69 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 67 ... LastLast
Threads 961 to 1020 of 4122

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: 271,530
    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
    news
    • Replies: 115
    • Views: 112,419
    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,562
    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: 117,400
    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: 257,196
    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: 124,806
    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,230
    10-17-2012, 07:20 PM Go to last post
  1. path analysis using lavaan

    Dear all, I am running a path analysis with a binary dependent variable using lavaan. I specified the model to use the "logit" function, and...

    Started by natoe‎, 02-23-2015 07:43 AM
    • Replies: 3
    • Views: 2,872
    02-24-2015, 11:31 AM Go to last post
  2. R Software/ Basic Row Calculations

    Hello Talk Stats R Forum Board : ) I am migrating from Excel to R and want to see how create a new column, "z", that would total up the rows...

    Started by R2015‎, 02-22-2015 02:35 PM
    • Replies: 3
    • Views: 1,570
    02-24-2015, 12:34 AM Go to last post
  3. Importing data into R from teh internetz?

    hi! for an assignment i need to import the data set found here: https://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data into...

    Started by spunky‎, 02-19-2015 12:42 AM
    • Replies: 11
    • Views: 2,749
    02-23-2015, 11:55 PM Go to last post
  4. dunn.test

    Hi everyone!! I'm quite new with R, so I hope you can help me :) I'm working with bacteria pyrosequencing data and I'm doing the statistical...

    Started by Lidia_N‎, 02-23-2015 04:18 AM
    dunn.test, kruskal-wallis, sequence data
    • Replies: 2
    • Views: 2,799
    02-23-2015, 08:53 AM Go to last post
  5. regsubset function in R

    I'm using regsubset for variable selection but when i specify nvmax to a given value lets say 2, it regresses 3 variables instead of 2. Does anyone...

    Started by excelmac‎, 02-20-2015 08:01 PM
    regsubsets
    • Replies: 0
    • Views: 3,772
    02-20-2015, 08:01 PM Go to last post
  6. Very elementary question

    Hello all, I'm very new to R. I'm working on a small research project with my hospital that is only using basic descriptive statistics. I decided to...

    Started by ahimsel‎, 02-20-2015 08:00 AM
    • Replies: 0
    • Views: 1,049
    02-20-2015, 08:00 AM Go to last post
  7. Question R

    Hi, I'm wondering about, how to view the contents/codes in a saved R -workspace sometime back??

    Started by Dhaneesh‎, 02-19-2015 05:33 AM
    • Replies: 4
    • Views: 1,598
    02-20-2015, 07:38 AM Go to last post
  8. a stupid question about marginal effects of logit model in R

    Hello, I am estimation logistic regression models in R and the results also include marginal effects. given the nonlinear relation between the...

    Started by t.wang21@yahoo.com.au‎, 02-15-2015 08:52 PM
    • Replies: 7
    • Views: 3,394
    02-20-2015, 12:24 AM Go to last post
  9. Merging Data Into Raster Image

    Hey there, I need a little help with some R syntax to complete what (I think) is a fairly straightforward task- hopefully someone can assist! :) ...

    Started by starr15‎, 02-19-2015 04:16 AM
    • Replies: 0
    • Views: 1,164
    02-19-2015, 04:16 AM Go to last post
  10. Merge to dataframes in R

    In SAS i use this code to merge two datasets with more than one BY variable and to keep all elements from a-dataset that are not in the b-dataset ...

    Started by dezo_pp‎, 02-19-2015 03:57 AM
    • Replies: 0
    • Views: 976
    02-19-2015, 03:57 AM Go to last post
  11. SEM in R - Comparison of groups across variables

    Hello, I am to compare several groups (depressed, bipolar, and controls) on many variables and I was advised to use SEM in R. I am teaching myself...

    Started by sams garden‎, 02-18-2015 09:23 AM
    • Replies: 1
    • Views: 1,821
    02-18-2015, 05:47 PM Go to last post
  12. Error: data must be of a vector type, was 'NULL'

    Hi all, I'm trying to run the gmm() function and receiving the above error. I've changed the data information to 'mydata' (for the data file) and...

    Started by DSPorter‎, 02-17-2015 06:01 PM
    • Replies: 4
    • Views: 10,831
    02-18-2015, 03:28 PM Go to last post
  13. Creating nice looking tables from dataset in R

    How to create a nice looking tables from dataset in R , similar like PROC TABULATE in SAS?

    Started by dezo_pp‎, 02-16-2015 06:22 AM
    • Replies: 7
    • Views: 3,670
    02-17-2015, 05:43 PM Go to last post
  14. Wink How to create matrix from character vectors

    I am analysing a table and trying to sort the rows respecting a condition (column 1 = 2). I wish then to create a sub-table formed by the rows...

    Started by Giongion‎, 02-17-2015 05:36 AM
    for loop
    • Replies: 1
    • Views: 1,725
    02-17-2015, 05:50 AM Go to last post
  15. checking large primes in R

    library(gmp) isThisPrime <- function(x) { library(gmp) x<-as.bigz(x) div <- sieve(ceiling(sqrt(x))) (x > 1) & ((x == 2) |...

    Started by darkdream‎, 02-07-2015 05:19 PM
    • Replies: 1
    • Views: 1,534
    02-16-2015, 12:27 PM Go to last post
  16. t-test with specific conditions

    Hi, I have a data set with a few variables: X is a numeric variable, Y and Z are factor variables containing only 2 factors (Y=1,2 Z=3,4) ...

    Started by ivn‎, 02-15-2015 01:06 PM
    • Replies: 3
    • Views: 1,771
    02-15-2015, 07:03 PM Go to last post
  17. Random variables using runif with predefined mean

    Is it possible to generate random values using runif with predefined mean? I want 100 random values with a predifined mean of 0.75. Using runif() it...

    Started by user41223‎, 02-14-2015 07:42 AM
    • Replies: 9
    • Views: 1,825
    02-14-2015, 12:30 PM Go to last post
  18. Capital Asset Pricing Model and regression help

    Hi all, I've downloaded the last 5 years of share prices for one company, the index and the risk free returns using the following code. >...

    Started by DSPorter‎, 02-12-2015 04:50 PM
    • Replies: 2
    • Views: 1,531
    02-13-2015, 05:38 PM Go to last post
  19. Regression on the CAPM help

    Hi :) I made a thread yesterday but I didn't display my code right so I'll give it another go. Apologies if I do something wrong, still learning....

    Started by DSPorter‎, 02-13-2015 03:35 PM
    • Replies: 0
    • Views: 2,001
    02-13-2015, 03:35 PM Go to last post
  20. Multivariate Outlier Detection

    Hi all, I want to compare the results of "classical multivariate mahalanobis distance" scores of 5 variables for 2 million cases and "minimum...

    Started by monhaml‎, 02-13-2015 12:50 AM
    mahalanobis, outlier detection, programming
    • Replies: 2
    • Views: 1,222
    02-13-2015, 03:34 AM Go to last post
  21. Student's t-Distribution vs. Bell-Curve

    Hi there! First of all, I am not a statistician and am working with R for three days now. So don't be too harsh, please. I am working on a...

    Started by sullivan‎, 02-12-2015 04:06 PM
    • Replies: 2
    • Views: 1,899
    02-12-2015, 04:17 PM Go to last post
  22. testing normality

    Can someone help to find the error in my code? I wanted to make a program in R which will tell me if a distribution is normal or not. It should also...

    Started by ivn‎, 02-12-2015 10:35 AM
    normality, skewness
    • Replies: 1
    • Views: 1,251
    02-12-2015, 11:52 AM Go to last post
  23. Error: non-numeric argument to binary operator (creating excess returns)

    Hello all, I'm new to the forums so hopefully I'm in the right place. I'm using R and I have a csv file with 3 different stock prices. I'm...

    Started by DSPorter‎, 02-10-2015 04:29 PM
    • Replies: 7
    • Views: 2,607
    02-11-2015, 06:59 PM Go to last post
  24. Question about Fisher's Exact Test

    Hi everyone- new to posting here. I am wondering if I can get some feedback on simple code for a Fisher's test, as I am pretty new to R. I am...

    Started by murp‎, 02-10-2015 04:29 PM
    fisher's exact test, fishers, help please, help!
    • Replies: 2
    • Views: 1,765
    02-10-2015, 05:06 PM Go to last post
  25. Merge a matrix with means with another matrix with SDs into a nice end result

    Let's say I have two matrices like this: means <- matrix(c(12.5,13.4,15.2,11.3), ncol=2) sds <- matrix(c(1.2,1.3,1.6,0.9), ncol=2) How do...

    Started by user41223‎, 02-10-2015 05:03 AM
    • Replies: 1
    • Views: 1,544
    02-10-2015, 06:07 AM Go to last post
  26. Stepwise Regression in R Forward

    I came across this post http://stackoverflow.com/a/3701896/3007275 which has some information about forward stepwise regression. However, I don't...

    Started by excelmac‎, 02-05-2015 09:13 PM
    regression equation
    • Replies: 1
    • Views: 1,666
    02-08-2015, 06:32 AM Go to last post
  27. computing power in R

    Hi, How can I compute the power of dixon discordancy test in R. as there are direct commands for computing ANOVA & t.test 's power but not for this...

    Started by pearl shine‎, 02-06-2015 12:02 AM
    • Replies: 0
    • Views: 2,359
    02-06-2015, 12:02 AM Go to last post
  28. How to calculate the integral of the sum of two kernel density functions in R?

    I want to calculate the integral (0 to t) of the sum of two kernel density functions in R. I wrote the code as follows, but it gives me error. I am...

    Started by Ferra‎, 02-04-2015 12:26 PM
    integration, kernel density, sum
    • Replies: 3
    • Views: 1,740
    02-04-2015, 01:24 PM Go to last post
  29. Bootstrapping something...anything...

    hey yo everyone. so i have this homework assignment where i'm supposed to bootstrap a particular statistic. i have to say i'm not the most...

    Started by spunky‎, 02-03-2015 08:18 PM
    • Replies: 4
    • Views: 1,107
    02-04-2015, 10:20 AM Go to last post
  30. Longitude Latitude Time Series Plot

    Hi All! I have been looking to find a package that will allow to plot time series longitude/latitude in a map with density and connecting lines....

    Started by namenter‎, 02-03-2015 11:53 PM
    map, plot, spatial, time series
    • Replies: 0
    • Views: 1,618
    02-03-2015, 11:53 PM Go to last post
  31. Can we read/import SAS code script in R

    As described in the title !:)

    Started by excelmac‎, 02-03-2015 12:49 PM
    • Replies: 4
    • Views: 1,755
    02-03-2015, 09:54 PM Go to last post
  32. How to report a non-significant main effect with significant contrasts (LME)

    Hi :wave:, Sorry for a lengthy first post, but I'm at my wits end :( I am using multilevel linear modelling with nlme's lme function to analyse...

    Started by xClueless‎, 02-02-2015 01:29 AM
    contrasts, lme, nlme, repeated measure
    • Replies: 0
    • Views: 1,567
    02-02-2015, 01:29 AM Go to last post
  33. Probabilistic assignment of values to a data frame column

    I'm creating a data frame of students with four columns: gender, year (freshman, sophomore, junior, or senior), age, and GPA. I would like a...

    Started by rwjones‎, 01-28-2015 05:28 PM
    • Replies: 1
    • Views: 1,400
    01-30-2015, 06:24 PM Go to last post
  34. How to correct the aspect ratio of 3D plot in R

    I am plotting a 3D kernel (longitude, latitude, depth) and and the magnitude data with the sphere radius and time with color as follows. I have...

    Started by Ferra‎, 01-30-2015 02:59 PM
    • Replies: 0
    • Views: 1,640
    01-30-2015, 02:59 PM Go to last post
  35. How to show the color bar legend in R?

    I computed a 3D kernel (longitude, latitude, depth) and displayed the magnitude with the sphere radius and time with color as follows. I have two...

    Started by Ferra‎, 01-20-2015 05:28 PM
    • Replies: 5
    • Views: 3,066
    01-29-2015, 10:49 AM Go to last post
  36. Regression with interaction (metric variable) in graphic

    Hey, I did a regressionanalysis with the following variables: Predictor = dummy variable, dependent Variable = metric, moderator variable = metric...

    Started by St_Fo‎, 01-28-2015 09:04 AM
    graphics, interaction effect, regression
    • Replies: 2
    • Views: 2,363
    01-29-2015, 07:40 AM Go to last post
  37. Censored data for survival data

    Hi everyone, looking for some help with R. I have made a Kaplan-Meier plot as below: ...

    Started by Prometheus‎, 01-28-2015 07:14 AM
    • Replies: 1
    • Views: 1,233
    01-28-2015, 08:30 AM Go to last post
  38. create a Legend for a plot

    I am trying to run this code in R to create a legend but it doesn't work: library(grDevices) colfunc <- colorRampPalette(c("white", "black"))...

    Started by Ferra‎, 01-27-2015 02:27 PM
    • Replies: 1
    • Views: 941
    01-27-2015, 02:51 PM Go to last post
  39. Comparing multiple PDF documents using R

    Is there a way to compare more than two or atleast two documents using R to identify the differences/common content? I have about 60 PDF files at...

    Started by excelmac‎, 01-26-2015 09:22 PM
    r programming, text mining
    • Replies: 2
    • Views: 1,241
    01-26-2015, 10:20 PM Go to last post
  40. Comparing self made models

    Hello! I have a quenstion about comparing models. Not models fitted by R itself, but user defined models. Ill explain through this example: ...

    Started by Wooferd‎, 01-23-2015 05:51 AM
    model, model selection, modeling techniques, modelling
    • Replies: 4
    • Views: 1,455
    01-26-2015, 05:16 AM Go to last post
  41. Conditional execution of function in a data frame by multiple Columns (Factorlevels)

    - have to rephrase please delete

    Started by tester1234‎, 01-25-2015 06:16 AM
    • Replies: 0
    • Views: 779
    01-25-2015, 06:16 AM Go to last post
  42. To play a sound file. / Make alarm.

    Dear- I used use Splus, an old version of R, many years. To make a sound, dos("sndrec32 /embedding /play c:\\ten.wav") is still working...

    Started by jk90029‎, 01-23-2015 11:27 PM
    • Replies: 1
    • Views: 1,274
    01-23-2015, 11:37 PM Go to last post
  43. R-assistance

    Hi everyone, I have started a PHD in Economics and in that program I also have to take some courses, one being on statistical modeling using R....

    Started by Artreides‎, 01-22-2015 08:27 AM
    • Replies: 2
    • Views: 1,270
    01-23-2015, 05:11 AM Go to last post
  44. Calculate Time since Event

    I would like to calculate the time after an event. I would like to derive the "TIME AFTER EVENT" column per example below: TIME EVENT TIME AFTER...

    Started by toothpicky‎, 01-21-2015 06:24 PM
    • Replies: 7
    • Views: 1,802
    01-23-2015, 03:05 AM Go to last post
  45. How to extract information from polygons at multiple points locations in R

    Hello, I am trying to build a simple function that calculates an average (mean) of Sum_MVKT extracted from a set of predefined point locations. ...

    Started by taejnkwon‎, 01-22-2015 08:59 PM
    data extraction in r
    • Replies: 0
    • Views: 988
    01-22-2015, 08:59 PM Go to last post
  46. MCMC in R / Graph

    Hi! I'm looking to learn more about Bayesian Analysis (mostly MCMC and the mechanics underneath the hood) and I realized R is probably the best...

    Started by jamesmartinn‎, 01-22-2015 01:32 PM
    • Replies: 2
    • Views: 1,292
    01-22-2015, 02:58 PM Go to last post
  47. [Quadratic Discriminant Analysis] - Which discriminators contribute most?

    Hi everyone In R, when performing a linear discriminant analysis (lda, MASS package) the output shows for each discriminant function (and original...

    Started by tateblack‎, 01-22-2015 09:13 AM
    discriminator, qda, quadratic discriminants
    • Replies: 0
    • Views: 1,945
    01-22-2015, 09:13 AM Go to last post
  48. Always show 2 digit numbers

    I have a row of data from 1-99. I want to show all single digits as 01, 02, etc and keep numbers that are already 2 digits (10-99) the same. Is there...

    Started by toothpicky‎, 01-14-2015 01:02 PM
    • Replies: 3
    • Views: 1,595
    01-21-2015, 06:22 PM Go to last post
  49. Newly installed RStudio / How change the editor?

    Dear- I installed the RStudio few days ago. As shown in the picture below, there is a built-in editor in RStudio. But it does NOT even have...

    Started by jk90029‎, 01-20-2015 12:51 PM
    • Replies: 3
    • Views: 3,221
    01-21-2015, 11:31 AM Go to last post
  50. Different SD with simulated stationary AR(1) series

    Hi! my first post, exciting :) I need to simulate a number of AR(1) series, with a fixed mean (300) and SD(21) and 53 data points. However, when...

    Started by Sharidb‎, 01-21-2015 05:30 AM
    • Replies: 2
    • Views: 1,801
    01-21-2015, 07:07 AM Go to last post
  51. Help with standardized coefficients in lmer

    Hi, I need to report standardized coefficients for the predictors in my model. I *think* I have figured out how to do this for my model of...

    Started by laurajspeed‎, 01-20-2015 10:37 AM
    beta coefficient, lmer, standardized coefficients
    • Replies: 0
    • Views: 2,180
    01-20-2015, 10:37 AM Go to last post
  52. Help with ranking data from pairwise comparison

    I am looking for a way to visualize pairwise comparisons from a non-parametric statistical test called Cochran's Q test. I am using the function...

    Started by dgi‎, 01-20-2015 08:42 AM
    cochran's q test, pairwise comparisons, ranking
    • Replies: 0
    • Views: 2,074
    01-20-2015, 08:42 AM Go to last post
  53. Shading based on a single lat and long point

    Hi Folks, I have a set of lat and long points for a bunch of universities in Australia. I am trying to replicate Figure 1 from...

    Started by Lazar‎, 01-18-2015 11:53 PM
    • Replies: 6
    • Views: 2,533
    01-19-2015, 11:29 PM Go to last post
  54. R Anti-Tips

    Because examples of "what not to do" are just as informative as any "good" advice. Always attach as much as possible: ## Attach everything! ...

    Started by TheEcologist‎, 01-06-2015 04:24 AM
    • Replies: 6
    • Views: 1,395
    01-19-2015, 05:53 AM Go to last post
  55. Generating a random variable with a defined correlation to an existing variable

    Hi guys, Is there anyway to generate a random variable with a defined correlation to an existing variable? I have checked out the "copula" package...

    Started by bbl92‎, 01-18-2015 07:54 PM
    • Replies: 0
    • Views: 1,379
    01-18-2015, 07:54 PM Go to last post
  56. R Code help please (matlab)

    I cant understand this line of code can anyone help me on this? T <- apply(A, 3, function(x) t(Bmj) %*% x %*% Bmj) A nrow=ncol = 31X31...

    Started by armindo‎, 01-14-2015 08:11 PM
    • Replies: 2
    • Views: 1,998
    01-18-2015, 07:03 AM Go to last post
  57. r studio

    Hi all, I'm using R Studio ( I'm still a novice on R). I'm trying to run the basic data sets that come with the package like the mileage one...

    Started by DATAfiend‎, 01-16-2015 10:25 PM
    plot, r studio
    • Replies: 2
    • Views: 1,785
    01-16-2015, 10:59 PM Go to last post
  58. R language

    I was browsing through Coursera, a platform for online courses, and I ended up running into this https://www.coursera.org/course/rprog course, anyone...

    Started by askazy‎, 01-16-2015 10:15 AM
    • Replies: 0
    • Views: 1,506
    01-16-2015, 10:15 AM Go to last post
  59. Lightbulb Principal Component Analysis in R- Data rotation

    I ran prcomp on my data (7000 observations, 48 variables), and I biplot I got seems to have thousands of points. My guess is that R is treating each...

    Started by inferno‎, 01-15-2015 05:06 PM
    pca, principal component, r language, statistics
    • Replies: 7
    • Views: 2,250
    01-15-2015, 06:52 PM Go to last post
  60. Principal Component Analysis in R Help

    I am a beginner to R. I have read several guides, but still am stuck on this: I have data in an excel csv file, on which I want to run PCA. I'm...

    Started by inferno‎, 01-13-2015 06:04 PM
    2 Pages
    1 2
    pca, prcomp(), principal component, r language, statistics
    • Replies: 20
    • Views: 14,695
    01-13-2015, 10:33 PM Go to last post

+ Post New Thread
Page 17 of 69 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 67 ... 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