Displaying 20 results from an estimated 1000 matches similar to: "ggplot2 label problem"
2013 Apr 01
0
ggplot2 label
Hello all!
I have a problem to plot label (Year) only for significant values (in this
case spoz and sneg).
I use this code, but don't work with labels.
library(ggplot2)
ggplot(data1, aes(x = Year, y = value,fill=type,width=1))+
geom_bar(stat="identity",position="identity")+
scale_y_continuous(breaks = round(seq(-100, 100, by = 10),10))+
theme_bw()
the data used is:
2013 Apr 01
0
ggplot label problem
Dear R users,
I have a problem to plot label (Year) only for significant values (in this
case spoz and sneg).
I use this code, but don't work with labels.
library(ggplot2)
ggplot(data1, aes(x = Year, y = value,fill=type,width=1))+
geom_bar(stat="identity",position="identity")+
scale_y_continuous(breaks = round(seq(-100, 100, by = 10),10))+
theme_bw()
the data used
2013 Apr 01
0
overlaping barplot
Hello all!
I want to make a barplot with ggplot2.
I want to view in the same chart the semn values (significant values
(pointer over 50)). I try this code, but only for pointer values.
ggplot(data, aes(x = Year, y = pointer)) + geom_bar(stat="identity")
please help me with this problem.
I use this data:
Year variable pointer variable semn
1 1901 neg 0.00 sneg NA
2 1902 neg 0.00 sneg
2013 Apr 01
1
polygon error
Hello all!
I have a problem to draw a polygon with R. My data is like this>
Year Nb.series Perc.pos Perc.neg Nature RGV_mean RGV_sd neg poz
1 1901 1 0.00 0.00 0 4.29 NA 0.00 0.00
2 1902 1 100.00 0.00 1 16.47 NA 0.00 100.00
3 1903 1 100.00 0.00 1 31.31 NA 0.00 100.00
4 1904 1 0.00 0.00 0 -9.62 NA 0.00 0.00
5 1905 1 0.00 100.00 -1 -22.55 NA -100.00 0.00
6 1906 1 0.00 100.00 -1 -12.09 NA
2007 Dec 27
0
Help with lm and multiple linear regression?
Hello,
I'm new to R, but I've read the intro to R and successfully connected it to an instance of mysql. I'm trying to perform multiple linear regression, but I'm having trouble using the lm function. To start, I have read in a simply y matrix of values(dependent variable) and x matrix of independent variables. It says both are data frames, but lm is giving me an error that my
2007 Dec 27
2
Help with lm and multiple linear regression? (Plain Text version)
(Apologies the previous version was sent as rich text)
Hello,
I'm new to R, but I've read the intro to R and successfully connected it to an instance of mysql. I'm trying to perform multiple linear regression, but I'm having trouble using the lm function. To start, I have read in a simply y matrix of values(dependent variable) and x matrix of independent variables. It says both
2016 Mar 12
1
Soft lockups with Xen4CentOS 3.18.25-18.el6.x86_64
On 03/10/2016 12:05 AM, Sarah Newman wrote:
> On 03/09/2016 08:15 PM, Sarah Newman wrote:
>> I've been running 3.18.25-18.el6.x86_64 + our build of xen 4.4.3-9 on one host for the last couple of weeks and have gotten several soft lockups
>> within the last 24 hours. I am posting here first in case anyone else has experienced the same issue.
>>
>
> Here is mpstat
2016 Mar 10
0
Soft lockups with Xen4CentOS 3.18.25-18.el6.x86_64
On 03/09/2016 08:15 PM, Sarah Newman wrote:
> I've been running 3.18.25-18.el6.x86_64 + our build of xen 4.4.3-9 on one host for the last couple of weeks and have gotten several soft lockups
> within the last 24 hours. I am posting here first in case anyone else has experienced the same issue.
>
Here is mpstat from around the time of the issue:
0:08:56 PM CPU %usr %nice
2004 May 13
0
Rprof ignores top-level computation (PR#6883)
Full_Name: John Garvin
Version: 1.9.0
OS: Linux
Submission from: (NULL) (128.42.129.78)
This may or may not technically be a bug, but it's certainly an annoyance.
Rprof only takes into account computation that occurs inside functions. If a
time-consuming operation occurs outside a function, it doesn't record the time
it takes. Consider this program 'array.r':
Rprof()
foo <-
2009 Apr 30
2
gridding values in a data frame
Hi all,
I have a data frame that looks like such:
LATITUDE LONGITUDE TEMPERATURE TIME
36.73 -176.43 58.32 1
50.95 90.00 74.39 1
-30.42 5.45 23.26 1
15.81 -109.31 52.44 1
-80.75 -144.95 66.19 2
90.00 100.55 37.50 2
2008 Aug 07
2
help with longitudinal data plot
Dear R Help,
I am attempting to make a plot of longitudinal data, a sample data
frame of which is shown below.
I'd like to show all of the subjects in the same plot, with a set of
connecting line segments for each subject. 'age' would be the x-axis
and 'score' would be the y-axis.
subject age score
1 10123 12 51.06
2 10123 14 50.00
3 10123 15 62.22
4
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
Hello,
i have ported the BCP (Bride Control Protocol) patch for pppd 2.4.1
mentioned in
http://lists.osdl.org/pipermail/bridge/2004-September/000619.html
to pppd 2.4.2. The kernel patch still works without problems with kernel
2.4.30.
Perhaps someone else could use this patch ...
Here again some documentation i have found about the BCP patch somewere
else:
When pppd negotiates BCP, it tells
2010 Nov 25
0
[libsvm] predict function error
Dear R users,
There is a error message when I run the following code. It is used to load
microarray data and use the top 1000 genes for training svm to classify test
set .
> library(e1071)
Loading required package: class
> f=read.table("F:\\lab\\
microarray analysis\\VEH LPS\\exprs.txt",
2005 Nov 10
2
ltext - adding text to each panel from a matrix
Hi all (really probably just Deepayan):
In the plot below I want to add text on either side of each violin plot that
indicates the number of observations that are either positive or negative.
I'm trying to do this with ltext() and I've also monkeyed about with
panel.text(). The code below is generally what I want but my calls to
ltext() are wrong and I'm not sure how to fix them.
2024 Mar 20
1
geom_edge & color
Dear community
I am using ggraph to plot a network analysis. See part 2 in the working
example.
Besides different colors for different groups of nodes:
--> geom_node_point(aes(size = V(network)$hub_score*200, color=
as.factor(V(network)$community)))
I additionally want to consider different colors for different edge groups
The grouping is defined in the edge_list$relationship: negative
2005 Jan 11
1
Nested ifelse - is there a better way?
Dear r-help,
I'm interested in finding a better way to add a column to a data frame
when calculating the new column requires more than one conditional.
For example, if I wanted to associate a character string in
{"Pos","Neg","Zero"} with each number in the following data frame:
> d <- data.frame(num = -2:2)
> d
num
1 -2
2 -1
3 0
4 1
5 2
I
2012 Jun 14
1
how to export output
hello,
I am using following command
classify_polarity(documents,algorithm="bayes",verbose=TRUE)
output is:
[1] "DOCUMENT 1"
[1] "WORD: excited CAT: positive POL: strongsubj SCORE: 8.44419229853175"
[1] "WORD: happy CAT: positive POL: strongsubj SCORE: 8.44419229853175"
[1] "WORD: optimistic CAT: positive POL: weaksubj SCORE: 7.7510451179718"
[1]
2012 Jun 05
1
Trouble with Functions
Hi guys,
I'm a new to R and following along with Tutorials using this book:
http://www.amazon.com/Practical-Statistical-Analysis-Non-structured-Applications/dp/012386979X
In one of them, they use the twitteR package and describe the following
function (see below). From what I can tell from the documentation (R),
there's a method to call it directly in an interactive session. The way
2011 Jun 27
1
Neg Binomial In GEE
Hi, I want to fit a GEE with a negative binomial distribution. I have uesd
already a poisson glm and then neg binommial to deal with alot of
dispersion. In my neg binomial residuals i have some patterns so i have
implemented a GEE, but only with a poisson family as i couldnt with neg
binomial. However the residual patterns in fact look worse here. When i
try and put neg binomial family it
2015 Feb 23
2
[PATCH 1/2] nv50/ir: add fp64 support on G200 (NVA0)
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Untested beyond compiling a few shaders to see if they look like they
might work. nvdisasm agrees with envydis's decoding of these things.
Will definitely get ahold of a G200 to run tests on before pushing this.
.../drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp | 94 ++++++++++++++++++---