Files
ROBITools/man/rmS3Class.Rd

42 lines
829 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/s3objects.R
\name{rmS3Class}
\alias{rmS3Class}
\title{Removes a class from the class hierarchie attribute.}
\usage{
rmS3Class(object, classname)
}
\arguments{
\item{object}{the object to modify}
\item{classname}{the name of the class to remove}
}
\value{
the object given as parametter.
}
\description{
\code{rmS3Class} removes a class name from the vector
of class associated to the object. This the way to
remove the association between an object and a S3 class.
}
\note{
for efficiency purpose no check is done on the input
parametters
}
\examples{
x = c(1,3,2,5)
x = addS3Class(x,"my.vector")
class(x)
x = rmS3Class(x,"my.vector")
class(x)
}
\seealso{
\code{\link{addS3Class}}
}
\author{
Eric Coissac
}
\keyword{function}
\keyword{system}