Re: [R] Odp: nice way to find or not a value (problem with numeric(0))

2009-03-06 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 05.03.2009 15:21:22: > > Hello Petr, > > In fact spec is data.frame with a column called code (containing numerical > values) and some other columns called data1, data2, ... containing data for > each equipment (that is for each code). > > But I don

Re: [R] Odp: nice way to find or not a value (problem with numeric(0))

2009-03-05 Thread Ptit_Bleu
Hello Petr, In fact spec is data.frame with a column called code (containing numerical values) and some other columns called data1, data2, ... containing data for each equipment (that is for each code). But I don't have the data for all my devices. It means that some 'code' are not in spec$Code.

[R] Odp: nice way to find or not a value (problem with numeric(0))

2009-03-04 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 04.03.2009 09:11:06: > > Hello, > > I have a data.frame called spec containing data about samples. But I don't > have these data for all my samples. > So if I have data (that is code of the sample is in spec$Code), I would like > to assign data1 to t