Description Usage Arguments Details Value Author(s) Examples
Interfaces to EnvStats
functions that can be used
in a pipeline implemented by magrittr
.
1 2 3 4 5 6 7 8 9 | #ntbt_calibrate(data, ...) ## Not implement for 0.99.3 as needs an attach()
ntbt_gofTest(data, ...)
ntbt_gofGroupTest(data, ...)
ntbt_kendallSeasonalTrendTest(data, ...)
ntbt_kendallTrendTest(data, ...)
ntbt_stripChart(data, ...)
ntbt_summaryFull(data, ...)
ntbt_summaryStats(data, ...)
ntbt_varGroupTest(data, ...)
|
data |
data frame, tibble, list, ... |
... |
Other arguments passed to the corresponding interfaced function. |
Interfaces call their corresponding interfaced function.
Object returned by interfaced function.
Roberto Bertolusso
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | ## Not run:
library(intubate)
library(magrittr)
library(EnvStats)
## ntbt_calibrate: Fit a Calibration Line or Curve
#Cadmium <- EPA.97.cadmium.111.df$Cadmium
#Spike <- EPA.97.cadmium.111.df$Spike
data(EPA.97.cadmium.111.df)
## Original function to interface
calibrate(Cadmium ~ Spike, data = EPA.97.cadmium.111.df)
## NOTE: --check-as-cran does not like having an attach()
## in the code, which is needed to interface
## calibrate (at least for now). I will get back
## to this after 0.99.3 is submitted. Please do not
## report as bug (instead please find a solution to this!)
## The interface puts data as first parameter
#ntbt_calibrate(EPA.97.cadmium.111.df, Cadmium ~ Spike)
## so it can be used easily in a pipeline.
#EPA.97.cadmium.111.df %>%
# ntbt_calibrate(Cadmium ~ Spike)
## ntbt_gofGroupTest: Goodness-of-Fit Test for a Specified Probability
## Distribution for Groups
## Original function to interface
gofGroupTest(Nickel.ppb ~ Well, data = EPA.09.Ex.10.1.nickel.df)
## The interface puts data as first parameter
ntbt_gofGroupTest(EPA.09.Ex.10.1.nickel.df, Nickel.ppb ~ Well)
## so it can be used easily in a pipeline.
EPA.09.Ex.10.1.nickel.df %>%
ntbt_gofGroupTest(Nickel.ppb ~ Well)
## ntbt_gofTest: Goodness-of-Fit Test
## Original function to interface
gofTest(Nickel.ppb ~ 1, data = EPA.09.Ex.10.1.nickel.df)
## The interface puts data as first parameter
ntbt_gofTest(EPA.09.Ex.10.1.nickel.df, Nickel.ppb ~ 1)
## so it can be used easily in a pipeline.
EPA.09.Ex.10.1.nickel.df %>%
ntbt_gofTest(Nickel.ppb ~ 1)
## ntbt_kendallSeasonalTrendTest: Nonparametric Test for Monotonic Trend Within
## Each Season Based on Kendall's Tau Statistic
## Original function to interface
kendallSeasonalTrendTest(Unadj.Conc ~ Month + Year, data = EPA.09.Ex.14.8.df)
## The interface puts data as first parameter
ntbt_kendallSeasonalTrendTest(EPA.09.Ex.14.8.df, Unadj.Conc ~ Month + Year)
## so it can be used easily in a pipeline.
EPA.09.Ex.14.8.df %>%
ntbt_kendallSeasonalTrendTest(Unadj.Conc ~ Month + Year)
## ntbt_kendallTrendTest: Kendall's Nonparametric Test for Montonic Trend
## Original function to interface
kendallTrendTest(Sulfate.ppm ~ Sampling.Date, data = EPA.09.Ex.17.6.sulfate.df)
## The interface puts data as first parameter
ntbt_kendallTrendTest(EPA.09.Ex.17.6.sulfate.df, Sulfate.ppm ~ Sampling.Date)
## so it can be used easily in a pipeline.
EPA.09.Ex.17.6.sulfate.df %>%
ntbt_kendallTrendTest(Sulfate.ppm ~ Sampling.Date)
## ntbt_stripChart: 1-D Scatter Plots with Confidence Intervals
## Original function to interface
stripChart(TcCB ~ Area, data = EPA.94b.tccb.df, col = c("red", "blue"),
p.value = TRUE, ci.and.test = "nonparametric",
ylab = "TcCB (ppb)")
## The interface puts data as first parameter
ntbt_stripChart(EPA.94b.tccb.df, TcCB ~ Area, col = c("red", "blue"),
p.value = TRUE, ci.and.test = "nonparametric",
ylab = "TcCBntbt_summaryFull (ppb)")
## so it can be used easily in a pipeline.
EPA.94b.tccb.df %>%
ntbt_stripChart(TcCB ~ Area, col = c("red", "blue"),
p.value = TRUE, ci.and.test = "nonparametric",
ylab = "TcCB (ppb)")
## ntbt_summaryFull: Full Complement of Summary Statistics
## Original function to interface
summaryFull(TcCB ~ Area, data = EPA.94b.tccb.df)
## The interface puts data as first parameter
ntbt_summaryFull(EPA.94b.tccb.df, TcCB ~ Area)
## so it can be used easily in a pipeline.
EPA.94b.tccb.df %>%
ntbt_summaryFull(TcCB ~ Area)
## ntbt_summaryStats: Summary Statistics
## Original function to interface
summaryStats(log10(TcCB) ~ Area, data = EPA.94b.tccb.df)
## The interface puts data as first parameter
ntbt_summaryStats(EPA.94b.tccb.df, log10(TcCB) ~ Area)
## so it can be used easily in a pipeline.
EPA.94b.tccb.df %>%
ntbt_summaryStats(log10(TcCB) ~ Area)
## ntbt_varGroupTest: Test for Homogeneity of Variance Among Two or More Groups
## Original function to interface
varGroupTest(Arsenic.ppb ~ Well, data = EPA.09.Ex.11.1.arsenic.df)
## The interface puts data as first parameter
ntbt_varGroupTest(EPA.09.Ex.11.1.arsenic.df, Arsenic.ppb ~ Well)
## so it can be used easily in a pipeline.
EPA.09.Ex.11.1.arsenic.df %>%
ntbt_varGroupTest(Arsenic.ppb ~ Well)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.