Hello,
 
I am running a program in r that calls a function, which calls another
function, which calls another etc. These functions are of the form:
 
example<- function(x,y,z)
 
{x, y, and z are defined within curly braces like this}
 
Here's my question. To start the main function, I input as an initial
parameter a matrix of regressors of the form:
 
MyMatrix<-cbind(this.one,that.one)
 
That's all fine, but then I get a nonconformability message telling me that
MyMatrix is not conformable with x. 
 
I can check the dimensions of MyMatrix, but x is in curly braces, and so is
not an object. I'd like to check the dimensions of x, but can't, so it's
hard to tell what's wrong with it.
 
Any suggestions?
 
Thanks,
 
Scott
 

Scott Hiromoto 
Doctoral Fellow 

Rand 
1700 Main Street, PO Box 2138 
Santa Monica, CA 90407-2138 
310 - 393 - 0411 Ext. 6106 
Fax 310 - 393 - 4818 
email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
www.rand.org <http://www.rand.org/> 

 

 

        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to