Description Usage Arguments Details Value Author(s) Examples
Interfaces to iRegression
functions that can be used
in a pipeline implemented by magrittr
.
1 2 3 4 5 |
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 | ## Not run:
library(intubate)
library(magrittr)
library(iRegression)
## bivar
data("soccer.bivar", package = "iRegression")
## Original function to interface
bivar(yMin ~ t1Min + t2Min, "identity", yMax ~ t1Max + t2Max, "identity", data = soccer.bivar)
## The interface puts data as first parameter
ntbt_bivar(soccer.bivar, yMin ~ t1Min + t2Min, "identity", yMax ~ t1Max + t2Max, "identity")
## so it can be used easily in a pipeline.
soccer.bivar %>%
ntbt_bivar(yMin ~ t1Min + t2Min, "identity", yMax ~ t1Max + t2Max, "identity")
## ntbt_ccrm
data("Cardiological.CR", package = "iRegression")
## Original function to interface
ccrm(PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR, data = Cardiological.CR)
## The interface puts data as first parameter
ntbt_ccrm(Cardiological.CR, PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR)
## so it can be used easily in a pipeline.
Cardiological.CR %>%
ntbt_ccrm(PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR)
## ntbt_cm
data("Cardiological.MinMax", package = "iRegression") ## see Billard and Diday (2000)
## Original function to interface
cm(PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax, data = Cardiological.MinMax)
## The interface puts data as first parameter
ntbt_cm(Cardiological.MinMax, PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax)
## so it can be used easily in a pipeline.
Cardiological.MinMax %>%
ntbt_cm(PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax)
## ntbt_crm
data("Cardiological.CR", package = "iRegression")
## Original function to interface
crm(PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR, data = Cardiological.CR)
## The interface puts data as first parameter
ntbt_crm(Cardiological.CR, PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR)
## so it can be used easily in a pipeline.
Cardiological.CR %>%
ntbt_crm(PulseC ~ SystC + DiastC, PulseR ~ SystR + DiastR)
## ntbt_MinMax
data("Cardiological.MinMax", package = "iRegression") ## see Billard, L. and Diday, E. (2000)
## Original function to interface
MinMax(PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax, data = Cardiological.MinMax)
## The interface puts data as first parameter
ntbt_MinMax(Cardiological.MinMax, PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax)
## so it can be used easily in a pipeline.
Cardiological.MinMax %>%
ntbt_MinMax(PulseMin ~ SystMin + DiastMin, PulseMax ~ SystMax + DiastMax)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.