search for: num_specbon

Displaying 1 result from an estimated 1 matches for "num_specbon".

Did you mean: num_specbone
2010 Jan 29
1
create an R object in a loop
...t]) names(TO_POS_Asfc.median_cotautx) <- levels(factor(select[[cat]])) } ----- What I want to do is, instead of giving manually the name of the list (here TO_POS_Asfc.median_cotautx), I would like the name of the list to be created in the loop too, so that it looks like: select[[cat]]_name.num_specbone. In the code it would look like: ----- select[[cat]]_name.num_specbone <- fac2list(select[,k], select[cat]) #create the list from the values of these variables at each iteration of the loop names(select[[cat]]_name.num_specbone) <- levels(factor(select[[cat]])) ----- I thought about using...