Displaying 20 results from an estimated 10000 matches similar to: "Is there a single command that can revert all the plotting parameters to default?"
2008 Jul 29
2
Is there anyway to clip the bottom of a barplot?
Hi, all,
I need to show only values in a barplot from say 4-12. When I do
this, values below 4 are not cutoff. I would appreciate any input
into how I could cut the bottom part of the bar off.
Best wishes,
Art Roberts
University of Washington
Department of Medicinal Chemistry
2008 Aug 04
5
Are there any guis out there, which will allow editing of the graph?
Hi, all,
I would like to know if there is any gui interface out there
(academic or commercial) that allows one to edit R-language generated
graphs (e.g positioning x axis labels.) It would be nice to have
something like the user interface of Igor or Origin. I have already
used JGR and R-gui. These are good, but they don't allow one to
easily edit graphs. I have also tried
2008 Aug 03
2
How do I get an inset graph (i.e. graph within a graph)?
Hi, all,
How do I get an inset graph (i.e. graph within a graph)? Your input
is greatly appreciated.
Best wishes,
Art
University of Washington
Department of Medicinal Chemistry
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all,
I am having trouble getting R to take pnm images via mogrify
i.e.
mogrify -resize 320x217 -format pnm *.png
However R via pixmap says that it can't read the file. If you have
any ideas like a package that can read jpeg files, etc., I would
appreciate it.
Best wishes,
Art Roberts
University of Washington
2008 Oct 30
2
"plot": Howto get parameters befor plotting anything?
Hello,
Is it possible to get all "par" content calculated for "plot" without actually plotting anything? I'm missing an option "plot=FALSE" ... "type="n"" will still open a device and draw the axes ...
Thanks, Joh
2008 Aug 04
2
Is there any way to make pretty tables in R to pdf?
Hi, all,
All your comments have been very useful. I was wondering if there was
a package that can make pretty R tables to pdf. I guess I could use
xtable, but I would like something a little more elegant. Your input
is greatly appreciated.
Best wishes,
Art
2008 Nov 04
3
writing R extensions
Hi,
I'm working on a package and got some problems. After I've done R CMD check
and build I get the package.tar.gz which I can install under Linux without
any problems. Now I wanted to have a Windows version. I heard that I only
have to zip the package folder. That worked once, but now the package can't
be installed. I got 1 warning while I did R CMD check, and this was 1 not
2008 Oct 22
1
plotting matrix
a <- c(1:26)
b <- rnorm(25)
e <- rnorm(25)
f <- rnorm(25)
g <- data.frame(b,e, a,f)
I would like to plot a agianst all possibilities and then shoot it out
to a pdf one graph per page. I think it would be okay to have this as
a lattice plot or a ggplot with many graphs per page. I can figure
all of that out I think, but I need something like
r <- as.matrix(g)
plot(.~a, data=r)
1998 May 24
1
R-beta: problem with graphics parameter "fin"
Hi,
I have the following problem (with R 0.61.3 an Linux, and a new and empty
workspace)
> oldpar<-par()
> par(oldpar)
Error: attempt to set invalid value for graphics parameter "fin".
> oldpar$fin
[1] 6.992034 6.990803
but now:
> oldpar$fin <- c(6.99,6.99)
> par(oldpar)
it works.
It seems, that if I set oldpar$fin to values greater than listed above
2008 Sep 11
3
periodicity validation
There is a series of data contains time in fixed step and energy
varying with time, how to test its periodicity?In R, it seems there is
no direct tools since I have search the R manual with periodic and I
have not found any related topic.
Thanks a lot
2008 Oct 20
2
calculating mean for samples
Hi everyone,
> does any one knows how can I calculate mean for different samples
> i.e. I have a data like this:
>
> s1 s2 s3 s4
> 1 0 0 0 1
> 2 1 0 1 0
> 3 0 0 0 0
> 4 0 0 0 0
> 5 0 1 0 1
> 6 1 0 0 0
> 7 0 0 0 0
> 8 0 0 0 0
> 9 0 0 0 0
> 10 0 0 0 1
>
> I need to make 5 different sample with 5
2008 Nov 04
2
Zoo seems to be running slow in R 2.8.0 windows
R version 2.8.0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] StreamMetabolism_0.01 chron_2.3-24 zoo_1.5-4
loaded
2008 Jul 25
3
Bug in gap.plot
Hi, all
I am trying to make a plot with a axis break and I want the whole plot
to be line, not points. However, when I execute the following command
half of the graph is points and the other lines.
gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l")
I think it might be a bug in plotrix. I would greatly appreciate your
input. If there is another way to do it, I
2008 Sep 20
1
fitting a hyperbole
I have got a data set that is Gross Primary Productivity ~ Total
Suspended Solids it is a hyperbola just like:
plot(1/c(1:1000))
how do I model this relationship so that I can get all of the neat
things that lm gives residuals etc. etc. so that I can see if my
eyeball model stands up. Thanks for any help, pointers, or good
things to read.
--
Stephen Sefick
Research Scientist
Southeastern
2008 Aug 28
1
abline of an lm fit not correct
mac osx 10.5.4
R 2.7.1
I have fit a model
d<-lm(y~x)
with an R^2 of 0.963
but when I issue the command
abline(d)
the line is below where it ought to be. Looks like the right slope,
but not the right intercept.
thanks
--
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy
Let's not spend our time and resources thinking about things that are
so little or so large
2008 Oct 23
1
Reversing xlim qplot
I would like to be able to reverse the xlim on qplot
this is the code that I am using
qplot(a[,"River.Mile"], a[,26]
,ylab=colnames(a)[26], xlab="RiverMile", xlim=rev(c(60,
216)))+geom_smooth()+scale_x_continuous(breaks=c(215,202,198,190,185,179,148,119,61),
2008 Oct 29
1
Macro stuff to work on up through august 2007
Title says it all remember cast() with sum as the aggregation function
--
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being
2006 Jan 01
3
Single Table inheitance doesn''t show subclasses ?
Hi, I am a Rails noob.
Suppose you have:
---
class Animal < ActiveRecord::Base
end
class Mammal < Animal
end
class Cow < Mammal
end
---
I provide Animal,Mammal and Cow controllers with the scaffolding, just
to test and to fill up the Animal table. I can see the "type" column
getting it''s value set with the class name.
So far, soo good.
Now, since listing Animals
2008 Nov 09
1
maptools sunrise sunset function
##This is a function that I am trying to write to calculate sunrise
and sunset and works "mostly", but returns nonsensical values. What
am I #missing? Thanks in advance.
###remember to include maptools as dependence###
library(maptools)
sunrise.set <- function(lat, long, date, timezone="UTC", num.days=1){
#this needs to be long lat#
lat.long <- matrix(c(long, lat),
2008 Aug 29
2
non-parametric Anova and tukeyHSD
I have insect data from twelve sites and like most environmental data
it is non-normal mostly. I would like to preform an anova and a means
seperation like tukey's HSD in a nonparametric sense (on some sort of
central tendency measure - median?). I am searching around at this
time on the internet. Any suggestions, books, etc. would be greatly
appreciated.
--
Stephen Sefick
Research