Description Usage Arguments Value Author(s) See Also
Converts vectors, data frames, lists, and arrays to 1-column matrix with optional column name and sorting option for use in various orddom functions
1 | return1colmatrix(x,grp.name="",sortx=FALSE)
|
x |
Vector, data frame, list or array with n_x values and an optional header or name |
grp.name |
A name or column title for x may be assigned. By default, the variable name is returned as var(x). |
sortx |
If argument is set to TRUE, the function will return a matrix with sorted scores. |
Returns a 1-column matrix with n scores in n rows with X columnname.
Jens Rogmann
orddom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.