result_present3: Caculate now_wmean previous_increaseratio and...

Description Usage Arguments Details Value

View source: R/report_support.R

Description

This function can caculate 3 components in one time by given attsname and carstype.

Usage

1
result_present3(newsjd, previoussjd, lastsjd, attsname, carstype)

Arguments

newsjd

The jd dataframe which used to be jdnews.

previoussjd

The jd dataframe which used to be jdpreviouss.

lastsjd

The jd dataframe which used to be jdlasts.

attsname

A string that you want to analysis, for example "citygroup2".

carstype

A string must be one from "cars", "passcars", "frecars".

Details

This function serves for report wirting. It's very common that combines now_wmean, previous_increaseratio and last_increaseratio in one dataframe. This function is a combination machine which combines most important functions into one.

It's the most useful function in this package.

Value

A dataframe consists of 3 columns, including now_wmean, previous_increaseratio, last_increaseratio.


ahorawzy/Mreport documentation built on May 3, 2019, 3:40 p.m.