Displaying 4 results from an estimated 4 matches for "nmarg1".
Did you mean:
marg1
2007 Jul 12
1
sub-function default arguments
Hi.
I have defined a function, f1, that calls another function, f2. Inside f1
an intermediate variable called nm1 is created; it is a matrix. f2 takes a
matrix argument, and I defined f2 (schematically) as follows:
f2<-function(nmArg1=nm1,...){nC<-ncol(nmArg1); ... }
so that it expects nm1 as the default value of its argument. f1 is defined
(schematically) as:
f1<-function(...){result1<-f2(); ... }
When I ran f1 I got the following error message:
Error in ncol(nmArg1) : object "nm1" not found.
If I rede...
2024 Aug 11
1
Printing
...out)),]
if(printing){
cat("\nAPPs of bivariate ordered probit probabilities",
??? "\nWritten by Steven T. Yen (Last update: 08.11.24)",
??? "\ny1.level=",???? y1.level,
??? "? y2.level=",???? y2.level,
??? "\njoint12 =",???? joint12,
??? "\nmarg1 =",?????? marg1,
??? "\nmarg2 =",?????? marg2,
??? "\ncond12 =",????? cond12,
??? "\ncond21 =",????? cond21,
??? "\nCovariance matrix:",vb.method,
??? "\nWeighted =",??????? weighted,
??? "\nAt means =",??????? mean,
??? "...
2024 Aug 11
1
Printing
...("\nAPPs of bivariate ordered probit probabilities",
> ??? "\nWritten by Steven T. Yen (Last update: 08.11.24)",
> ??? "\ny1.level=",???? y1.level,
> ??? "? y2.level=",???? y2.level,
> ??? "\njoint12 =",???? joint12,
> ??? "\nmarg1 =",?????? marg1,
> ??? "\nmarg2 =",?????? marg2,
> ??? "\ncond12 =",????? cond12,
> ??? "\ncond21 =",????? cond21,
> ??? "\nCovariance matrix:",vb.method,
> ??? "\nWeighted =",??????? weighted,
> ??? "\nAt means =&q...
2024 Aug 11
3
Printing
...ariate ordered probit probabilities",
>> ???? "\nWritten by Steven T. Yen (Last update: 08.11.24)",
>> ???? "\ny1.level=",???? y1.level,
>> ???? "? y2.level=",???? y2.level,
>> ???? "\njoint12 =",???? joint12,
>> ???? "\nmarg1 =",?????? marg1,
>> ???? "\nmarg2 =",?????? marg2,
>> ???? "\ncond12 =",????? cond12,
>> ???? "\ncond21 =",????? cond21,
>> ???? "\nCovariance matrix:",vb.method,
>> ???? "\nWeighted =",??????? weighted,
>> ?...