rank: Ordinal Correlation

View source: R/rank.h.R

rankR Documentation

Ordinal Correlation

Description

Ordinal Correlation

Usage

rank(
  data,
  vars,
  type = "spearman",
  scale = "raw",
  cor = TRUE,
  plot = FALSE,
  plot1 = FALSE,
  plot2 = FALSE,
  plot3 = FALSE,
  width = 500,
  height = 500,
  width1 = 500,
  height1 = 500,
  width3 = 500,
  height3 = 500,
  width2 = 500,
  height2 = 500
)

Arguments

data

The data as a data frame.

vars

.

type

.

scale

.

cor

.

plot

.

plot1

.

plot2

.

plot3

.

width

.

height

.

width1

.

height1

.

width3

.

height3

.

width2

.

height2

.

Value

A results object containing:

results$instructions a html
results$matrix a table
results$plot an image
results$plot2 an image
results$plot1 an image
results$plot3 an image

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

results$matrix$asDF

as.data.frame(results$matrix)


hyunsooseol/seolmatrix documentation built on July 25, 2024, 4:42 a.m.