weights.joinet.Rd 571 Bytes
Newer Older
Armin Rauschenberger's avatar
Armin Rauschenberger committed
1
2
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions.R
Armin Rauschenberger's avatar
Armin Rauschenberger committed
3
4
\name{weights.joinet}
\alias{weights.joinet}
Armin Rauschenberger's avatar
Armin Rauschenberger committed
5
6
\title{Extract Weights}
\usage{
Armin Rauschenberger's avatar
Armin Rauschenberger committed
7
\method{weights}{joinet}(object, ...)
Armin Rauschenberger's avatar
Armin Rauschenberger committed
8
9
}
\arguments{
Armin Rauschenberger's avatar
Armin Rauschenberger committed
10
\item{object}{\link[joinet]{joinet} object}
Armin Rauschenberger's avatar
Armin Rauschenberger committed
11
12
13
14
15
16
17
18
19
20
21

\item{...}{further arguments (not applicable)}
}
\description{
Extracts coefficients from the meta learner,
i.e. the weights for the base learners.
}
\examples{
n <- 30; q <- 2; p <- 20
Y <- matrix(rnorm(n*q),nrow=n,ncol=q)
X <- matrix(rnorm(n*p),nrow=n,ncol=p)
Armin Rauschenberger's avatar
Armin Rauschenberger committed
22
object <- joinet(Y=Y,X=X)
Armin Rauschenberger's avatar
Armin Rauschenberger committed
23
24
25
weights(object)

}