disc: Linear Discriminant Analysis

View source: R/disc.h.R

discR Documentation

Linear Discriminant Analysis

Description

Linear Discriminant Analysis

Usage

disc(
  data,
  dep,
  covs,
  per = 1,
  prior = TRUE,
  gm = FALSE,
  coef = FALSE,
  prop = FALSE,
  tra = FALSE,
  tes = FALSE,
  gc = TRUE,
  plot = FALSE,
  plot1 = FALSE,
  width = 500,
  height = 500,
  width1 = 500,
  height1 = 500
)

Arguments

data

.

dep

.

covs

.

per

.

prior

.

gm

.

coef

.

prop

.

tra

.

tes

.

gc

.

plot

.

plot1

.

width

.

height

.

width1

.

height1

.

Value

A results object containing:

results$instructions a html
results$text a preformatted
results$prior a table
results$gm a table
results$coef a table
results$prop a table
results$tra a table
results$tes a table
results$plot an image
results$gc a table
results$plot1 an image

Tables can be converted to data frames with asDF or as.data.frame. For example:

results$prior$asDF

as.data.frame(results$prior)


hyunsooseol/snowCluster documentation built on April 5, 2025, 2:06 a.m.