predict_Rcpp_s2net {s2net} | R Documentation |
Predict method for s2net
C++ class.
Description
This function provides an interface in R for the method predict
in C++ class s2net
.
Usage
predict_Rcpp_s2net(object, newX, type = "default")
Arguments
object |
An object of class |
newX |
Data to make predictions. Could be a |
type |
Type of predictions. One of |
Details
This method is included as a high-level wrapper of object$predict()
.
Value
Returns a column matrix
with the same number of rows/observations as newX
.
Author(s)
Juan C. Laria
See Also
[Package s2net version 1.0.7 Index]