Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

36 results for “from:Steven Kennedy”

How to read 20 columns from the file
Steven Kennedy · Jul 13, 2011 · r-help

Hi Kishore, There should be no problem reading in your data if you have followed the directions posted by Jim and myself. I suggest you do a search for a basic R tutorial and follow that through. Steve On Wed...

Steven Kennedy · Jun 26, 2011 · r-help

You can find the volcano script (along with a lot of others) at the following site: http://addictedtor.free.fr/graphiques/thumbs.php On Mon, Jun 27, 2011 at 11:49 AM, Jorge Ivan Velez <jorgeivanvelez at gmail.com> wrote...

Subset creates row_names column when exported to MYSQL
Steven Kennedy · Jul 6, 2011 · r-help

What function are you using to export your data.frame to MySQL? On Wed, Jul 6, 2011 at 10:41 PM, Thiago Clark <clark.thiago at gmail.com> wrote: > Dear R-helpers, > > I have a huge dataset and I create...

How to Execute A Query Stored In Access 2007
Steven Kennedy · Jul 6, 2011 · r-help

You should just be able to use the sqlQuery function to execute the query something like this: con<-odbcConnect(...) sqlQuery(con,"EXEC <your procedure name here>") On Thu, Jul 7, 2011 at 11:40 AM, Alex Zhang <alex.zhang at...

linear regression
Steven Kennedy · Aug 13, 2011 · r-help

your dataframe needs to be called "Nord". If it is not, then replace "Nord" with the actual name of your dataframe On Sat, Aug 13, 2011 at 10:43 PM, maggy yan <kiotoqq at googlemail.com> wrote: > dear R users...

string manipulation
Steven Kennedy · Aug 25, 2011 · r-help

You can split your string, and then only take the first 4 digits after that (this is only an improvement if your numbers might not be at the end of mytext): mytext <- "I do not want the first number 1234...

for loop help
Steven Kennedy · Jul 27, 2011 · r-help

Hi Cassie, I'm not sure exactly what you are trying to get: i assume that each station will have a different ppt value for each year-month combination, but it looks like you're trying to get one ppt...

connecting R and PostgreSQL
Steven Kennedy · Jun 28, 2011 · r-help

I use RODBC and have got it to work fine on Windows, Linux and Mac. There's some basic info here, and plenty of blog posts out there with step by step instructions for the different OS's. http://hosho...

import text-records and set the fields in a table
Steven Kennedy · Jun 27, 2011 · r-help

As long as all the fields in each entry are the same, then the following will work df<-data.frame(photo_id=NA,owner=NA,secret=NA,server=NA,farm=NA,title=NA, ispublic=NA,isfriend=NA,isfamily=NA,tags...

Selecting unique values
Steven Kennedy · Jul 25, 2011 · r-help

use unique() df <- data.frame(Species_name=c(rep('Abies concolor',4),rep('Accipiter cooperi',7)), Longitude=c(-106.601, -106.493, -106.489, -106.496, -119.688, -119.792, -118.797,-77.38333,-77.38333,-75.99153,-75.99153...

How to fit a random data into Beta distribution?
Steven Kennedy · May 4, 2011 · r-help

Hi Shekhar, It looks from your error that you have values outside the range 0 to 1. The beta distribution is only defined between 0 and 1. Can you please post your data set (or at least a portion of...

Reordering inputs
Steven Kennedy · May 12, 2011 · r-help

On Fri, May 13, 2011 at 1:31 AM, Dat Mai <dat.d.mai at gmail.com> wrote: > Yes, but I want to make it so that 2 different square matrices to both have > the same order for the x...

a Question regarding glm for linear regression
Steven Kennedy · Aug 19, 2011 · r-help

convert your matrix to a data frame: df <- as.data.frame(mymatrix) then you can simplify your formula and specify where the data is coming from: glm.fit <- glm(y~., data=df) the "." in the formula means all columns in...

trouble installing packages on OpenSuse 11.4
Steven Kennedy · Aug 21, 2011 · r-help

I have similar problems when trying to install packages while at work. It might have something to do with your firewall settings. On Wed, Aug 17, 2011 at 4:38 AM, Dinesh <dinesh at milkorwater.com> wrote: > Hi, > > I am...

Simple simulations
Steven Kennedy · Jun 27, 2011 · r-help

#sampling elements x<-c(rep(0, 20), seq(1:37)) #number of simulations to perform sims<-100 #vector to store results results<-c() #using for loop to perform simulations for(i in 1:sims){ #take your sample y<-sample(x...

Deleting rows and store the deleted rows in new data frame
Steven Kennedy · Jul 24, 2011 · r-help

Hi Vikas, The following works (I'm not very good with sapply, but the for loop is ok if your data set is not huge). > df <- read.table("test.txt",stringsAsFactors=FALSE) > df V1 V2 V3 V4 V5 V6 V7...

Can't find what you're looking for? Try searching with Google .