Displaying 20 results from an estimated 2000 matches similar to: "How to specify only minimum ylim parameter for boxplot"
2010 Dec 14
2
Use generalised additive model to plot curve
Readers,
I have been reading 'the r book' by Crawley and think that the
generalised additive model is appropriate for this problem. The
package 'gam' was installed using the command (as root)
install.package("gam")
...
library(gam)
> library(gam)
Loading required package: splines
Loading required package: akima
> library(mgcv)
This is mgcv 1.3-25
Attaching
2010 Aug 24
2
percentage sign in expression
Readers,
According to the documentation for the function 'plotmath' there is no
apparent possibility to add the percent sign (%) to a plot function,
e.g.
plot(a[,1]~b[,2],ylab=expression(x~%),xlab=expression(z))
How to achieve this please?
yours,
rhelp at conference.jabber.org
r251
mandriva2009
2010 May 31
2
accessing a data frame with row names
Readers,
I have entered a file into r:
,column1,column2
row1,0.1,0.2
row2,0.3,0.4
using the command:
dataframe<-read.table("/path/to/file.csv",header=T,row.names=1)
When I try the command:
dataframe[,2]
I receive the response:
NULL
I was expecting:
row1 0.2
row2 0.4
What is my error with the syntax please?
Yours,
r251
mandriva2009
2010 Jan 29
1
use zoo package with multiple column data sets
Readers,
I am trying to use the zoo package with an array of data:
file1:
hh:mm:ss 1
hh:mm:ss 2
hh:mm:ss 3
hh:mm:ss 4
file2:
hh:mm:ss 11 55
hh:mm:ss 22 66
hh:mm:ss 33 77
hh:mm:ss 44 88
I wanted to merge these data set so I tried the following commands:
library(chron)
library(zoo)
z1<-read.zoo("path/to/file1.csv",header=TRUE,sep=",",FUN=times)
2011 Jan 29
1
data extrapolation function
Readers,
Data was imported using the read csv command:
dataimport<-read.csv("/path/to/dataimport.csv")
10,2000
12,2001
13,2002
15,2003
17,2004
Using the help contents for 'predict.lm' (i.e. ?predict.lm) a new data
frame was created
dataimportextra<-data.frame(x=seq(1990,2010,1))
predict(lm(dataimport),dataimportextra[,2],se.fit=TRUE)
2009 Oct 26
2
exclude data for boxplot stats using mathematical operator
Readers,
I have a data set as follows:
1,1
2,2
3,3
4,4
5,3
6,2
7,-10
8,-9
9,-3
10,2
11,3
12,4
13,5
14,4
15,3
16,2
17,1
I entered this data set using the command 'read.csv'. I want to
exclude values fewer than zero in column 2 so then I tried the
following command:
boxplot.stats(x[>0,2],do.conf=FALSE)
Error: syntax error, unexpected GT, expecting ',' in
2007 Nov 01
1
Problem with compiling 64bit R(2.5.1) under HP-UX(ia64)
Hi there,
We are trying to compile a 64bit version of R (2.5.1) on HP-UX
(B.11.23 U ia64), but are running into some problems.
This is our configure step:
../configure --prefix=/rnd/homes/lfan/R251 --enable-R-shlib CC="cc"
CFLAGS="+z +DD64" CXX="aCC" CXXFLAGS="-b -lxnet +z +DD64" FC="f90"
FCFLAGS="+DD64" F77="f90"
2009 Dec 01
1
boxplot: auto sizing for ylim variable
Dear R-Devel,
I am trying to create a boxplot for a large dataset (about 1500 entries)
and was wondering if there was away to do auto sizing for the y-axis of a
horizontal bar plot? I know I could use a control structure to loop through
the data instead, but as I know SAS has something does this automatically I
thought R might as well.
Thanks,
VL
[[alternative HTML version deleted]]
2010 Jun 15
0
[LLVMdev] Question on X86 backend
Thanks Cristoph, I have that code in my backend, but unless I do the following, the registers are never considered 'live' into the call.
/ Handle a function call
let isCall = 1,
Defs = [
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15,
R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R31,
R32, R33, R34, R35, R36, R37, R38, R39, R40, R41,
2010 Jan 13
2
selection of multiple subscripts
Readers,
For a data set 'x':
1 a
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i
How to select multiple subscripts to plot? For example to plot values
1:3 and 9:10:
plot(x[1:3,1],x[,2])
and
plot(x[9:10,1],x[,2])
into one plot?
Yours,
rhelpatconference.jabber.org
r251
2010 Feb 16
3
margin text warning message NAs coercion
Readers,
I tried to the following commands:
plot(y~x,ylab=expression(A[1]~B[2],xlab=expression(C~D))
mtext(expression(A[1]~B[2]),"additional text",side=3,line=1)
I receive the text that I want, but the command terminal shows the
following response:
Warning message:
NAs introduced by coercion in: mtext(expression(A[1]~B[2]),"additional
text", side = 3,
What is my mistake
2008 Sep 21
1
card reader "sim-max"
hi!
some time ago i have purchased card reader for scanning sim-card.
it have usb inerface.
in set was cd with soft (as usual only for windows)
soft on cd:
usb-driver installer
sim max 5.16
& i try to run it on mandriva2008 kernel 2.6.22.9
first i try to install 'usb-driver installer.exe'
then install sim max 5.16(it's 2 prog.: sim editor and sim scanner),but that's wrong
way!
2008 Mar 24
1
Running rpy produces the error message undefined symbol: KillAllDevices
Hello All,
I've been using R for a while and decided to test R from the svn trunk. I
know that trunk is not stable, but I wanted to see if I can install and run
the latest rpy on my Ubuntu 7.10 box. It installed ok, but I got the
runtime error message:
$ python
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type
2007 Jun 21
2
abline plots at wrong abscissae after boxplot
Hi folks,
I'm using R 2.5.0 under ESS under Windows XP. (This also happens using
the Rgui application.)
I'm trying to add lines to a plot originally made with "boxplot", but
the lines appear in the wrong place. Below is a script that
illustrates the problem
# boxablinetest.R - script to show problem with abline on box plot
x <- c( 2, 2, 2, 3, 3, 3, 4, 4, 4)
y
2010 Jul 01
0
non-root user "virConnectOpen() faile" in libvirt-0.3
*Hello,*
*
*
*My environment is "Xen3.1 in Fedora8" with "libvirt0.3 & python2.5". When I
ran the following *
*commands as a non-root user "nimbus":*
$python
>>> import libvirt
>>> libvirt.open("xen:///")
--------- Console ---------
[nimbus at localhost-120 ~]$ python
Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
[GCC 4.1.2
2009 Jan 16
0
New winetricks 20090116: new verbs mono22, urlmon, wininet, controlpad, native_oleaut32, msscript, hosts; plus various updates and bugfixes
Gee, it's been a while since I posted a new version of winetricks.
This is rather a big update.
As always, online at
http://kegel.com/wine/winetricks
Please submit bug reports to
http://code.google.com/p/winezeug/issues/list
svn log since version 20081127:
r264 | daniel.r.kegel | 2009-01-16
Don't set winver to win2K when installing .net 1.1.
r263 | daniel.r.kegel | 2009-01-16
Add
2010 Apr 22
1
how to reorder of groups and specify ylim for each row in lattice barchart
R experts,
Is there anyway to reorder inside each group? In the following example, the
bar of year 1932 is always plotted before the bar of year 1931, may I change
the order inside each groups of bars?
library(lattice)
barchart(yield ~ variety | site,data=barley, groups = year, layout =
c(1,6),auto.key = list(points = FALSE, rectangles = TRUE, space =
"right"),ylab = "Barley Yield
2012 Nov 16
0
rq summary plot: specify ylim for each coefficient
Hi all,
I am running 4 series of quantile regressions with tau=10:90/100, each
series corresponding to a different year.
I would like to restrict ylim for each coefficient to be the same across
years in order to help comparing coeff across years. Therefore, I need to
specify ylim for each coef.
I have tried:
2000 Dec 08
1
ylim doesn't work in boxplots?
I want to leave a little extra room at the bottom for a legend in a box plot,
but I find that the boxplot function ignores ylim. Is there any way around
this? Thanks.
______________________________________________________________________
Stuart Luppescu -=-=- University of Chicago
$(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu
2009 Aug 17
6
graph label greek symbol failure
Readers,
Previous questions about this requirement have been for m$ users, my
failure occurs using linux.
I have tried to add the delta (?) symbol to the y axis label and the
result is &D, using the command:
...ylab="?t"...
Any advice please?
rhelp at conference.jabber.org
mandriva 2008
r 251 (27-06-07)