This function is a wrapper for the carelessObject() function, which wraps a number of functions from the careless package. Normally, you'd probably call carelessReport which calls this function to generate a report of suspect participants.

suspectParticipants(
  carelessObject,
  nFlags = 1,
  digits = 2,
  missingSymbol = "Missing"
)

Arguments

carelessObject

The result of the call to carelessObject().

nFlags

The number of flags required to be considered suspect.

digits

The number of digits to round to.

missingSymbol

How to represent missing values.

Value

A logical vector.

Examples

suspectParticipants(carelessObject(mtcars),
                    nFlags = 2);
#>                    longstring  irvTotal      irv1      irv2     irv3     irv4
#> Merc 230                    1  46.68811  74.15264  52.80875 15.48564 2.000000
#> Cadillac Fleetwood          2 147.34689 267.20040 116.00124 12.71378 2.081666
#> Maserati Bora               1 126.32051 167.17954 191.35986 10.32376 3.511885
#>                    mahalanobis longstring_prob irvTotal_prob irv1_prob
#> Merc 230              22.59312         0.28125       0.34375    0.3125
#> Cadillac Fleetwood    11.20131         1.00000       1.00000    1.0000
#> Maserati Bora         19.19238         0.28125       0.90625    0.6875
#>                    irv2_prob irv3_prob irv4_prob mahalanobis_prob
#> Merc 230              0.2500    1.0000     0.625           1.0000
#> Cadillac Fleetwood    0.8125    0.7500     0.875           0.6875
#> Maserati Bora         1.0000    0.0625     1.000           0.9375
#>                    longstring_flagged irvTotal_flagged irv1_flagged
#> Merc 230                        FALSE            FALSE        FALSE
#> Cadillac Fleetwood               TRUE             TRUE         TRUE
#> Maserati Bora                   FALSE            FALSE        FALSE
#>                    irv2_flagged irv3_flagged irv4_flagged mahalanobis_flagged
#> Merc 230                  FALSE         TRUE        FALSE                TRUE
#> Cadillac Fleetwood        FALSE        FALSE        FALSE               FALSE
#> Maserati Bora              TRUE        FALSE         TRUE               FALSE
#>                    nFlags longstring_chr irvTotal_chr irv1_chr irv2_chr
#> Merc 230                2             1        46.69    74.15    52.81 
#> Cadillac Fleetwood      3             2*      147.35*   267.2*     116 
#> Maserati Bora           2             1       126.32   167.18   191.36*
#>                    irv3_chr irv4_chr mahalanobis_chr
#> Merc 230             15.49*       2           22.59*
#> Cadillac Fleetwood   12.71     2.08            11.2 
#> Maserati Bora        10.32     3.51*          19.19