Pingjia data calculation tools

auc | Area under the ROC curve (AUC) |

binarySearch | Get the position of x in vector y |

binary_search_cpp | Binary search cpp version |

cal_gps_dist | Calculate earth distance between two points gps longitude and... |

cal_user_coef | A big wrapper of get user insurance discount coef. |

coordinate_transform | Coordinate transform |

fill_na | Fill NA with the last no-NA value generic. |

fmt_gps_json | Generate GPS lines data for echarts |

get_score | Get the score of a risk factor according to the given config. |

pjutils | pjutils: Utils for data calculation and analysis. |

reexports | Objects exported from other packages |

rf2score | Raw risk factors value to score. |

sum_rf_score | Sum every risk factor score |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.