cutnumeric: Numerical conversion

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

It divides a numerical variable x in classes, and returns for each class the central value.

Internal function, generally not to be called by the user.

Usage

1
cutnumeric(x, n = 1000)

Arguments

x

numeric vector

n

number of classes

Details

It calls the cut function, and then converts factor classess in numeric classes, returning for each class its central value.

Value

It returns a numerical vector. The values are the central points of classes obtained by the function cut.

Note

This function is called from the function overlap.

Author(s)

Massimiliano Pastore

See Also

cut

Examples

1
2
x <- rnorm(50)
cutnumeric(x,5)


Search within the overlapping package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.