Displaying 1 result from an estimated 1 matches for "single_count".
2010 Apr 30
1
as.environment Error
Dear R community,
I have a problem with assign:
<snip>
for ( iii in 1:dim(ref_df)[2] )
{
ret <<- ref_df[,iii][names(single_string[ii])]*(single_count/sum(ref_df[,iii]))
assign(paste("expected_sing_ref",iii,sep=""),c(get(paste("expected_single_ref",iii,sep=""))), ret)
}
<snap>
The Error:
Error in as.environment(pos) : invalid argument
Has anybody an idea, how to solve this error ?
Than...