b_...@verizon.net>
Cc: r-help <r-help@r-project.org>
Sent: Mon, Apr 23, 2018 10:34 am
Subject: Re: [R] Gantt Chart Using Plotrix
Hi,
Your attempt didn't work because you didn't do what I suggested, which
was make sure that your data frame matched the example given in the
help for gantt.char
t; structure(list(c1d1 = structure(c(1L, 3L, 2L), .Label = c("task 1",
> "task 3", "task2"), class = "factor"), c2d1 = structure(c(1522555200,
> 1523764800, 1527825600), class = c("POSIXct", "POSIXt"), tzone = ""),
> c3d1
, 2L), .Label = c("task 1",
> "task 3", "task2"), class = "factor"), c2d1 = structure(c(1522555200,
> 1523764800, 1527825600), class = c("POSIXct", "POSIXt"), tzone = ""),
>c3d1 = structure(c(1523764800, 1527739200, 15303312
= c("POSIXct", "POSIXt"), tzone = ""),
c3d1 = structure(c(1523764800, 1527739200, 1530331200), class =
c("POSIXct",
"POSIXt"), tzone = "")), .Names = c("c1d1", "c2d1", "c3d1"
), row.names = c(NA, -3L), class = &qu
Hi bbb_aaa,
The format for the input to the function (gantt.info) is a list. As
Sarah mentions, a data frame is a list, so as long as your columns
have the right names and are in the correct order, it should work. As
you probably know, you can import a CSV file into R as a data frame
using
-Original Message-
> From: David Winsemius <dwinsem...@comcast.net>
> To: bbb_aaa <bbb_...@verizon.net>
> Cc: r-help <r-help@r-project.org>
> Sent: Sun, Apr 22, 2018 4:31 pm
> Subject: Re: [R] Gantt Chart Using Plotrix
>
>
>> On Apr 22, 2018, at 11:50
avid Winsemius <dwinsem...@comcast.net>
To: bbb_aaa <bbb_...@verizon.net>
Cc: r-help <r-help@r-project.org>
Sent: Sun, Apr 22, 2018 4:31 pm
Subject: Re: [R] Gantt Chart Using Plotrix
> On Apr 22, 2018, at 11:50 AM, bbb_...@verizon.net wrote:
>
> Hi
>
> I am
> On Apr 22, 2018, at 11:50 AM, bbb_...@verizon.net wrote:
>
> Hi
>
> I am trying to generate a complex Gantt chart using the gantt.chart function
> in the plotrix package.
>
> Ideally I would like to use a spreadsheet to populate the activities (tasks)
> and start and end dates that this
Hi
I am trying to generate a complex Gantt chart using the gantt.chart function in
the plotrix package.
Ideally I would like to use a spreadsheet to populate the activities (tasks)
and start and end dates that this function expects and then export the
spreadsheet file as a .CSV text file so I
9 matches
Mail list logo