handle_mergeplot: Merge samplebase information and stationplot data.

Description Usage Arguments Details Value

View source: R/handle_data.R

Description

This function can merge one attribute from "samplebase" list with "station_plot" dataframe.

Usage

1
handle_mergeplot(samplebase, stationplot)

Arguments

samplebase

One element of list sample_base, like "sample_base$citygroup2".

stationplot

The dataframe station_plot.

Details

This function aims to quickly plot points samplebase. It can be used before geo_pointplot function. You can x <- handle_mergeplot(samplebase$citygroup2,station_plot), and then geo_pointplot(x,na.rm=T,type=T). The attribute information contains in "type" column.

Value

A dataframe contains station_plot information and attribute information, which can be directly used by geo_pointplot().


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