plays: Extract the plays component from a datavolley object, or...

View source: R/read_dv.R

playsR Documentation

Extract the plays component from a datavolley object, or assign a new one

Description

Extract the plays component from a datavolley object, or assign a new one

Usage

plays(x)

plays(x) <- value

Arguments

x

datavolley: a datavolley object as returned by dv_read

value

datavolleyplays: new data

Value

The plays component of x (a data.frame), or a modified version of x with the new plays component inserted

See Also

dv_read

Examples

## Not run: 
  x <- dv_read(dv_example_file(), insert_technical_timeouts=FALSE)
  inspect(plays(x))

  p2 <- plays(x)
  plays(x) <- p2

## End(Not run)

raymondben/datavolley documentation built on April 14, 2024, 11:31 p.m.