Learn R Programming

⚠️There's a newer version (0.7.6) of this package.Take me there.

fmsb (version 0.5.2)

Functions for Medical Statistics Book with some Demographic Data

Description

Several utility functions for the book entitled "Practices of Medical and Health Data Analysis using R" (Pearson Education Japan, 2007) with Japanese demographic data and some demographic analysis related functions.

Copy Link

Version

Install

install.packages('fmsb')

Monthly Downloads

15,173

Version

0.5.2

License

GPL (>= 2)

Maintainer

Last Published

September 11th, 2015

Functions in fmsb (0.5.2)

Jvital

Longitudinal data of several vital statistics in Japan
lifetable

Lifetable functions with mutual conversions
riskratio

Calculate risk ratio and its confidence intervals
oddsratio

Calculate odds ratio and its confidence intervals
pvalueplot

Drawing p-value function plot by a cross table
Jlife

Completed lifetables in Japan.
CM

Coale and McNeil's model nupitiality and its fitting
Jpop

Japanese population data
NagelkerkeR2

Calculate Nagelkerke's R squared.
truemedian

Calculate true median for data with ties.
rateratio

Calculate incidence rate ratio and its confidence intervals
ratedifference

Calculate incidence rate difference and its confidence intervals
Kappa.test

Calculate Cohen's kappa statistics for agreement
S60MPJ

Model population of Japan in Showa 60 (1985)
gstem

Draw the stem and leaf plot in a graphic device.
Siler

Siler's model mortality for qx and its fitting
VIF

Calculate variance inflation factor (VIF) from the result of lm.
geary.test

Geary's test for normality about kurtosis.
radarchart

Drawing radar chart (a.k.a. spider plot)
mhchart

Draw maternity history charts.
CT

Coale and Trussell's model marital fertility and its fitting
Hadwiger

Hadwiger's model fertility and its fitting
SIQR

Calculate semi-interquartile range
CronbachAlpha

Calculate Cronbach's alpha coefficient.
GompertzMakeham

Gompertz-Makeham's model mortality for u(x) and its fitting
JASM

Japanese mortality data
Jfert

Age-specific fertility rates and age-specific marital fertility rates in Japan.
pairwise.fisher.test

Exact version of pairwise.prop.test
Denny

Denny's model mortality for lx and its fitting
roc

Calculate Receiver Operating Characteristic (ROC) curve
Jvital2013byPref

Cross sectional data of several vital statistics in Japan 2013 for each prefecture
Jpopl

Japanese population data (unshrunken version)
percentile

Convert numeric vector into its percentile
riskdifference

Calculate risk difference and its confidence intervals