categorize {MonteCarloSEM}R Documentation

This function uses pre-given data sets to create categorical data sets for given thresholds.

Description

Previously simulated data sets are utilized to create categorical data sets by the given thresholds.

Usage

categorize(f.loc, threshold, dataList = "Data_List.dat")

Arguments

f.loc

File location. Generated data sets will be saved at the user-defined location.

threshold

The threshold values.

dataList

List of the names of data sets generated earlier either with the package functions or any other software.

Author(s)

Fatih Orçan

Examples

tres<-c(-Inf, -1.645, -.643, .643, 1.645, Inf) # five categories
categorize(f.loc=tempdir(), threshold = tres)

[Package MonteCarloSEM version 0.0.8 Index]