Displaying 20 results from an estimated 7000 matches similar to: "plot region ??"
2010 Mar 31
3
creating a variable using concatenation
A general problem i run into, i know there must be a simple solution.
I like to create a variable by appending a 1 for example, (i need to
loop later on from 1 to X, thus the reason for this). So i assign the
variable vplot with this value, however it has quotes and when i use it
in a barplot, it throws an error. but the tcenter$X1 does exist, its an
element of a data frame. So if i type
2012 Feb 06
1
ggplot2 geom_polygon fill
Hi everyone,
i've been trying to make a special plot with ggplot2, but I can't get it to
fill the polygon I'd like to see filled so very very much.
I want to display the difference or change in the distribution of the
modified Rankin Scale between two groups. mRS is a scale for disability or
daily activities competence.
It looks like this.
2008 Apr 15
2
a question of alphabetical order
Hi all,
In Spanish vowels with accent like ?, ?, ... doesn't affect to the
alphabetical order of vector of strings. I mean, a or ? don't matter for
establishing the alphabetical order.
Nevertheless, while working with R order, here is what I get.
Given a file transport.txt
medio#variable
avi?n#34
barco#33
bicicleta#3
?ngulo#37
cami?n#54
coche#23
tren#67
> toPlot <-
2008 Jun 11
1
mgcv::gam error message for predict.gam
Sometimes, for specific models, I get this error from predict.gam in library
mgcv:
Error in complete.cases(object) : negative length vectors are not allowed
Here's an example:
model.calibrate <-
gam(meansalesw ~ s(tscore,bs="cs",k=4),
data=toplot,
weights=weight,
gam.method="perf.magic")
> test <- predict(model.calibrate,newdata)
Error in
2013 Feb 19
2
introducing jitter in overlapping graphs using ggplots (plotmeans). Also sciplot.
Hi,
I want to plot means with standard deviations of Total Nitrogen (TN) across
4 stations (S1-S4) and over 3 years (2007-2009). I want this plot in one
panel.
I do not want medians (bwplot, boxplot).
I have tried a few different packages and it seems that ggplots with
plotmeans was the fastest (I am not extremely skilled in writing my own
scripts). Unfortunately, there is no grouping
2002 Oct 29
4
sourcing the content of directories
hi,
is there a way to source all R-files that reside in a given directory
with a single R-call ?
greetinx jan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2002 May 14
2
least summed square distance + fit
hi,
I have a matrix (representing original data) that looks e.g. like this
(consider it beeing x,y,z coords):
441 447 0
265 407 0
374 223 0
288 574 0
669 309 0
591 195 0
595 475 0
424 351 0
I get a second matrix (subject data) that is similiar to the above
matrix but it is scaled, translated and rotated (and of course a little
inprecise).
Also I have an
2002 Oct 29
5
unix environment variables under R
hi,
i am working on a little R-project with a couple od other guys.we use
CVS, but everyone keeps the R-source files in different locations in his
home-directory. of course this causes trouble when sourcing R-files. i
thought a UNIX environment variable could be the solution, but R doesn't
seem to know about the environment variables.
e.g. >> source("$PROJECT/xxx.R")
2002 Aug 20
2
t() converts data.frames ind matrix
hi,
i just recognized that the t() function converts a data frames into a
matrix (R 1.5). is that a bug or a feature ?
greetinx jan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
2002 Dec 27
2
RSvgDevice & sapply(plotmeans)
Hi,
anybody know why this not works for several
plots ?
When i set onefile=T the plots are stacked one about another
, onefile=F only the first plot is shown in AllbusMeansPlots.svg.
[h2 is a data.frame]
......hist and sapply works for several plots nice with RSvgDevice !
Maybe setting the title after apply is a problem, but until yet i didn't
found a better solution ?
library(RSvgDevice)
2002 Mar 15
2
cutting barplots at e.g. 50%
hi,
i want to plot percentage values using barplot. everything works fine so
far. giving a chance level of 50% i want to plot only the area above 50
percent.
i can of course cut using ylim=c(50,100) but this does not work
properly since i also see some of the area below 50%.
thanks for suggestions,
jan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2002 Jul 05
1
aov() and NaN
hi,
another anova question !!
how does aov() treat missing values ?
since it might depend on my experimental design:
i have a within subject design with two factors ...
i use aov() like this:
aov(performance~type*block+Error(subj/(type+block)),data=anovaData)
now it might happen that i have a couple of NaN data points in my result
dataFrame.
how can i know/control how aov() is treating those
2009 Mar 24
1
Barplot With Selected X-Axis Region
Dear all,
I have a data that looks like this:
> print(dat)
V1 V2
1 -43342073 14
2 -43337730 4
3 -43284676 1
....
11372 75188572 11
11373 75206165 6
11374 75262720 24
What I want to do is to have a barplot where x-axis
is taken from V1 and y-axis taken from V2.
But I only want to plot the those region where V1 >= -500
and <= 500.
But some
2006 Jan 16
1
gplots
Hi
I am sure that this question has been asked before ... appologies in
advance
This - which comes out very nicely - better than the commercial stuff.
plotmeans (cdpy~Dodefordpy, Data = Dataset, connect = False, minbar = 1,
mean.labels = FALSE, col = "blue", barwidth = 1.5, barcol = "red",
ci.label = FALSE, xlab="Onset", pch = 15, par(las =2)).
Only one snag I
2002 Jun 24
1
multiple graphics in separate windows
hi,
I am looking for a possibility to open several graphics in independent
windows (is that the graphics device ?).
up to now, i was only able to generate a graphic, then save it (e.g. as
eps) and then generate a new plot that always overwrites the old
graphic. I am aware of the fact that I can generate multiple plots in a
single graphics window, but this is not what i am looking for ..
2009 May 13
0
Plotting data with flot
I know this is not the right place to raise this question and at the
same time i do know that this is the right place to get the right
people. So, I am raising it over here (because i am struck in the
middle of nowhere). My question is like this:
how to add the zooming facility to the below data (extracted from
turning-series example of flot and something little changed). In this
zooming facility
2011 Feb 09
3
add error bars in a plot
Dear all
I have a dataset of how metal concentrations change through time. I have made a plot of date versus metal concentration. However I want to add error bars in the plot.
Could you help me?
Thanks
Maria
[[alternative HTML version deleted]]
2007 Feb 13
4
matlab style plotting in R
Hello
I was wondering how I can achieve matlab style plotting in R,
in the sense that matlab allows you to plot multiple sets of variables
within the same
x-y axes. plot in R does not seem to cater for this. I tried 'overplot' from
the gplots package but this assumes different y axes for the variables.
any suggestions would be very appreciated
Maria
[[alternative HTML version
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2010 Sep 03
6
how can I plot bar plots with all the bars (negative and positive) in the same direction????
Dear r-help mailing list,
this seems stupid, but I actually don't find the solution:
if I have a vector of numbers x of length n, ranging, say, from -3 to 4, if I do
barplot (x)
all the values below 0 go downwards, and all the positive values go upward. How can I make them all begin from the minimum pointing upwards?
Thanks!
Gabriele Zoppoli, MD
Ph.D. Fellow, Experimental and Clinical