Skip to content
Prev 302741 / 398503 Next

Odp: help, please! matrix operations inside 3 nested loops

Hi
daten<-read.table('K:/Analysen/STRUCTURE/input_STRUCTURE_tab_excl_5_282_559.txt',
If there is any column with nonnumeric values it will transfer all numeric 
values from daten data.frame to character values.
The above code is rather clumsy and it is difficult to understand what it 
shall do without extensive study. AFAIU you first set topf to NA and then 
try to add 1 to topf. The result is again NA regardless of your 
sophisticated z constuction. Therefore you are just computing NA in each 
cycle, so you can not expect other result them NA.
but
to
need
What is this. Please try to set up small example with what do you have and 
what do you want to achive. Unless you can explain better what do you 
want, you probably will not get better answer. 

I, however, may be proven wrong as some clever people in this list are far 
better in mind reading then I am :-)

Regards
Petr
http://www.R-project.org/posting-guide.html