getWeight: get weight info from an index system file or dataframe

Description Usage Examples

Description

This function is used to read the desinged index system file or dataframe. Note that the data format should be like this ([xxx] are columns for computing index automatically): —- pathString, weight, [func], [parameter], [remark], ... overall,,,, overall/growth/yoy3, 0.3, yoy, 3, yoy index for 3 monthes

Usage

1
2
3
weight = getWeight(filename)
or
weight = getweight(dataframe)

Examples

1

DataShrimp/rating documentation built on May 7, 2019, 10:37 a.m.