shift-share: shift-share

shift-shareR Documentation

shift-share

Description

万年庆,李红忠,史本林.基于偏离—份额法的我国农民收入结构演进的省际比较[J].地理研究,2012,31(04):672-686.

Usage

shift-share(start,end)
start and end should be in same data struction.

Arguments

x

Value

start:region1,region2 and so on in columns;the last column should be the province or country which includes all region1,2,3,.... and of which the value is regions' sum. end: the same as 'start'

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

bashanyeyu/hmgeo documentation built on June 28, 2022, 3:47 a.m.