compile Rd files, i.e. R documents
This commit is contained in:
22
R-package/man/getinfo.Rd
Normal file
22
R-package/man/getinfo.Rd
Normal file
@@ -0,0 +1,22 @@
|
||||
% Generated by roxygen2 (4.0.1): do not edit by hand
|
||||
\name{getinfo}
|
||||
\alias{getinfo}
|
||||
\title{Get information of an xgb.DMatrix object}
|
||||
\usage{
|
||||
getinfo(object, ...)
|
||||
}
|
||||
\arguments{
|
||||
\item{object}{Object of class "xgb.DMatrix"}
|
||||
|
||||
\item{name}{the name of the field to get}
|
||||
}
|
||||
\description{
|
||||
Get information of an xgb.DMatrix object
|
||||
}
|
||||
\examples{
|
||||
data(iris)
|
||||
iris[,5] <- as.numeric(iris[,5])
|
||||
dtrain <- xgb.DMatrix(as.matrix(iris[,1:4]), label=iris[,5])
|
||||
labels <- getinfo(dtest, "label")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user