paired-class: Class '"paired"'

Description Objects from the Class Slots Extends Methods Author(s) Examples

Description

An object of class paired is a dataframe with two columns sharing the same class (usually numeric).

Objects from the Class

Objects can be created by calls of the form new("paired", ...).

Slots

.Data:

Object of class "list" ~~

names:

Object of class "character" ~~

row.names:

Object of class "data.frameRowLabels" ~~

.S3Class:

Object of class "character" ~~

Extends

Class "data.frame", directly. Class "list", by class "data.frame", distance 2. Class "oldClass", by class "data.frame", distance 2. Class "vector", by class "data.frame", distance 3.

Methods

effect.size

signature(object = "paired"): ...

summary

signature(object = "paired"): ...

plot

signature(object = "paired"): ...

Author(s)

Stephane Champely

Examples

1
2
3
4
5
6
data(IceSkating)
p<-with(IceSkating,paired(Extension,Flexion))
show(p)
plot(p)
summary(p)
effect.size(p)

Example output

Loading required package: MASS
Loading required package: gld
Loading required package: mvtnorm
Loading required package: lattice
Loading required package: ggplot2

Attaching package:PairedDataThe following object is masked frompackage:base:

    summary

Object of class "paired"
  Extension Flexion
1      2.13    1.90
2      1.77    1.55
3      1.68    1.62
4      2.04    1.89
5      2.12    2.01
6      1.92    1.91
7      2.08    2.10
NULL
$stat
              n      mean median  trim         sd   IQR (*) median ad (*)
Extension (x) 7 1.9628571  2.040 1.986 0.17857905 0.1890289      0.133434
Flexion (y)   7 1.8542857  1.900 1.866 0.19940387 0.1519644      0.163086
x-y           7 0.1085714  0.110 0.110 0.09788234 0.1111935      0.148260
(x+y)/2       7 1.9085714  1.965 1.924 0.18284133 0.1871757      0.148260
              mean ad (*)     sd(w)   min  max
Extension (x)  0.17188308 0.2416410  1.68 2.13
Flexion (y)    0.17188308 0.2580822  1.55 2.10
x-y            0.09847468 0.1397460 -0.02 0.23
(x+y)/2        0.16919741 0.2750378  1.65 2.09

$cor
            cor      wcor
(x,y) 0.8715607 0.9135036

         Average Single (x) Single (y) Difference
OLS    0.5736080  0.6079741  0.5444800  1.1092034
Robust 0.4800061  0.4966044  0.4649682  0.7871424

PairedData documentation built on May 1, 2019, 6:49 p.m.