similar to: Fw: RE: Variable length datafile import problem

Displaying 20 results from an estimated 6000 matches similar to: "Fw: RE: Variable length datafile import problem"

2011 Feb 15
4
Variable length datafile import problem
Dear all, I am stuck the reading of a file which has 100s of rows and variable column counts. The tab-limited data file looks something like: Some_Text 1 3 123 1534 -119 1010 178 Some_Taxt 1 3 133 1434 -219 1010 178 Some_Tsxt 1 3 244 1334 -319 1010 178 Some_Tfxt 1 3 153 1234 -419 1010 178 Some_Trxt 1
2013 Aug 27
1
[plyr] Moving average filter with plyr
Dear all, I'm stuck with a problem using plyr to process a rather large junk of data. What I'm trying to do is applying a moving average to all the subparts of the dataframe (the example data can be found here https://dl.dropboxusercontent.com/u/2414056/testData.Rdata). require(plyr) load("testData.Rdata") applyfilter<-function(x){ return(filter(x,rep(1/5, times=5))) }
2012 Aug 08
3
Outer product from matrix by row and a vector
Dear all, I am facing a challenge when applying the outer product with a matrix by rows. What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y) In order to get there, I tried to get the matrix into a list using the mefa package, as subsetting the original data appears too
2005 Feb 01
1
Error in load(dataFile, myEnv)
Dear all, I just found that some of the packages are not able to load any more, after I installed R2.0.1 in my Mac, it even affects my old R1.8 installs. It gives me errors when I load packages that contains "myEnv" settings. such as: RMySQL, DBI, Rggobi, etc. But others that does not require "myENV" is all right, like tcltk that only calls the c functions. The errors
2007 Apr 20
0
Fwd: Re: Character coerced to factor and I cannot get it back
--- John Kane <jrkrideau at yahoo.ca> wrote: > Date: Fri, 20 Apr 2007 10:47:45 -0400 (EDT) > From: John Kane <jrkrideau at yahoo.ca> > Subject: Re: [R] Character coerced to factor and I > cannot get it back > To: jim holtman <jholtman at gmail.com> > > Thanks Jim, > > I can live with it as a factor or I will do as you > suggest. What is bothering
2011 May 24
1
how to eliminate first row in datafile created in do loop
I am trying to create a routine that would take a time series and generate monthly 25%tile and 75%tile limits based on 12 calendar months. I have succeeded to create a do loop to do this, but can't figure out how to initiate the receiving datafile (in this case "limit.list") without sticking an initial set of zeroes in. I'd like to be able to insert a new column
2011 Sep 12
2
regression on data subsets in datafile
I have data of the form tC <- textConnection(" Subject Date parameter1 bob 3/2/99 10 bob 4/2/99 10 bob 5/5/99 10 bob 6/27/99 NA bob 8/35/01 10 bob 3/2/02 10 steve 1/2/99 4 steve 2/2/00 7 steve 3/2/01 10 steve 4/2/02 NA steve 5/2/03 16 kevin 6/5/04 24 ") data <- read.table(header=TRUE, tC) close.connection(tC) rm(tC) I am trying to calculate rate of change of parameter1 in
2007 Apr 19
0
Fwd: RE: Character coerced to factor and I cannot get it back
--- John Kane <jrkrideau at yahoo.ca> wrote: > Date: Thu, 19 Apr 2007 15:50:36 -0400 (EDT) > From: John Kane <jrkrideau at yahoo.ca> > Subject: RE: [R] Character coerced to factor and I > cannot get it back > To: Jorge Cornejo-Donoso <jorgecornejo at uach.cl> > > > --- Jorge Cornejo-Donoso <jorgecornejo at uach.cl> > wrote: > > >
2010 Aug 12
2
How to building my own datafile
Hi folks, I'm prepared building my own datafiles, simple file at start, for testing wondering how to process? Which software will be used, MySQL/MS-SQL/MS-Excel/Open Office-Calc etc? On searching I found r-cran-rmysql on Ubuntu repo. Further searching I found; RMySQL: R interface to the MySQL database http://cran.r-project.org/web/packages/RMySQL/index.html Whether install the above
2011 Jan 09
3
CatchAll virtual user removes spamheaders
Hi all, I am having a small problem with a catch-all user I have setup in my Postfix/Dovecot setup. I am not 100% sure this is Dovecot related, but, logic tells me it is. I have a virtual user called @reinhold.dk setup to redirect to my main account, peter at reinhold.dk. If I send a spam mail (GTUBE) to peter at reinhold.dk, the mail is marked with Amavis x-headers as it should be. If I
2016 Apr 19
0
Indicator Species analysis; trouble with multipatt
Hi Ansley It looks good to me but I did not run the analysis as I am too lazy to install "indicspecies". The inclusion of the raw data is a great help. John Kane Kingston ON Canada -----Original Message----- From: daily.puja at gmail.com Sent: Tue, 19 Apr 2016 08:16:54 -0400 To: jrkrideau at inbox.com Subject: Re: [R] Indicator Species analysis; trouble with multipatt Thanks for the
2007 Feb 01
0
Fwd: Re: read.spss and encodings
--- John Kane <jrkrideau at yahoo.ca> wrote: > Date: Thu, 1 Feb 2007 09:07:11 -0500 (EST) > From: John Kane <jrkrideau at yahoo.ca> > Subject: Re: [R] read.spss and encodings > To: Thomas Friedrichsmeier > <thomas.friedrichsmeier at ruhr-uni-bochum.de> > > Hi Thomas, > > I am using R 2.4.1 on WindowsXP and I don't seem to > be > having any
2009 Jul 12
0
(no subject)
I have no idea to be honest. I have never used the package, I simply did a search for it. Hopefully a more experienced user can help --- On Sun, 7/12/09, maram salem <marammagdysalem at yahoo.com> wrote: > From: maram salem <marammagdysalem at yahoo.com> > Subject: Re: [R] (no subject) > To: "John Kane" <jrkrideau at yahoo.ca> > Received: Sunday, July 12,
2007 Jan 31
0
Fwd: Re: Simple Date problems with cbind
--- John Kane <jrkrideau at yahoo.ca> wrote: > Date: Wed, 31 Jan 2007 08:32:03 -0500 (EST) > From: John Kane <jrkrideau at yahoo.ca> > Subject: Re: [R] Simple Date problems with cbind > To: marc_schwartz at comcast.net > > My thanks to Marc, Tony Plate, Phil Spector & Mark > Leeds. > > I totally missed the significance of the Y not y > issue >
2009 Feb 20
1
3.73 crashes FreeDOS in VMWare - 3.72 works fine
With the same configuration an ISOLINUX CD which boots a FreeDOS Floppy image via MEMDISK Syslinux-3.73 crashes in VMWare and also on several newer boxes just after the kernel loading with "invalid OPCODE ...". Same CD with Syslinux-3.72 is working fine. Build environment for 3.72 was gcc-4.3.2 for 3.73 gcc-4.3.3 - any idea what can cause the troubles? --
2011 May 17
1
simprof test using jaccard distance
Dear All, I would like to use the simprof function (clustsig package) but the available distances do not include Jaccard distance, which is the most appropriate for pres/abs community data. Here is the core of the function: > simprof function (data, num.expected = 1000, num.simulated = 999, method.cluster = "average", method.distance = "euclidean", method.transform =
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
Well, here is one way but it seems a bit clumsy. In words, I created a new data.frame with "250" in the Chloride vector and "SMCL" in the Detections vector and supplessed one legend. Warning: For my convenience I am using different data.frame names . library(ggplot2) MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv", sep=",")
2002 Dec 18
6
Can I build an array of regrssion model?
Hi, I am trying to use piecewise linear regression to approximate a nonlinear function. Actually, I don't know how many linear functions I need, therefore, I want build an array of regression models to automate the approximation job. Could you please give me any clue? Attached is ongoing code: rawData = scan("c:/zyang/mass/data/A01/1.PRN", what=list(numeric(),numeric())); len =
2012 Dec 10
1
Can somebody suggest how to achieve following data manipulation?
Dear all, Let say I have following data: RawData <- matrix(1:101, nr = 1); colnames(RawData) <- c("ASD", as.character(as.yearmon(seq(as.Date("2012-03-01"), length.out = 100, by = "1 month")))); rownames(RawData) <- "XYZ" CutOffDate <- as.Date("2012-09-01") NewDateSeries <- as.character(as.yearmon(seq(CutOffDate, to =
2011 Jan 13
0
Help with Data Transformation - RESOLVED
Hi Dennis, SOLVED!!! My thanks to both you, John, and others who chimed in. Took a little more digging before finally working, but it is working! Here's a little more of what I did and the ultimate resolutions: I installed the reshape2 library from CRAN. Executed > (.packages()) [1] "reshape2" "stats" "graphics" "grDevices"