Re: [R] a workaround for indexing a function?

2014-06-18 Thread Adam Kustka
I noticed a missing line in the code associated with my question. I've re-supplied the question now with that line. Sorry for the trouble, Adam I have a dataset of peptide 15N/14N ratios from four experiments (where cells are grown under different conditions and were fed either

[R] a workaround for indexing a function?

2014-06-18 Thread Adam Kustka
I have a dataset of peptide 15N/14N ratios from four experiments (where cells are grown under different conditions and were fed either 15N or 14N nitrate aka plant food if you are interested) and I want to normalize each of these ratios to the median 15N/14N value from all 6000 peptides from each

Re: [R] a workaround for indexing a function?

2014-06-18 Thread David Winsemius
See this? `[[alternative HTML version deleted]]` Means your efforts at including data have been sabotaged by failing to read the Posting guide and send plain text. Then this line:median[i] = median(normHL) Gets you: Error in median[i] = median(normHL) : object of type