[...]

wibe(
  y = NULL,
  group = NULL,
  time = NULL,
  weights = NULL,
  dat,
  smoothDat = F,
  ref = F,
  long = F
)

Arguments

y

Dependent variable

group

Grouping variable to decompose variance into within- and between-group components

time

Time variable to analyze change over time

weights

Probability weights

dat

Dataframe

smoothDat

Logical. Should data be smoothed?

ref

Number or FALSE. Should values be reported in reference to a specific time?

long

Logical. Should output be in long format?

Value

List of length 2. Element 1 returns the decomposition by group and time. Elements 2 returns the decomposition by time.

Details

...

Author

Benjamin Rosche <benjamin.rosche@gmail.com>

Examples

data(incdat)
wibe1 <- wibe(y="inc", group="SES", time="year", dat=dat1)
#> Error in as.character(y) %in% names(dat): object 'dat1' not found