factor_test_uniregress: Creator of factor_test_uniregress class

Description Usage Arguments Value

View source: R/factor-test.R

Description

Conduct univariate regression test for descriptors of factors and build object of factor_test_uniregress class as output.

Usage

1
2
3
4
5
6
7
8
factor_test_uniregress(
  ds_test,
  regress_fun,
  ...,
  output_type = c("summary", "raw"),
  factor_field = "factor_name",
  date_field = "date"
)

Arguments

ds_test

A timeseries dataset with descriptors of factors for test

regress_fun

a function to conduct regress.

...

Arguments passed to regress_fun.

output_type

Type of output data, i.e."summary", "raw", if "raw", raw data will be append to output object for diagnosis.

factor_field

Name of factor field of ds_test, by default "factor_name".

date_field

Name of date field of ds_test, by default "date", Column must be date-like.

Value

1
            A object of factor_test_uniregress class.

chriszheng2016/zstmodelr documentation built on June 13, 2021, 8:59 p.m.