.ncol_check {jpinfect}R Documentation

Check Column Count to Classify Dataset Type

Description

This internal function determines the type of dataset ('sex', 'place', or 'bullet') based on the number of columns.

Usage

.ncol_check(dataset)

Arguments

dataset

A data frame whose column count will be analyzed.

Value

A character string indicating the dataset type ('sex', 'place', or 'bullet'). If column numbers do not match any predefined types, an error is thrown.


[Package jpinfect version 0.1.2 Index]