search for: syen

Displaying 3 results from an estimated 3 matches for "syen".

Did you mean: seen
2011 Nov 04
6
Matrix element-by-element multiplication
...6.0000000 9.0000000 a.*x 1.0000000 2.0000000 3.0000000 4.0000000 8.0000000 12.000000 9.0000000 18.000000 27.000000 -- Steven T. Yen, Professor of Agricultural Economics The University of Tennessee http://web.utk.edu/~syen/ [[alternative HTML version deleted]]
2011 Nov 28
3
Rprofile.site
...ns. Instead of inserting the lines in Rprofile.site, is there a way to insert one line pointing to (fetching) the function in a local drive, similar to #include c:\path\... in Gauss? Thank you. -- Steven T. Yen, Professor of Agricultural Economics The University of Tennessee http://web.utk.edu/~syen/ [[alternative HTML version deleted]]
2011 Nov 15
5
Convert back to lower triangular matrix
Given a vector;> ab = seq(0.5,1, by=0.1)> ab[1] 0.5 0.6 0.7 0.8 0.9 1.0 The euclidean distance between the vector elements is given by the lower triangular matrix > dd1 = dist(ab,"euclidean")> dd1    1   2   3   4   52 0.1                3 0.2 0.1            4 0.3 0.2 0.1        5 0.4 0.3 0.2 0.1    6 0.5 0.4 0.3 0.2 0.1 Convert the lower triangular matrix to a full