# findTh: Find Calibration Thresholds In QCApro: Advanced Functionality for Performing and Evaluating Qualitative Comparative Analysis

## Description

This function finds calibration thresholds for splitting base variables into the desired number of groups using cluster analysis.

## Usage

 `1` ```findTh(x, groups = 2, hclustm = "complete", distm = "euclidean") ```

## Arguments

 `x` An interval or ratio-scaled base variable. `groups` A vector of integers with the desired number of groups. `hclustm` The agglomeration (clustering) method to be used. `distm` The distance measure to be used.

## Details

For more details about argument `groups`, see `?cutree`. For more details about argument `hclustm`, see `?hclust`. For more details about argument `distm`, see `?dist`.

## Value

A numeric vector of suggested threshold(s) for dividing base variables into the desired number of groups.

## Contributors

 Dusa, Adrian : programming Thiem, Alrik : development, documentation, testing

## Note

Default values from the `hclust` method and the `dist` method are used for both the distance measure `distm` and the clustering method `hclustm`.

## Author(s)

Alrik Thiem (Personal Website; ResearchGate Website)

`cutree`, `hclust`, `dist`

## Examples

 ```1 2 3 4 5 6 7 8``` ```# 15 random values between 1 and 100 x <- sample(1:100, size = 15) # split into two groups for csQCA findTh(x) # split into three groups for mvQCA findTh(x, groups = 3) ```

### Example output

```Please cite the 'QCApro' package as follows:

Thiem, Alrik. 2016. Professional Functionality for Performing and
Evaluating Qualitative Comparative Analysis. R Package Version 1.1-1.
URL: http://www.alrik-thiem.net/software/.

A BibTeX entry can be generated by:

citation(package = "QCApro")

All improvements and bug fixes on the predecessor package QCA 1.1-4
as well as all internal package changes can be browsed by:

news(package = "QCApro")

NOTE: As some function and object names currently overlap with the QCAGUI
package, you should work with only either QCApro or QCAGUI within one R session.

[1] 28.5
[1] 28.5 83.5
```

QCApro documentation built on May 1, 2019, 10:09 p.m.