Displaying 20 results from an estimated 10000 matches similar to: "Multi-line texts in plots"
2009 Jan 27
3
plot Ticks
Is there a way to force the number of ticks along an axis ?
I read the on-line documentation and tried many combinations of all available parameters from functions
par(), axTicks(), axis(), plot() ... but no luck !
Thank you very much,
Maura
tutti i telefonini TIM!
[[alternative HTML version deleted]]
2009 Apr 29
2
help converting for loop to vector operation
Dear List,
I have a wrapper function that draws a graph that I'd like to use in a vector-like manner. The for-loop version I currently use is below.
library(ggplot2)
data(economics)
h <- 600
w <- 800
#----------------------------------------------------------
draw_metric_by_date <- function( df, i, smooth=FALSE, BASEPATH ) {
mlabel <- names(df)[i]
qmetric
2009 Jul 21
1
legend title in qplot
Hi,
I've used the following command in qplot
qplot(a$V1,geom="histogram",binwidth=0.15,fill =
factor(a$V2),ylab="Frequency",xlab="Rate");
but the title in the legend shows up as factor(a$V2)...how can i change
this?
--
Rajesh.J
[[alternative HTML version deleted]]
2009 Feb 11
3
two scatter plots in one
Dear R users,
I need to compare two scatter plots,
plot(x1, y1)
plot(x2, y2)
and would like to plot them in the same figure. How do I do it?
Thank you.
--
View this message in context: http://www.nabble.com/two-scatter-plots-in-one-tp21963375p21963375.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 30
4
Scatter Plot
Dear Sir
I want to write the numbers 1,2,3,----on a scatter plot instead of points,
like 1 corresponding to first point on plot, 2 corresponding second point
etc.
Help in this regard.
Regards
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
[[alternative HTML version deleted]]
2009 Apr 02
2
how to sort and group the data?
HI,
I need help..
How to sort and group the data below:-
USER NAME
12 admin
12 admin
10 admin
10 advertising
61 process
17 snapshot
61 ticket
61 ticket
30 snapshot
10 advertising
10 advertising
10 advertising
10 advertising
I want to plot graph using this data.
thank you.
regards,
Hema.
[[alternative HTML version deleted]]
2010 May 27
3
how to extract the 1st field from a vector of strings
I have the following vector of strings (shown only the first 3 elements)
> desc[1:3]
[1] "hsa-let-7a MIMAT0000062 Homo sapiens let-7a"
[2] "hsa-let-7a* MIMAT0004481 Homo sapiens let-7a*"
[3] "hsa-let-7a-2* MIMAT0010195 Homo sapiens let-7a-2*"
> is.vector(desc)
[1] TRUE
> A <- unlist(strsplit(desc[1:3], " "))
> A
[1]
2010 Apr 17
4
how to remove one row at a time from a matrix keeping its nrow consistent
After some headache with debugging my script, I finally isolated the problem taht I am going to illustrate in the following example.
I expected matrix nrow to decrease consistently till 1. Instead, when the matrix is left with one row only, its nrow jumps to 2 because the matrix
gets transposed. How come ?
Thank you,
Maura
> B <- c(1,2)
> B <- rbind(B,c(3,4))
> B <-
2010 Mar 31
2
Generative Topographic Map
I tried to use R version of package
I noticed the original MatLab Pckage is much better documented.
I had a look at the R demo code "gtm_demo" and found that variable Y is used in advanced of being created:
I wrote my own few lines as follows:
inDir <- "C:/Documents and Settings/Monville/Alanine Dipeptide/DBP1/DHA"
setwd(inDir)
T <-
2009 Apr 22
1
Color coded 3D plot
I wonder whether it is possible in R to generate color-coded 3D plots, like the attached example.
Basically a function f(x,y) (the 3rd dimension) is rendered through colors intensities. The side color-bar is a guide to the
interpretation of the plot.
Thank you very much,
Maura
e tutti i telefonini TIM!
Vai su
e tutti i telefonini TIM!
Vai su
2010 Mar 03
1
R help unavailable
I have recently replaced R-2.9.0 with R-2.10.1 Patched. Apparently the installation completed successfully
but right now I realized that the on-line help does not work any more.
When I type "?<R-command>" a message pops up warning that "Help will not be available. Path not found" ... regardless of the R-command.
How can I get back R on-line man pages ?
Thank you very
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots:
library(ggplot2)
data(diamonds)
randind <- sample(nrow(diamonds),1000,replace=FALSE)
dsmall <- diamonds[randind,]
qplot(carat, data=dsmall, geom="histogram",binwidth=1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.1)
qplot(carat, data=dsmall, geom="histogram",binwidth=.01)
What are ways to put these three plots on a single
2009 Feb 03
1
Time series plots with ggplot
Hi,
I am newbie user of ggplot and would like some assistance in
implementing time series plots.
I'd like to know how the tsdiag plot can be made in ggplot?
Thanks
Harsh Singhal
Decisions Systems,
Mu Sigma Inc.
2009 Jul 01
3
is there a way to extract fata from web pages through some R function ?
I deal with a huge amount of Biology data stored in different databases.
The databases belongig to Bioconductor organization can be accessed through Bioconductor packages.
Unluckily some useful data is stored in databases like, for instance, miRDB, miRecords, etc ... which offer just an
interactive HTML interface. See for instance
http://mirdb.org/cgi-bin/search.cgi,
2009 Jun 23
2
question about package biomaRt
Can biomaRt connect to data base "http://mirecords.umn.edu" or a branch of it ... for instance the validated miRNAs list ..?
Thank you very much.
Maura
tutti i telefonini TIM!
[[alternative HTML version deleted]]
2009 Oct 30
2
MatLab SimBiology
Is there any R package that implements the same capability of MatLab toolbox called SimBiology ?
We are expecially interested in protein-protein interactions and network analysis.
As far as I know SimBiology implements a system of ODEs reflecting the kinetic chemical reactions.
We would be more interested in stochastic simulations.
Thank you in advance.
Maura
tutti i telefonini TIM!
2010 Feb 15
2
(no subject)
here is the message I get upon trying to upgrade R from the provided RPM package for SuSE 11.1 (http://cran.r-project.org):
#### YaST2 conflicts list - generated 2010-02-15 14:00:50 ####
nothing provides libreadline.so.6()(64bit) needed by R-patched-2.10.1-50.1.x86_64
[ ] do not install R-patched-2.10.1-50.1.x86_64
#### YaST2 conflicts list END ###
I searched for the requested library
2012 Jan 19
3
Not generating line chart
Hi All,
Can you please help me, why this code in not generating line chart?
library(ggplot2)
par(mfrow=c(1,3))
#qplot(TIME1, BASCHGA, data=Orange1, geom= c("point", "line"), colour= ACTTRT)
unique(Orange1$REFID) -> refid
for (i in refid)
{
Orange2 <- Orange1[i == Orange1$REFID, ]
pdf('PGA.pdf')
qplot(TIME1, BASCHGA, data=Orange2, geom= c("line"),
2009 Jun 16
2
R and miRecords
I wonder whether R provides an interface to access miRecords data.
Particularly, I am looking for extracting humans miRNA and target genes sequences.
All such information is stored in there in a set of structured web site pages (http://mirecords.umn.edu/miRecords)
I would greatly appreciate any suggestion even about other data bases from where it is possible to get the same sort of data.
I had a
2010 Jan 26
5
Strange tick in ggplot geom_area; and ordering, again
In the area plots below, I see 4 triangle ticks at both sides of the bar; I
believe these are non-stacked values for p, but they are definitively
confusing.
In addition, I would like to get the order of the colors in the plot the
same as in the legend, and not arranged alphabetically (the factor is
ordered, don't touch my order). Hadley once mentioned an undocumented
aestetics