[R-gregmisc-users] SF.net SVN: r-gregmisc:[2007] trunk/gplots/man
Brought to you by:
warnes
From: <wa...@us...> - 2015-05-01 17:47:44
|
Revision: 2007 http://sourceforge.net/p/r-gregmisc/code/2007 Author: warnes Date: 2015-05-01 17:47:42 +0000 (Fri, 01 May 2015) Log Message: ----------- Mark boxplot.n and() plot.lm2() as defunct. Modified Paths: -------------- trunk/gplots/man/gplots-deprecated.Rd trunk/gplots/man/lmplot2.Rd Added Paths: ----------- trunk/gplots/man/gplots-defunct.Rd Removed Paths: ------------- trunk/gplots/man/smartlegend.Rd Added: trunk/gplots/man/gplots-defunct.Rd =================================================================== --- trunk/gplots/man/gplots-defunct.Rd (rev 0) +++ trunk/gplots/man/gplots-defunct.Rd 2015-05-01 17:47:42 UTC (rev 2007) @@ -0,0 +1,51 @@ +\name{gplots-deprecated} +\alias{boxplot.n} +\alias{plot.lm2} +\title{Defunct functions} +\description{ + These funcntion are defunct and have been removed from the gplots package. +} +\usage{ + boxplot.n(..., top=FALSE, shrink=1, textcolor=NULL) + plot.lm2( + x, + which = 1:5, + caption = c("Residuals vs Fitted", "Normal Q-Q plot", + "Scale-Location plot", "Cook's distance plot"), + panel = panel.smooth, + sub.caption = deparse(x$call), + main = "", + ask, + ..., + id.n = 3, + labels.id = names(residuals(x)), + cex.id = 0.75, + band=TRUE, + rug=TRUE, + width=1/10, + max.n=5000 + ) +} +\arguments{ + \item{\dots}{see man page for the corresponding replacement function} + \item{top, shrink, textcolor}{See man page for + \code{\link{boxplot2}}.} + \item{x, which, caption, panel, sub.caption, main, ask, id.n, + labels.id, cex.id, band, rug, width, max.n}{See man page for + \code{\link{lmplot2}}.} +} +\details{ +These functions are no longer available. Please refer to the manual page +for the replacement function: + \itemize{ + \item \code{boxplot.n} has been replaced by \code{\link{boxplot2}} + \item \code{plot.lm2} has been replaced by \code{\link{lmplot2}} + } +} +\author{Gregory R. Warnes \email{gr...@wa...}} +\seealso{ + \code{\link{boxplot2}}, + \code{\link{lmplot2}}, + \code{\link[base]{Defunct}} +} +\keyword{misc} Modified: trunk/gplots/man/gplots-deprecated.Rd =================================================================== --- trunk/gplots/man/gplots-deprecated.Rd 2015-05-01 17:44:30 UTC (rev 2006) +++ trunk/gplots/man/gplots-deprecated.Rd 2015-05-01 17:47:42 UTC (rev 2007) @@ -1,52 +1,30 @@ \name{gplots-deprecated} -\alias{boxplot.n} -\alias{plot.lm2} +\alias{deprecated} \title{Deprecated functions} \description{ These funcntion have been deprecated and will be removed in future releases of gplots. } \usage{ - boxplot.n(..., top=FALSE, shrink=1, textcolor=NULL) - plot.lm2( - x, - which = 1:5, - caption = c("Residuals vs Fitted", "Normal Q-Q plot", - "Scale-Location plot", "Cook's distance plot"), - panel = panel.smooth, - sub.caption = deparse(x$call), - main = "", - ask, +smartlegend(x = c("left", "center", "right"), + y = c("top", "center", "bottom"), ..., - id.n = 3, - labels.id = names(residuals(x)), - cex.id = 0.75, - band=TRUE, - rug=TRUE, - width=1/10, - max.n=5000 - ) + inset = 0.05) } \arguments{ - \item{\dots}{see man page for the corresponding replacement function} - \item{top, shrink, textcolor}{See man page for - \code{\link{boxplot2}}.} - \item{x, which, caption, panel, sub.caption, main, ask, id.n, - labels.id, cex.id, band, rug, width, max.n}{See man page for - \code{\link{lmplot2}}.} + \item{x, y, inset, \dots}{see man page for the corresponding replacement function} } \details{ These functions have been deprecated. Please refer to the manual page for the replacement function: \itemize{ - \item \code{boxplot.n} has been replaced by \code{\link{boxplot2}} - \item \code{plot.lm2} has been replaced by \code{\link{lmplot2}} + \item \code{smartlegend} is no longer needed because relative + positioning has been implemented in graphics::legend(). } } \author{Gregory R. Warnes \email{gr...@wa...}} \seealso{ - \code{\link{boxplot2}}, - \code{\link{lmplot2}}, + \code{\link{legend}}, \code{\link[base]{Deprecated}} } \keyword{misc} Modified: trunk/gplots/man/lmplot2.Rd =================================================================== --- trunk/gplots/man/lmplot2.Rd 2015-05-01 17:44:30 UTC (rev 2006) +++ trunk/gplots/man/lmplot2.Rd 2015-05-01 17:47:42 UTC (rev 2007) @@ -1,5 +1,6 @@ \name{lmplot2} \alias{lmplot2} +\alais{plot.lm2} \title{ Plots to assess the goodness of fit for the linear model objects } @@ -29,7 +30,7 @@ } \arguments{ \item{x}{lm object} - \item{which}{Numerical values between 1 and 5, indicating which plots + \item{which}{Numerical values between 1 and 5, indicating which plots to be shown. The codes are: \describe{ \item{1}{Fitted vs residuals} @@ -43,7 +44,7 @@ \item{panel}{ function to draw on the existing plot} \item{sub.caption}{ SubCaption for the plots } \item{main}{Main title of the plot} - \item{ask}{whether interactive graphics or postscript } + \item{ask}{whether interactive graphics} \item{\dots}{ parameters passed to \code{lmplot2}. } \item{id.n}{ integer value, less than or equal to residuals of lm object } \item{labels.id}{Names of the residuals of the lm object} @@ -55,8 +56,8 @@ \item{max.n}{Maximum number of points to display in plots} } \note{ - This function replaces \code{boxplot.n}, which has been deprecated - avoid potential problems with S3 method dispatching. + This function replaces \code{plot.lm2}, which has been deprecated + to avoid potential problems with S3 method dispatching. } \author{Gregory R. Warnes \email{gr...@wa...} and Nitin Jain \email{nit...@pf...}} Deleted: trunk/gplots/man/smartlegend.Rd =================================================================== --- trunk/gplots/man/smartlegend.Rd 2015-05-01 17:44:30 UTC (rev 2006) +++ trunk/gplots/man/smartlegend.Rd 2015-05-01 17:47:42 UTC (rev 2007) @@ -1,45 +0,0 @@ -\name{smartlegend} -\alias{smartlegend} -\title{Place a legend in a specified logical ("top","bottom", "left", - "right", etc) location on a plot.} -\description{ - This function places a legend in a specified logical ("top","bottom", "left", - "right", etc) location on a plot. -} -\usage{ -smartlegend(x = c("left", "center", "right"), - y = c("top", "center", "bottom"), - ..., inset = 0.05) -} -\arguments{ - \item{x}{horizontal location on the plot. One of "left", "center" or - "right".} - \item{y}{vertical location on the plot. One of "top", "center", or - "bottom".} - \item{\dots}{arguments for \code{legend}} - \item{inset}{inset distance from the margin as a fraction of the plot - region.} -} -\value{ - Same as \code{legend} -} -\note{ - This function is deprecated because \code{\link{legend}} has - implemented relative positioning (e.g. \code{x="topright"}). -} -\author{Gregory R. Warnes \email{gr...@wa...} } -\seealso{ \code{\link{legend}} } -\examples{ - -x <- rnorm(100) -y <- rnorm(100, x^2 ) -plot(x,y) -abline( lm(y~x), col="red", lty=1, type="b") # regression fit -lines( lowess(y~x), col="blue", lty=2, type="b") # lowess fit - -smartlegend(x="center", y="top", - c("Regression","Locally Linear Smooth"), - col=c("red","blue"), lty=1:2) - -} -\keyword{hplot} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |