Alike Objects/Functions in R

Posted on Nov 05, 2010 in Computer Science • Tagged with programming, regex, data frame, matrix, R, warning

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Matrix VS Data Frame:

  1. The data in a matrix must be of the same type while different columns in a data frame can have different types.

  2. A …


Continue reading

Data Structure in R

Posted on Nov 09, 2010 in Programming • Tagged with programming, list, data structure, container, matrix, vector, R, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

Vector, Matrix and Array …


Continue reading

SAS IML Tips

Posted on Feb 17, 2015 in Computer Science • Tagged with programming, SAS, IML, matrix

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

  1. SAS/IML 9.3 …


Continue reading

Keep Matrix Structure when Extract a Row/Column from a Matrix

Posted on Aug 14, 2012 in Programming • Tagged with programming, data structure, algebra, matrix, R, vector, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

I talked in the post Abuse of Vector in R that it is often the case that we want keep the matrix sturcture when extracting a row …


Continue reading

Tips for the IML Procedure in SAS

Posted on Jul 19, 2012 in Computer Science • Tagged with SAS, matrix, programming, IML

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. End an IML procedure with quit;. You should never use run; to end an IML procedure because it is used for calling user-defined functions in IML procedures …


Continue reading