Displaying 20 results from an estimated 10000 matches similar to: "Simple Gantt like chart for numbers rather dates"
2008 May 28
2
Gantt chart like graphics
Dear R Community,
I have a dataframe like this
dat product1 product2 ... productn
01.1.2008 1 1 1
02.1.2008 1 1 2
.
15.2.2008 2 2 NA
.
04.4.2008 2 2 1
05.4.2008 NA 2 NA
(date ascending order, 1:n products with status 1, 2 or NA)
and want to produce a graphic like
2018 Apr 22
3
Gantt Chart Using Plotrix
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 can read in this file to generate the gantt chart. Reading through the help file I have not been able to
2018 Apr 22
0
Gantt Chart Using Plotrix
> On Apr 22, 2018, at 11:50 AM, bbb_aaa at 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 function expects and then export the spreadsheet file as a .CSV text file so I can read
2018 Apr 22
2
Gantt Chart Using Plotrix
>From the help file for plotrix:
" ... x - a list of task labels, start/end times and task priorities as returned by get.gantt.info ..."
So I try to create an object that will contain this information.
abc <- read.csv("gntr1a.csv")
# The above csv file was generated from MS .xlsx file containing the tasks and corresponding dates
> abc
code tasks.labels
2006 Nov 16
6
Gantt chart problem after upgrade to R 2.4.0
I am having a problem with a gantt chart since
moving to R2.4.0. from 2.3.1
I made some adaptations to the code from
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=74
and successful produced a simple gantt chart. However
when I upgraded to 2.4.0 it no longer works as
desired. See
http://ca.geocities.com/jrkrideau/R/gantproblem.pdf
for the two charts. The charts were produced
2018 Apr 22
0
Gantt Chart Using Plotrix
Hi,
The help file for gantt.chart states that dates must be in POSIXct
format, and the example shows how to do that. There's no reason that I
can see that you can't use a data frame as input to gantt.chart, but
you need to be very careful that your data frame matches the correct
format. I bet also that your character fields were imported as
factors, because you didn't specify not to.
2018 Apr 23
0
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.chart.
Here's what you have:
> str(cdfg)
'data.frame': 3 obs. of 3 variables:
$ c1d1: Factor w/ 3 levels "task 1","task 3",..: 1 3 2
$ c2d1: POSIXct, format: "2018-04-01"
2018 Apr 22
3
Gantt Chart Using Plotrix
Hi Sarah
Thank you very much for your pointers.
Is there a way to specify the date string as POSIXct when reading in?
I have tried the following (very inelegant way) and still have no luck.
--- Begin Code ---
# 1st read in the spreadsheet with stringsAsFactors set to FALSE
> abc <- read.csv("gntr1.csv", header=TRUE, stringsAsFactors=FALSE)
> abc
code tasks.labels
2010 Feb 27
1
help with Gantt chart
Hi,
I don't know to solve this error that is returned, even though I understand it:
library(plotrix)
Ymd.format<-"%Y/%m/%d"
gantt.info<-list(labels=
c("First task","Second task (1st part)","Third task (1st part)","Second task (2nd part)","Third task (2nd part)",
"Fourt task","Fifth task","Sixth
2009 Aug 24
3
error in creating gantt chart.
hi every one,
i have a excel sheet like this
labels starts ends
1 first task 1-Jan-04 3-Mar-04
2 second task 2-Feb-04 5-May-04
3 third task 3-Mar-04 6-Jun-04
4 fourth task 4-Apr-04 8-Aug-04
5 fifth task 5-May-04 9-Sep-04
now i converted this excel sheet into csv file and i read the csv file into
R with the below code.
my.gantt.info<-read.csv("C:/Documents and
2009 Aug 21
2
gantt chart for dataset
hi,
Thanks for responding of gantt charts. but i have some problem regarding
with gantt charts. i.e.
Ymd.format <- "%Y/%m/%d"
Ymd <- function(x){ as.POSIXct(strptime(x, format=Ymd.format))}
gantt.info <- list(
labels =c("First task","Second task","Third task","Fourth task","Fifth
task"),
starts
2010 Jul 30
1
Formatting datetime data for gantt.chart.
Overall goal:
I'd like to have a visual representation of when certain computer applications are running over the course of a day (data will come from a SQL query later, but I'm using a csv for now). My idea is to use a gantt chart, but I'm running into issues with the start and end time. I'm wondering if it's because I need to use hours instead of days as my unit of time.
2019 Mar 21
1
Gantt chart software for CentOS 7 ?
Hi,
I'm looking for a Gantt chart software that I can install easily on
CentOS 7. I prefer EPEL - or some other third party repo - packages than
some obscure installation script for home directories.
Any suggestions ?
Cheers,
Niki
--
Microlinux - Solutions informatiques durables
7, place de l'?glise - 30730 Montpezat
Site : https://www.microlinux.fr
Mail : info at microlinux.fr
T?l. :
2009 Sep 22
2
barplot with chopped bars
Dear R users,
I want to make a barplot with bars that can be non-continuous. An example
will be the presence and absence of some events over time, e.g. a bunch of
people that are either in the office or not in the office, for some period
of time. I want to visualize this in a bar plot like this:
Person 1: ********* ******** *******
Person 2: ********* ***** **********
2005 Jan 14
0
Code contributed for a gant (Gantt) chart
I searched CRAN for material on gant (or Gantt) charts, those schedule
plots that look like horizontal barplots where the x-axis is time.
Finding none, I wrote the following and am submitting it to the archive
so that it may help someone in the future.
plotfile <- "gant.eps"
regular.color <- "lightgray"
important.color <- "yellow"
tasks <- list() #
2005 Dec 28
2
Importing Genstat files into R
Does anyone know if there is a package or other method of reading Genstat
files directly into R. Genstat isn't listed in the foreign package.
Many thanks,
Graham
[[alternative HTML version deleted]]
2012 Nov 30
4
Nightingale’s Rose chart-any suggestion?
Hello, Everyone.
Does anyone know how to create a Nightingale’s Rose chart by using R?
Hopefully, the graph could be displayed like this:
http://mbostock.github.com/protovis/ex/crimea-rose.html
Thanks a lot.
Kind regards,
Henry
[[alternative HTML version deleted]]
2005 Feb 23
6
Getting tick positions
While writing a function that includes placing grid lines at the same position
as the axis ticks, I found that the axis* functions don't return anything.
Thus I have had to copy the appropriate function, removing the call to axis()
and adding a line to return the tick positions. Is there a more elegant way
to determine the tick positions on an axis? Thanks.
Jim
(normally bitwrit at
2008 Feb 18
2
R graphics question: "binary" bar chart
Hello!
I would like to visualize the hospitalization within one year of several
patients using a bar chart. For each patient the stay in a hospital
should be illustrated with a dark colour a if there is a stay at home
between 2 hopital stays, it should be illustrated with a bright colour.
e.g.
P1 |//////| |///| |////////|
P2 |//////////|
P3 |//|
2009 Aug 03
2
combine venn diagram and pie chart
Hi R users,
I am wondering if it there is any R's function helping integrate venn
diagram and pie chart to compare two related datasets.
I know the package limma(bioconductor) has something built-in for making
venn diagram, but I guess it would be very painful to use line and text to
specify the proportions in the fashion of pie chart .
Thanks in advance,
Kevin Chang
--
View this