powerSum: a powered sum covariate

Description Usage Arguments Value

Description

a powered sum covariate

Usage

1
2
  powerSum(f, fixed = NULL, starting = NULL,
    prefixes = c("beta", "gamma"))

Arguments

f

formula - first covariate is baseline

fixed

list of fixed parameter values

starting

starting values for optimiser

prefixes

names to give the parameters

Value

a function of a data frame. Calling this creates a function of the parameters.


barryrowlingson/splatr documentation built on May 11, 2019, 8:30 p.m.