Description Usage Arguments Examples
This function sorts vector x in increasing order and sorts vector y in the order of sorted x.
The output is a list with two matrices, x and y.
| 1 | sort_matrix(x, y = matrix(0))
 | 
| x | A vector of independent variables. | 
| y | A vector of dependent variables. Defaults to zero matrix. | 
| 1 2 3 4 5 | util = subset(unretrofit_utility, unretrofit_utility$bdbid == 'f3acce86'
			& unretrofit_utility$energy_type == 'Elec')
temp = sort_matrix(util$OAT,util$usage)
xmat = temp$x
ymat = temp$y
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.