PLSR_from_file: Partial Least Squares Regression from file Last mod: 6/17/18,...

Description Usage Arguments

View source: R/PLSR_from_file.R

Description

Writes out Xscores, Xloadings, and PVE. Plot scores output with plot_pls()

Usage

1
2
3
PLSR_from_file(file, sample.names, sample.type, y.response,
  title = "PLSR", comps = 5, scale = F, comp.x = "comp.1",
  comp.y = "comp.2", labels = F, fread = F)

Arguments

file

file for X matrix

sample.names

vector of names of the samples

sample.type

vector of sample groups

y.response

numeric vector of response values in same order as samples

title

title of the plot

scale

default=F

comp.x, comp.y

comps to display

labels

label the plot, default = F

fread

defaylt = F

comp

number of components to compute


KSheu/ksheu.lib documentation built on Oct. 14, 2020, 11:55 p.m.