Description Usage Arguments Details Value Author(s)
write all files for web (not just JS!)
1 2 | writeAllJSFiles(emerg, daysAhead = 45, daysBefore = 7,
site = "./Web/Cactus/Site/", electives)
|
emerg |
data frame of admission (Date) and Section (Medical/Surgical) |
daysAhead |
number of days to predict ahead |
daysBefore |
number of data points to include before |
site |
path to site root |
this function writes the JS and other stuff for the web site
Process:
load("./Data/25-7-2013/emerg.RData") emerg=subset(emerg,AEOBS=="") edata = data.frame(admission=emerg$Adm.Date, Section=emerg$med.surg..based.on.specialty.) writeAllJSFiles(edata)
nothing much
Barry S Rowlingson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.