calc.fo.weights: Calculate Fictional Observation Weights

Description Usage Arguments Value Examples

Description

Determines the coeffiicients for terms in the fictional observations, to ensure a given weight relative to the normal observations.

Usage

1
calc.fo.weights(formula, label, ratio, data)

Arguments

formula

lm-style formula

label

the term to be used in fictional observations

ratio

desired ratio of observed and fictional data

data

optional data frame

Value

Coefficients for fictional observations

Examples

1
2
calc.fo.weights(Sepal.Length ~ Petal.Length + Sepal.Width : Species,
  "Sepal.Width:Species", 5, data=iris)

jrising/hierlm documentation built on May 31, 2019, 8:08 a.m.