Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mmRmeta/man/calc_prediction.Rd
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18 lines (16 sloc)
583 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Generated by roxygen2: do not edit by hand | |
% Please edit documentation in R/z_old_functions.R | |
\name{calc_prediction} | |
\alias{calc_prediction} | |
\title{Make Prediction from Fit} | |
\usage{ | |
calc_prediction(glmnet_fit, model_matrix) | |
} | |
\arguments{ | |
\item{model_matrix}{Model matrix for glmnet made by predictor variables} | |
\item{response}{Respose vector for glmnet, classification of patients} | |
\item{return_plots}{Logical - If TRUE, outpit is a list of} | |
} | |
\description{ | |
This function uses glmnet to test which variable of a selected factor is described by other variables in the data set. | |
} |