R programming and usage, R news, R tips and tutorials
I'm starting this thread out of frustration for my own oversight. blog.revolutionanalytics.com was having an R webinar today (LINK) that looked...
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...
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...
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...
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...
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...
Hi I am time series and I would like to do automated breakout detection on it. I have discovered techniques like MACD which are helpful in...
As some of you may have noticed, I've been playing around with JSON and R lately. I'm also trying to learn jQuery, which is a powerful JavaScript...
Hello. I am trying to plot means in R (with SE) of a response variable by an explanatory variable, which happens to be numeric. If I convert it to...
I want to double check that for M and N kxk mtrices and v a k-vector M%^%2%*%N%*%v is not automatically read as (M%^%2)%*%N%*%v or ...
I am trying to write my first (little) script, and in the last couple of days I learned a lot. But now I'm kind off stuck. I have data which is a...
Hello all, I have been looking strenuously through the R Manuals available but for some reason i just cannot understand a very simple R...
Left : acf Right : pacf I'm guessing from acf, it indicates MA(1) since the spike cuts off after lag 1. But it does somehow has an decaying...
Hi everyone, After surfing the net, I realized there are just a few concrete examples about linear discriminant analysis. Since I want to use this...
hello there, i am completely new to R and I keep on getting an error that I'm trying to solve but to no avail. Say I have two predictors, x1 and...
Is there a software or a R package that does a simulation of spatial distribution of alleles? I'm interested in how a distribution of alleles of...
How do you select variables from one dataframe that are a smaller data frame? For example: #Data frame A n = 1:5 a = c(5,6,5,1,4) x = c(0, 0,...
Hello world, I am a newbie in R, 1) i have to generate a graph of Comparison of observed and calculated probability density distribution v/s...
I'm trying to run a logit model in R which has only one predictor. I then want to construct a data frame with the predictor values on one column and...
I am trying to perform a multiple regression in R. However, my dependent variable has the following plot: . I know that I need to perform a...
Hi everyone :wave:, I was wondering if someone can help me to run a multiple correspondence analysis in R with the attached txt file data? ...
Hello, I use R i386 3.0.0 and use package AER. This package has a folder, named data and this folder contains file NYSESW. When I issue command...
nevermind .
Hello, could anyone prompt me codes for R to define Nagelkerke`s R square and variance inflation factor. Thanks a lot in advance!
Could anybody help on how to overlay all three different color of points(pch=c(16,16,16), col=c(1,2,3)) with one line (lty=4) in the legend() in R?...
Hi all, I have been attempting to run the following model in the lme4 package in R. ...
Hi all, I plotted a circular plot using the package "circular" and some piece of R code I found and adjusted from this site: "http://...
Hi, How do I make a empty data frame? How do I append new rows to the data frame? Thanks
Hey guys, I'm new to R, and needed some help with some very basic code. I wanted to run a Mantel test on two different matrices. I feel like I'm...
Hi R-users I try to calculate marginal effects of a multinomial logistic regression. To do this i use mlogit package and effects() function. ...
This post is no longer up
Hi, I need some help, if you can. My problem is the code, not the results or the analyse. If I have some like 1 3 5 6 7 3 2 4 6 4 3 2 3 5 ...
My goal is to be able to overwrite portions of a csv file if related data is already in the csv, while not overwriting anything the first time the...
I have a list with 13 elements. Each element is a vector of length 7000. I have a list of indices, say indices <- c(5, 10, 15, 20). I want to create...
hello all, i have recently started using R for statistical analysis, but i am not allowed to install it on my computer at work. does anyone...
Hello, I would like help imposing restrictions on coefficients estimated in the regression model show below: lm(Y ~ C + S, weights = W) Y =...
I have judgments on 360 items by approx. 40 different listeners. I need to get z-scores for the ratings, but they need to be done within each...
Good day, I'm fairly new to R and still trying to get a grasp op its data-types as well as conversion between them. I need to convert a data...
Hi All, The more I read this forum, the more I learn...and I am amazed by the supportive mentality of this forum I haven't read yet...(please...
Hi there! I'm trying to use the R package MSBVAR to generate a conditional forecast from a bayesian VAR. The condition that I am imposing for the...
Hello, I'm trying to figure out how to use metadata on some matrices and arrays for an extensive model that I am generating. Do any of you know of...
Hello there, I’ve been having some concerns with the degrees of freedom R has been giving me from PERMANOVA (adonis), and I was hoping someone...
Hi, I am creating vectors like these v1<-c(0,2,3) v2<-c(8,4,6,1) .. After that I am creating a list of all these vectors. So when I...
Sorry for cross posting this but I'm not sure where to post this. I was wondering if someone might be able to help. My department has just...
I'm trying to replicate regression results in SPSS and R. I want to run a regression with pairwise deletion. In SPSS I can select pairwise or...
Heya, I'm studying International studies in management on a german University and ran into an encounter with "R". We're not supposed to...
Hi all, I'm working with a time series covering a year for particulates in the atmosphere. The data is collected, variously, at 1 - 5 - 10 min...
I am into baseball statistics and I just want to get the basic understanding of how to set up a model but I am having a little trouble. I have a...
Hi, hope you're all well! :) I'd be really thankful if someone could help me with a standardisation-code: I have psychometric test data and had...
I know this challenge will give some of you reason to procrastinate (more)! Let's just hope TE is around to give us his base solution ;) ...
I know R fairly well but have very little experience with STATA. I am trying to convert the below mlogit command so it is usable in R. Can anyone...
I've asked a few questions the last few days and it's been very helpful in getting my simulation to compile and run the way it should, so thanks to...
Hi All, I would like to write a script to let R build a Bullet Graph (see attached pic). For given samples, the graph charts the means along with...
if I have the below sequence of sampling time points from 0hr to 1440 hr, how can I add noise to the below sequence, I don't think jitter() will work...
Hello and thanks for taking the time to read this. Data structure: I have two datasets from two protected areas that differ in protection...
I basically have this situation... s = runif(1) cumm = 0 value = 0 for(v in 1:5){ cumm = cumm + 1/5 if(s < cumm){
I have two arrays, a and b. a consists columns x, y, and n, and b consists of x, and y. b is an incomplete version of a; as in all of the x and y...
Hey, I need some help and maybe it is really simple for an expert. (excuse my English, i am from Vienna) I got this Output WocheParken...
Hi, This is my first post here. I would like to know if this code: GLM.1 <- glm(y ~ sex + sex * I(age-39), family=poisson(log),...
Hi, I would like if there is a simple R command to get a table of means (2-factor analysis) with the interaction addendum removed (canceled out)...
Hey guys, I am studying about converting Matrix to Data frames. What I have observed though is that converting matrix with characters into a data...
Hi! I'm an R-beginner and need to regress on several variables. I am using the lm-function. Unfortunately, it is not working, i.e. there is an...
Is it possible to store vectors as elements in matrices? Or will this problem need to be solved through object oriented programming.
Hello, I'm making a program that requires a selection of elements from a vector. Assuming the chances of any vector element being selected is...
I am trying to install R under Linux, but while executing the command "./configure" i am getting the error:- "configure: error: --with-readline=yes...
Hey folks, I am completely new to R programming and have been trying some stuff and am stuck at some places. I am not sure if this the right...
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.
Forum Rules
Advertise on Talk Stats