Displaying 2 results from an estimated 2 matches for "sp_idx".
Did you mean:
p_idx
2013 Jul 22
4
How to split two levels several times?
Hi,
I have a small problem with the function split() and would appreciate your help.
I have a table called ?XXX? with 2 columns and 49 rows. The 49 rows belong to 8 different levels (electrode1, ...,electrode8). I want to split the table always at the row where ?electrode1? starts again so that I can export 7 individual dataframes (numbered ?dataframe1? to ?dataframe7?) which contain always
2004 Nov 29
1
data is getting corrupted
...temp_sp_code );
if( !sp_ptr )
{
Rprintf( "couldn't find the species code for %s, %s\n",
temp_sp_code, CHAR( STRING_ELT( plant_sp_code_sexp, i ) ) );
continue;
}
/* this is the index of the "unsorted" array */
s_ptr->plants_ptr[i].sp_idx = sp_ptr->idx;
s_ptr->plants_ptr[i].d6 = REAL( plant_d6_sexp )[i];
s_ptr->plants_ptr[i].d6_area = REAL( plant_d6_area_sexp )[i];
s_ptr->plants_ptr[i].dbh = REAL( plant_dbh_sexp )[i];
s_ptr->plants_ptr[i].basal_area = REAL( plant_basal_area_sexp )[i];
s_p...