From c476514598d1fe3795f8c70e163a712045ad8b9d Mon Sep 17 00:00:00 2001 From: Fernando Mayer <fernandomayer@gmail.com> Date: Mon, 24 Aug 2015 20:15:01 -0300 Subject: [PATCH] fix function name in .R file --- NAMESPACE | 2 +- R/polyGui.R | 8 ++++---- man/polyGui.Rd | 9 ++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index adfbd9d..07e3e94 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,6 +1,6 @@ # Generated by roxygen2 (4.1.1): do not edit by hand -export(poly.gui) +export(polyGui) export(subsetDropAll) export(twoStripCombined) import(gWidgets) diff --git a/R/polyGui.R b/R/polyGui.R index 05894c8..d9c9c3a 100644 --- a/R/polyGui.R +++ b/R/polyGui.R @@ -24,12 +24,12 @@ #' @examples #' \donttest{ #' -#' poly.gui(x=area, y=peri, data=rock, er=0.3) -#' poly.gui(x=speed, y=dist, data=cars, er=0.3) -#' poly.gui(x=eruptions, y=waiting, data=faithful, er=0.3) +#' polyGui(x=area, y=peri, data=rock, er=0.3) +#' polyGui(x=speed, y=dist, data=cars, er=0.3) +#' polyGui(x=eruptions, y=waiting, data=faithful, er=0.3) #' #' } -poly.gui <- function(x, y, data, er=0.05){ +polyGui <- function(x, y, data, er=0.05){ ## ##------------------------------------------- ## Loading the required packages. diff --git a/man/polyGui.Rd b/man/polyGui.Rd index 004febd..2d4a4ef 100644 --- a/man/polyGui.Rd +++ b/man/polyGui.Rd @@ -1,11 +1,10 @@ % Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/polyGui.R \name{polyGui} -\alias{poly.gui} \alias{polyGui} \title{Polynomial regression GUI} \usage{ -poly.gui(x, y, data, er = 0.05) +polyGui(x, y, data, er = 0.05) } \arguments{ \item{x,y}{independent and dependent (numeric) regression variables.} @@ -29,9 +28,9 @@ that \code{gWidgets} and \code{gWidgetstcltk} packages are available. \examples{ \donttest{ -poly.gui(x=area, y=peri, data=rock, er=0.3) -poly.gui(x=speed, y=dist, data=cars, er=0.3) -poly.gui(x=eruptions, y=waiting, data=faithful, er=0.3) +polyGui(x=area, y=peri, data=rock, er=0.3) +polyGui(x=speed, y=dist, data=cars, er=0.3) +polyGui(x=eruptions, y=waiting, data=faithful, er=0.3) } } -- GitLab