avgRep: Averages for a Set of Repeated Items

View source: R/avgRep.R

avgRepR Documentation

Averages for a Set of Repeated Items

Description

Provide person-averages for each column, where repeated ratings are given on separate rows.

Usage

avgRep(set1, set2, p = "p")

Arguments

set1

first set of ratings

set2

second set of ratings

p

person (or subject/case) identifier; should be given as first column Note that if "p = 0" is given, then this will match on the row.names of the datasets

Details

Currently omits a person who has *any* NA for a single variable - which would correspond to the person never rating the variable in either first or second repetition

Value

Person's (p) average score for variable in each column


funfield-lab/fancyr documentation built on Nov. 21, 2023, 2:42 p.m.