createTransfusion: Create Blood Transfusion dataset

Description Usage Arguments References

Description

From UCI: R (Recency - months since last donation), F (Frequency - total number of donation), M (Monetary - total blood donated in c.c.), T (Time - months since first donation), and a binary variable representing whether he/she donated blood in March 2007 (1 stand for donating blood; 0 stands for not donating blood).

Usage

1
2
createTransfusion(file = getfilepath("transfusion.rds"), write = TRUE,
  read = TRUE)

Arguments

file

character; path/filename to write data file to

write

logical; should the dataset be written to disk for later use? (default: TRUE)

read

logical; should we try to read the dataset from the specified location first? (default: TRUE)

References

Yeh, I-Cheng, Yang, King-Jang, and Ting, Tao-Ming, "Knowledge discovery on RFM model using Bernoulli sequence, "Expert Systems with Applications, 2008 (doi:10.1016/j.eswa.2008.07.018)

formula(Donated ~ .)


jkrijthe/createdatasets documentation built on May 19, 2019, 12:44 p.m.