devianceboot: Calculates the bootsrap deviances

Description Usage Arguments Examples

View source: R/devianceboot.R

Description

deviance calculates the bootstrap deviances.

Usage

1

Arguments

qp

output from quickpsy

Examples

1
2
3
4
library(MPDiR) # contains the Vernier data
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq), B = 20)
devianceboot(fit)

Example output

Loading required package: DEoptim
Loading required package: parallel

DEoptim package
Differential Evolution algorithm in R
Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich

Loading required package: dplyr

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: ggplot2

Attaching package: 'quickpsy'

The following object is masked from 'package:stats':

    deviance

# A tibble: 160 x 5
# Groups:   Direction, WaveForm, TempFreq, sample [160]
    Direction WaveForm TempFreq sample      deviance
    <fct>     <fct>    <fct>     <int>         <dbl>
  1 Downward  Sine     2             1  0.615       
  2 Downward  Sine     2             2  5.33        
  3 Downward  Sine     2             3  3.82        
  4 Downward  Sine     2             4  8.25        
  5 Downward  Sine     2             5  3.08        
  6 Downward  Sine     2             6  4.60        
  7 Downward  Sine     2             7  4.37        
  8 Downward  Sine     2             8  1.39        
  9 Downward  Sine     2             9  0.628       
 10 Downward  Sine     2            10  7.38        
 11 Downward  Sine     2            11  6.61        
 12 Downward  Sine     2            12  2.62        
 13 Downward  Sine     2            13  3.25        
 14 Downward  Sine     2            14  6.00        
 15 Downward  Sine     2            15  7.56        
 16 Downward  Sine     2            16  3.28        
 17 Downward  Sine     2            17  2.67        
 18 Downward  Sine     2            18  8.82        
 19 Downward  Sine     2            19  2.02        
 20 Downward  Sine     2            20  0.615       
 21 Downward  Sine     8             1  2.05        
 22 Downward  Sine     8             2 14.4         
 23 Downward  Sine     8             3 27.1         
 24 Downward  Sine     8             4 15.4         
 25 Downward  Sine     8             5  4.78        
 26 Downward  Sine     8             6 16.2         
 27 Downward  Sine     8             7  5.19        
 28 Downward  Sine     8             8 17.4         
 29 Downward  Sine     8             9  5.41        
 30 Downward  Sine     8            10 40.2         
 31 Downward  Sine     8            11 12.6         
 32 Downward  Sine     8            12  7.51        
 33 Downward  Sine     8            13 15.9         
 34 Downward  Sine     8            14  8.96        
 35 Downward  Sine     8            15  5.56        
 36 Downward  Sine     8            16 10.1         
 37 Downward  Sine     8            17 12.3         
 38 Downward  Sine     8            18 24.0         
 39 Downward  Sine     8            19  7.80        
 40 Downward  Sine     8            20 16.0         
 41 Downward  Square   2             1  0.0000000571
 42 Downward  Square   2             2  0.668       
 43 Downward  Square   2             3  4.21        
 44 Downward  Square   2             4  0.668       
 45 Downward  Square   2             5  0.0000000571
 46 Downward  Square   2             6  6.15        
 47 Downward  Square   2             7  0.0000000571
 48 Downward  Square   2             8  4.21        
 49 Downward  Square   2             9  0.668       
 50 Downward  Square   2            10  0.668       
 51 Downward  Square   2            11  4.21        
 52 Downward  Square   2            12  0.668       
 53 Downward  Square   2            13  4.21        
 54 Downward  Square   2            14  4.21        
 55 Downward  Square   2            15  0.668       
 56 Downward  Square   2            16  0.0000000571
 57 Downward  Square   2            17  0.0000000571
 58 Downward  Square   2            18  4.21        
 59 Downward  Square   2            19  0.0000000571
 60 Downward  Square   2            20  4.21        
 61 Downward  Square   8             1  1.48        
 62 Downward  Square   8             2 11.9         
 63 Downward  Square   8             3  8.12        
 64 Downward  Square   8             4  8.28        
 65 Downward  Square   8             5  2.85        
 66 Downward  Square   8             6  4.26        
 67 Downward  Square   8             7  7.13        
 68 Downward  Square   8             8  6.07        
 69 Downward  Square   8             9 10.3         
 70 Downward  Square   8            10  4.69        
 71 Downward  Square   8            11  4.24        
 72 Downward  Square   8            12  5.77        
 73 Downward  Square   8            13  1.26        
 74 Downward  Square   8            14 25.6         
 75 Downward  Square   8            15  3.63        
 76 Downward  Square   8            16  6.59        
 77 Downward  Square   8            17 11.4         
 78 Downward  Square   8            18  3.79        
 79 Downward  Square   8            19 12.0         
 80 Downward  Square   8            20 15.1         
 81 Upward    Sine     2             1  3.79        
 82 Upward    Sine     2             2 10.3         
 83 Upward    Sine     2             3 10.4         
 84 Upward    Sine     2             4  8.50        
 85 Upward    Sine     2             5  4.84        
 86 Upward    Sine     2             6  4.86        
 87 Upward    Sine     2             7  4.48        
 88 Upward    Sine     2             8  9.13        
 89 Upward    Sine     2             9  3.99        
 90 Upward    Sine     2            10 10.4         
 91 Upward    Sine     2            11  6.92        
 92 Upward    Sine     2            12  3.81        
 93 Upward    Sine     2            13  8.99        
 94 Upward    Sine     2            14  5.33        
 95 Upward    Sine     2            15  4.33        
 96 Upward    Sine     2            16 10.9         
 97 Upward    Sine     2            17  4.86        
 98 Upward    Sine     2            18  9.62        
 99 Upward    Sine     2            19  4.33        
100 Upward    Sine     2            20 10.2         
101 Upward    Sine     8             1  1.58        
102 Upward    Sine     8             2  7.80        
103 Upward    Sine     8             3  2.82        
104 Upward    Sine     8             4  4.41        
105 Upward    Sine     8             5  1.75        
106 Upward    Sine     8             6  4.91        
107 Upward    Sine     8             7  2.42        
108 Upward    Sine     8             8  6.53        
109 Upward    Sine     8             9  0.675       
110 Upward    Sine     8            10  7.15        
111 Upward    Sine     8            11 16.1         
112 Upward    Sine     8            12  2.27        
113 Upward    Sine     8            13  8.59        
114 Upward    Sine     8            14  6.21        
115 Upward    Sine     8            15  1.90        
116 Upward    Sine     8            16  2.66        
117 Upward    Sine     8            17  5.72        
118 Upward    Sine     8            18  6.17        
119 Upward    Sine     8            19  6.09        
120 Upward    Sine     8            20 14.9         
121 Upward    Square   2             1  0.000611    
122 Upward    Square   2             2  2.72        
123 Upward    Square   2             3  3.48        
124 Upward    Square   2             4  4.21        
125 Upward    Square   2             5  2.05        
126 Upward    Square   2             6  1.50        
127 Upward    Square   2             7  2.05        
128 Upward    Square   2             8  3.31        
129 Upward    Square   2             9  1.50        
130 Upward    Square   2            10  0.667       
131 Upward    Square   2            11  2.72        
132 Upward    Square   2            12  4.21        
133 Upward    Square   2            13  1.78        
134 Upward    Square   2            14  2.72        
135 Upward    Square   2            15  0.667       
136 Upward    Square   2            16  4.21        
137 Upward    Square   2            17  5.04        
138 Upward    Square   2            18  1.50        
139 Upward    Square   2            19  2.05        
140 Upward    Square   2            20  2.05        
141 Upward    Square   8             1  0.0670      
142 Upward    Square   8             2 10.7         
143 Upward    Square   8             3 25.1         
144 Upward    Square   8             4 24.1         
145 Upward    Square   8             5 17.6         
146 Upward    Square   8             6 20.5         
147 Upward    Square   8             7  5.23        
148 Upward    Square   8             8 30.1         
149 Upward    Square   8             9  4.24        
150 Upward    Square   8            10  9.14        
151 Upward    Square   8            11 10.8         
152 Upward    Square   8            12  4.62        
153 Upward    Square   8            13 29.6         
154 Upward    Square   8            14 25.7         
155 Upward    Square   8            15  4.62        
156 Upward    Square   8            16 12.7         
157 Upward    Square   8            17 26.5         
158 Upward    Square   8            18 13.7         
159 Upward    Square   8            19  3.25        
160 Upward    Square   8            20  7.76        

quickpsy documentation built on Oct. 2, 2019, 5:03 p.m.