basic_variables: Basic variables

Description Usage Arguments Value Note Author(s)

Description

basic_variables returns basic variables of an input data.table containing three columns (subject, measurement_x and measurement_y).

Usage

1
basic_variables(input_data)

Arguments

input_data

data.frame or data.table with input dataset

Value

A list with the following elements is returned

output_measurements

data.table with

output_subjects

data.table with

n

number of subjects

n_obs

number of observations

d

mean of all differences

d_a

alternative mean of all differences

mean_x

mean of all measurements with X

mean_x_a

alternative mean of all measurements with X

mean_y

mean of all measurements with Y

mean_y_a

alternative mean of all measurements with Y

param_rep_coeff

list with parameters for calculation of repeatability coefficients

Note

'Alternative' means are calculated with mean for each subject and then the overall mean of all subjects (every subject has the same impact on the overall mean).

Author(s)

Inga Koenemund inga.koenemund@web.de


ikoenemund/blandxtr documentation built on June 13, 2019, 8:53 p.m.