Re: [R] Batch importing data with respective naming

2009-04-29 Thread Taylor Hermes
28, 2009 at 07:09:04PM -1000, Taylor Hermes wrote: I tried the following: Add this before for(): peak - list() for (i in 1:100) {       peak[[i]] - read.table(paste(i,--one--hist.txt, sep=), sep=,, header=TRUE) } __ R-help@r-project.org

[R] Batch importing data with respective naming

2009-04-28 Thread Taylor Hermes
I'm trying to import data from 100 text files and create data frames that reflect their numbering. The slow way would be to do the following: peak1 - read.table(1--peak--hist.txt, sep=,, header=TRUE) peak2 - read.table(2--peak--hist.txt, sep=,, header=TRUE) peak3 - read.table(3--peak--hist.txt,

[R] Nonlinear regression help

2009-04-23 Thread Taylor Hermes
I seek help with nonlinear regression for my data. I've run intro trouble fitting a model to my data as follows: rate_parameter stable_population 75 1996.1277 100 1623.2979 125 1362.3475 150 1164.6738 175 1014.8227 200 892.0851 225 794.1844 250 710.1489 275 639.6738 300 578.0496 325