Learn R Programming

aws (version 1.8-0)

extract-methods: Methods for Function extract in Package aws

Description

The method extract and/or compute specified statistics from object of class "aws", "awssegment", ICIsmooth and "kernsm".

Usage

## S3 method for class 'aws':
extract(x, what="y")
  ## S3 method for class 'awssegment':
extract(x, what="y")
  ## S3 method for class 'ICIsmooth':
extract(x, what="y")
  ## S3 method for class 'kernsm':
extract(x, what="y")

Arguments

x
object
what
Statistics to extract, defaults to what="y" corresponding to the original data (response variable). Alternatives are what="yhat" for the smoothed response, what="vhat" for the estimate