plot.agenda | R Documentation |
This function could be used as creating agenda figure. There are two types of visualization. First items can be appeared on the left. The second is that items can be appeared adjacent gray rectangles.
plot.agenda(task, period = 'period', item = 'item',year.cex = 2, month.cex = 1, text.left = TRUE,
text.cex = 1.2, ...)
task |
a agenda file including only time and task variables.
period |
period column when the task items occur.
item |
the task items column.
year.cex |
the fond size for year.
month.cex |
the fond size for months.
text.left |
whether tasks are shown on the left panel or on adjacent gray rectangles.
text.cex |
the fond size for task texts.
... |
further arguments pass to the text
function.
cal
d <- data.frame(period = c("2011-4 ~ 2011-4", "2011-5~2011-6", "2011-6~2011-7",
"2011-7~2011-9", "2011-9~2012-1", "2012-01~2012-2", "2012-2~2012-10", "2012-9~2012-12"),
item = c("This is the first task", "This is the second task", "This is the third task",
"This is the fourth task", "This is the five task", "This is the sixth task",
"This is the seventh task", "This is the eighth task"))
plot.agenda(task=d, period = 'period',item='item',text.cex = 1.5, month.cex = 1.5)
plot.agenda(task=d, period = 'period',item='item',text.cex = 1.5, month.cex = 1.5, text.left = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.