Learn R Programming

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

moonBook (version 0.1.1)

Functions and Datasets for the Book by Keon-Woong Moon

Description

Several analysis-related functions for the book entitled "R statistics and graph for medical articles" (written in Korean), version 1, by Keon-Woong Moon with Korean demographic data with several plot functions.

Copy Link

Version

Install

install.packages('moonBook')

Monthly Downloads

3,446

Version

0.1.1

License

GPL-2

Maintainer

KeonWoong Moon

Last Published

December 5th, 2014

Functions in moonBook (0.1.1)

HRplot

Draw a hazard ratio plot
extractHR

Extract hazard ratio from a data.frame
validColname

Find valid string among character vecter from approximate string
mylatex.cbind.mytable

Exporting "cbind.mytable" table to LaTeX format
mycph

Perform coxph of individual expecting variables
mytable2df

Convert mytable object to data.frame
mylatex

Exporting "cbind.mytable","mytable" table to LaTeX format
my.chisq.test

Internal mytable functions
mytable.sub

Internal mytable functions
rank2group

rank a numeric vector and returns a new ordinal vector
densityplot

Make Kernel density plot
myhtml

Export to html file for class "mytable" or "cbind.mytable"
mytable2

Produce combind table for descriptive statistics
ORplot.sub

A sub function for ORplot anf HRplot
num_summary

Internal mytable functions
myhtml.cbind.mytable

Export to html file for class "mytable" or "cbind.mytable"
mytable

Produce table for descriptive statistics
p2sig

Internal mytable functions
obj2linecount

Internal mytable functions
mylatex.mytable

Exporting "mytable" table to LaTeX format
mycsv

Export to csv file for class "mytable" or "cbind.mytable"
extractOR

Extract the odds ratios from a S3 object of glm
ORplot

Plot for odds ratios for a S3 object of glm
mycsv.mytable

Export to csv file for class "mytable"
r

Subfunction used in mylatex
mycsv.cbind.mytable

Export to csv file for class "cbind.mytable"
myhtml.mytable

Export to html file for class "mytable" or "cbind.mytable"
print.mytable

Print function for class "mytable"
mytable2html

Prepare mytable object to data.frame ready to html
reprint

Internal mytable functions
myhtmlHead

Print my html style
space

Internal mytable functions
cbind.mytable

cbind function for class "mytable"
summary.cbind.mytable

Summarizing function for class "cbind.mytable"
centerprint

Internal mytable functions
print.cbind.mytable

Print function for class "cbind.mytable"
summary.mytable

Summarizing function for class "mytable"
my.t.test

Internal mytable functions
radial

Demographic data of 115 patients performing IVUS(intravascular ultrasound) examination of a radial artery.
printmytable2

Internal mytable functions
acs

Demographic data of 857 patients with ACS