[R] Identity matrix

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 12 17:35:53 CEST 2004


Patrik Waldmann wrote:

> Hello,
> 
> I cannot find a function that forms the identity matrix from a factor, is
> there any?

For the identity matrix in general see ?diag.

What do you expect to get when forming a "identity matrix from a factor"?

Uwe Ligges


> Patrik Waldmann###########################################
> 
> This message has been scanned by F-Secure 
> Anti-Virus for Microsoft Exchange.
> 
> ###########################################
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list