return1colmatrix: Convert vectors, data frames, lists, or arrays to 1-column...

Description Usage Arguments Value Author(s) See Also

Description

Converts vectors, data frames, lists, and arrays to 1-column matrix with optional column name and sorting option for use in various orddom functions

Usage

1
return1colmatrix(x,grp.name="",sortx=FALSE)

Arguments

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.

Value

Returns a 1-column matrix with n scores in n rows with X columnname.

Author(s)

Jens Rogmann

See Also

orddom


orddom documentation built on May 2, 2019, 2:45 a.m.