optimal_number_factors {TextForecast}R Documentation

optimal number of factors function

Description

optimal number of factors function

Usage

optimal_number_factors(x, kmax)

Arguments

x

a matrix x.

kmax

the maximum number of factors

Value

a list with the optimal factors.

Examples

data("optimal_x")
optimal_factor <- optimal_number_factors(x=optimal_x,kmax=8)

[Package TextForecast version 0.1.3 Index]