andrewcore: Core function to be passed to andrew.imputed

Description Usage Arguments Value

View source: R/andrew.R

Description

'andrew.imputed' prepares the data frame to be passed to this function.

Usage

1
andrewcore(data, t = seq(-pi, pi, length.out = 100))

Arguments

data

data.frame (or matrix). Contains observations rowwise and last column is a group indicator. The indicator is responsible for coloring of the curves. Notably, the input format exceeds the dummy format; any integer values can be used to indicate grouping.

t

vector (sequence). At which the fourier series is to be evaluated.

Value

Plot of Andrew's curve. Colored according to indicator.


TiStat/Imputegamlss documentation built on May 20, 2019, 9:25 a.m.