Data Manipulation Tools in R

Posted on Jan 11, 2016 in Programming • Tagged with programming, CRAN, data manipulation, data.table, plyr, sets, SQL

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. **

RJDBC

data.table do …


Continue reading

Format Numbers in R

Posted on Jun 11, 2016 in Programming • Tagged with programming, R, CRAN, formatting, numbers

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. **

When working with dates …


Continue reading

Find Elements That Appear Multiple Times in R

Posted on Jun 11, 2016 in Programming • Tagged with programming, CRAN, R, frequency, table, multiple times, unique

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. **

freq = tapply(x, x …

Continue reading

The PUT/INPUT Functions in SAS

Posted on Sep 28, 2014 in Computer Science • Tagged with programming, SAS, put, input, putn, putc, inputn, inputc

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. **

The put/input Functions …


Continue reading

Missing Values in SAS

Posted on Mar 28, 2015 in Computer Science • Tagged with programming, SAS, missing values, null, white space

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 uses a dot (.) to stand for a numeric missing value and any number (can be 0 which correspond to the blank string "") of white spaces (e …


Continue reading

Write User-defined Functions in SAS

Posted on Sep 28, 2014 in Computer Science • Tagged with programming, SAS, user-defined function, `FCMP`

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. **

FCMP Procedure

  1. The maximum …


Continue reading