-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathNAMESPACE
More file actions
43 lines (40 loc) · 1.01 KB
/
Copy pathNAMESPACE
File metadata and controls
43 lines (40 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Export all names except those beginning with .
# exportPattern("^[^\\.]")
# Export explicitly by name, good practice
export(
power.2stage
, power.2stage.KM
, power.2stage.fC
, power.2stage.GS
, power.2stage.in
, interim.2stage.in
, final.2stage.in
, power.2stage.p
, power.2stage.pAF
, power.2stage.ssr
, sampleN2.TOST
, power.tsd
, power.tsd.KM
, power.tsd.fC
, power.tsd.GS
, power.tsd.in
, interim.tsd.in
, final.tsd.in
, power.tsd.p
, power.tsd.pAF
, power.tsd.ssr
)
# Import all packages listed as Imports or Depends
import(
PowerTOST, stats
)
# good practice would be importFrom
#importFrom(PowerTOST, CV2se, CV2mse, OwensQ)
#importFrom(stats, pt, qt, pnorm, qnorm, rnorm, rchisq, quantile)
importFrom(mvtnorm, pmvt, pmvnorm, GenzBretz, rmvnorm)
importFrom(cubature, hcubature)
# Define S3 methods for the return value class "pwrtsd"
# of the power.2stage.xyz() functions
S3method(print, pwrtsd)
# class "evaltsd"
S3method(print, evaltsd)