refnr() performs a data refinement through R script eval function using a formula table.
A data table
A data table that describes a set of formulas. It is supposed
to have only two columns: Name and Formula respectively.
formulas <- rbind(c(Name = "Length",
Formula = "Sepal.Length + Petal.Length"),
c(Name = "Width",
Formula = "Sepal.Width + Petal.Width"))
res <- refnr(iris, formulas)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.