Displaying 20 results from an estimated 1000 matches similar to: "ggplot2 - geom_bar"
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
2012 Sep 12
6
How to append the random no.s for different variables in the same data.frame
Dear R helpers,
(At the outset I sincerely apologize if I have not put forward my following query properly, though I have tried to do so.)
Following is a curtailed part of my R - code where I am trying to generate say 100 random no.s for each of the products under consideration.
library(plyr)
n = 100
my_code = function(product, output_avg, output_stdev)
{
BUR_mc = rnorm(n, output_avg,
2008 Mar 31
0
Advice on queue setup needed please.
Hello,
I have two sites. Both the sites will require queues for their own reason,
own campaigns, etc. Like site1 would handle product1, product2, product3,
while site2 can do product4, but can also do customer support for product1
and if anything, can transfer to site1's product1 queue (usually via SIP)
Also, a few of these queues will require AgentLogin() type logging in, and
some
2010 May 25
2
Site Navigation With Polymorphic Has Many Through
Hi, seem to keep running into a wall here. I can''t find any resources on
site navigation that can deal with any model being in the nav, allow
nesting, and can dynamically update.
So I thought about it for a while, and decided on a MenuItems class, which
contained the position of the child in relation to it''s siblings, where the
parent and the child were polymorphic. Then a given
2006 Mar 22
1
How to retrieve attribute values of objects?????
Hi,
I am writing following line in my code:-
=================
@product1=Product.find(:all, :conditions => ["id = ? ",
params[:product][''product_id''+count.to_s]])
print @product1.inspect
===========================
So I am getting on console following output.
==========================
[#<Product:0x3cd61c8 @attributes={"demand"=>nil,
2010 Jan 31
2
Reshaping matrix of vectors as dataframe
Dear R people,
I have to deal with the output of a function which comes as a matrix of
vectors.
You can reproduce the structure as given below:
x <- list(c(1,2,4),c(1,3,5),c(0,1,0),
c(1,3,6,5),c(3,4,4,4),c(0,1,0,1),
c(3,7),c(1,2),c(0,1))
data <- matrix(x,byrow=TRUE,nrow=3)
colnames(data) <- c("First", "Length", "Value")
rownames(data)
2009 Apr 07
2
Using as.formula() with the reshape package cast
I am trying to use the "cast" function from the reshape package, where the
formula is not passed in directly, but as the result of the as.formula()
function.
Using reshape v. 0.7.2
I am able to properly melt() by data with:
> molten <- melt(x, id=1:2)
then I can properly cast with this:
> cast(molten, days ~ variable)
but if I try
> cast(molten,
2009 Aug 17
3
Reshape package: Casting data to form a grid
Dear R Users,
I'm trying to use the 'cast' function in the 'reshape' package to convert column-format data to gridded-format data. A sample of my dataset is as follows:
head(finalframe)
Latitude Longitude Temperature OrigLat p-value Blaney
1 -90 -38.75 NA -87.75 17.10167 NA
2 -90 135.75 NA -87.75 17.10167 NA
3 -90 80.25
2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all,
I'm building a plot of the values in tmeant (below) against positions 1 to
5, using matplot.
tmeant looks like this:
case1 case2
pos1 861.8466 818.5909
pos2 961.2841 976.3466
pos3 878.6080 1262.8523
pos4 950.8011 1129.6080
pos5 968.1080 1063.3920
I also have lower (object tl) and upper (object tu) bounds on the
confidence intervals as follows:
tl:
pos1
2007 Mar 26
2
Failure creating model in spec setup not reported?
Hi
I''ve just tracked down a wierd error that AFAICT is caused by an
error not being raised in the setup:
context "An Asset" do
setup do
@provider = Provider.create(:name => "Provider1")
@product = Product.new(:name => "Product1", :provider =>
@provider)
@applicant = Applicant.new(:first_name =>
2008 Jun 23
1
problem in R for Linear mixed model~
Dear R users:
I just got confused some R code used in linear mixed model~
example,two factors,A, B,C,A is fixed ,B,C are random,and B is nested in
C,if I wannt to use linear mixed model,are the following code correct for
each case?
case1:want to know random effect of B,
case1<-lme(y~A*B*C,random=~B|C) where "B|C" stand for what?,mean B is
nested in C?
case2: how to wirte
2012 Feb 17
0
IO-APIC line level race condition
Sadly, we have discovered another line level interrupt race condition in
Xen-4.1. The result was that an outstanding un-eoi''d interrupt at the
IO-APIC resulted in the mptsas controller offlining the root filesystem.
This is now two separate IO-APIC bugs found recently.
1) Cisco C210 M2 server - EOI Broadcast Suppression, io_apci_ack=old
2) Dell R710 - No EOI Broadcast Suppression,
2009 Apr 30
1
Overlaying graphs from different datasets with ggplot
Dear R-users,
I recently began using the ggplot2 package and I am still in the process of
getting used to it.
My goal would be to plot on the same grid a number of curves derived from
two distinct datasets. The first dataset (called molten.data) looks like
this :
Column names : Perc, Week, Weight
P10 21 333.3554
P90 21 486.0480
P10 22 452.6347
P90 22 563.8263
P10 23 575.0960
P90
2006 Jun 10
3
RJS & nested divs
I''m a newbie and I''ve been trying to figure this out for a little while
now, hopefully someone can point me in the right direction.
case1
<div id="new">
</div>
case2
<div id="new"><div id="item1"></div></div>
<div id="new2"><div id="item1"></div></div>
With RJS in
2018 Feb 27
0
Question about instcombine pass.
Hello, Everyone.
I have a question about llvm's "Combine redundant instructions(instcombine)" pass.
I have tested instcombine pass by writing the following three test cases.
But, CASE3 is not optimized as I expected.
Is this behavior expected?
The version of llvm is:
clang version 5.0.1 (tags/RELEASE_501/final 325232)
Option of clang command is:
clang -O1 a.c -S -emit-llvm
2009 Mar 30
1
Lattice axis list (when relation = "free")
Dear R users:
I am having difficulty to place x-axis location alternatively
top/bottom side in Lattice plot, which is composed of seven-column as
following:
E1 E2 E3 E4 E5 E6 E7
Case1 -505.85 -75.32 494.52 -12.31 -98.96 50.34 -48.62
Case2 -50.46 -60.97 68.32 -8.66 -51.77 25.17 -26.60
Case3 -253.00 -54.99 243.48 -8.76
2012 Sep 04
1
binary data
Dear list,
Hello to everybody, I´m interested in finding a package for statistical analysis of binary data, I have a matrix with the following structure:
Case1 Case2 Case 3 ....... CaseX Control1 Control2 Control3 ....... ControlY
Pep1 1 0 1 1 0 0 0 1
Pep2 1 1 1 1 1 0 0 1
Pep3 0 1 1 1 1 0 0 1
...
Pepz 1 1 1 1 1 0 0 1
I would like to know some R package to calculte similarity matrix or
2004 Jun 24
1
Re: [fwd: [Fwd: Re: network response] ]
> From: Chris Garrigues <cwg-bcc@deepeddy.com>
> Date: Thu, 24 Jun 2004 09:45:16 -0500
>
> [2004/06/24 07:38:05, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1782)
> ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (N
> o such object)
These lines appear to all be searching for
base="ou=group,dc=borderent,dc=com,dc=borderent,dc=com"
2010 Sep 01
2
ggplot2 multiple group barchart
hi there.. i got a problem with ggplot2.
here my example:
library (ggplot2)
v1 <- c(1,2,3,3,4)
v2 <- c(4,3,1,1,9)
v3 <- c(3,5,7,2,9)
gender <- c("m","f","m","f","f")
d.data <- data.frame (v1, v2, v3, gender)
d.data
x <- names (d.data[1:3])
y <- mean (d.data[1:3])
pl <- ggplot (data=d.data, aes (x=x,y=y))
pl
2003 Dec 01
1
Memdisk/XMS bug, big floppy image
>that image under B: or X: or whatever. This will allow us to cross the
>size limit of 2.88MB floppies. Ofcourse when I say "mount" I dont expect
>memdisk to mount it, just that set things up so that DOS mounts it there.
I'm using a 5MB image which emulates floppydisk.
label test
kernel data/memdisk
append initrd=data2/test.img c=80 h=8 s=18 floppy
problems are