Displaying 1 result from an estimated 1 matches for "tstat_matrix".
2011 Dec 31
2
Very strange function() behaviour.
Hi, R newb here. I've coded a function that inputs N dimensional array(s) [or
class=numeric if it's dim=1] of coefficients and tstats, where
dim(coef_matrix)=dim(tstat_matrix), it will then output a same dimension
matrix of coefficients pasted to tstats in brackets pasted to significance
stars.
If I go straight to the code INSIDE the function, it works 100% as it's
supposed to. The output matrix has the correct dimensions. However, if I
actually use the function, i...