General Tips for R

Posted on Nov 05, 2012 in Computer Science • Tagged with tips, R, generic, programming, argument

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

  1. Many R functions have lots of arguments which allows you get a full control of their behaviors, so before you ask whether there is any R function …


Continue reading

Distributions in R

Posted on Nov 05, 2012 in Computer Science • Tagged with distribution, R, programming, statistics

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

  1. The definition of geometric distribution in R is not the same as the common definition. A random variable of geometric distribution in R starts from zero, i …


Continue reading

Random Number Generating in R

Posted on Nov 05, 2012 in Computer Science • Tagged with R, programming, RNG

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

  1. Functions for sampling random numbers from distributions share a same "basic" random number generator (RNG). If one set a seed for the "basic" RNG in use, it …


Continue reading

Hide 3D Graph in Mathematica

Posted on Apr 07, 2021 in Computer Science • Tagged with image, mathematica, visualization, graphics, programming

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

EdgeForm[] and Opacity[]


Linear Algebra in MATLAB

Posted on Dec 04, 2012 in Computer Science • Tagged with algebra, programming, MATLAB

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

  1. Unlike most other programming languages, to get elements of an array in MATLAB, you have to parentheses to specify index. See more information in this post. If …


Continue reading

Numerical Analysis in MATLAB

Posted on Dec 04, 2012 in Computer Science • Tagged with programming, MATLAB

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

  1. fmincon finds minimum of constrained nonlinear multivariate function. fminunc finds minimum of unconstrained nonlinear multivariate function. fgoalattain solves multiobjective goal attainment problems; fminimax solves minimax constraint problems …


Continue reading