Thanks a lot. This is really helpful.
On Thu, May 15, 2014 at 8:12 PM, Dennis Murphy wrote:
> Hi:
>
> There are several options, but you shot yourself in the foot by using
> cbind() to combine objects of different classes into a matrix, so
> everything ends up being a factor because a matrix is
Hi:
There are several options, but you shot yourself in the foot by using
cbind() to combine objects of different classes into a matrix, so
everything ends up being a factor because a matrix is an atomic object
with a dim attribute, and atomic objects must have a common class, so
Flows and Categor
Hi,
Please post in plain text. (lots of "*")
May be this helps:
Date <-
c("2014-04-01","2014-04-02","2014-04-03","2014-04-04","2014-04-07",
"2014-04-09","2014-04-10","2014-04-01","2014-04-02","2014-04-03",
"2014-04-04","2014-04-07","2014-04-09","2014-04-10")
Flows <- c(479.6,187.2, 148.6, 41.
Hi,
I am facing issue with ggplot plotting. I have given the data and the code
below. I have also attached the graph below.
Problem:
On date "*2014-04-07*", we have debt and equity flow, but it does not shows
equity flow. Ideally what I would like is the stack for debt/equity starts
from X axis.
You are the best. Thanks tons:))
Regards, Farnoosh Sheikhi
On Thursday, February 27, 2014 10:37 PM, arun wrote:
Hi Farnoosh,
YOu can try:
DataA$percent <- with(DataA,round((Var2/sum(Var2))*100,2))
library(ggplot2)
ggplot(DataA,aes(x=Var1,y=percent))+geom_bar(stat="identity",aes(fill=V
Hi Farnoosh,
YOu can try:
DataA$percent <- with(DataA,round((Var2/sum(Var2))*100,2))
library(ggplot2)
ggplot(DataA,aes(x=Var1,y=percent))+geom_bar(stat="identity",aes(fill=Var1))+geom_text(label=paste0(DataA$percent,"%"),vjust=-0.2,size=4)
A.K.
On Thursday, February 27, 2014 5:02 PM, farn
6 matches
Mail list logo