Displaying 20 results from an estimated 2000 matches similar to: "lattice plot problem!"
2005 Jun 06
2
fail in adding library in new version.
Hello everybody,
Could I consult you a question?
I always use R old version 1.9.1 . Because I can not add my library into the new version 2.0.0 by the same method as old version.
* I have read the webpage <http://www.stats.ox.ac.uk/pub/Rtools>
* Download the tools.zip
* Unpack tools.zip into c:\cygwin
* Install Active Perl in c:\Perl
* Install the mingw32 port of gcc in c:\mingwin
*
2004 Oct 18
2
答复: 答复: R plot problems
Yes! You are right ! It is perpendicular to the axis.
Thank you very much!
Could I choose the angle ,such as 45 degree?
Best Regards!
Ivy Li
YMS in Production & Testing
Semiconductor Manufactory International(ShangHai) Corporation
#18 ZhangJiang Road, PuDong New Area, Shanghai, China
Tel: 021-5080-2000 *11754
Email: Ivy_Li at smics.com
-----orig---
Hi Ivy,
How about
x <-
2004 Oct 18
2
答复: How to draw x-axis time label.
Thank you for helping me!
I try the "pretty" funtion to select the x-axis position value.Then I use the "format" funtion.
xax.pos <- pretty(as.numeric(x$x.name))
format(xax.pos,'%d %b %y')
> xax.pos
[1] 1091600000 1091800000 1092000000 1092200000 1092400000 1092600000 1092800000
[8] 1093000000
There are something wrong. I found the xax.pos has been changed to
2005 Jul 21
2
The steps of building library in R 2.1.1
Dear All,
With the warm support of every R expert, I have built my R library successfully.
Especially thanks: Duncan Murdoch
Gabor Grothendieck
Henrik Bengtsson
Uwe Ligges
Without your help, I will lower efficiency.
I noticed that some other friends were puzzled by the method of building library. Now, I organize a document about it. Hoping it can help more friends.
1. Read
2004 Oct 18
3
答复: R plot problems
Thank you for your help!
I gave you an example, you could run it in R . Maybe you will understand my meaning clearly.
x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana",
2004 Oct 18
1
How to draw x-axis time label.
Hi everybody,
Could I consult one problem?
It is about plot
Now I do some analysis in plot . I need to draw a plot which x-axis is time . But when I run the funtion of plot . The x-label are very oddness number, such as the time is "2004-08-05 09:08:48", but the x-label is 1091800000. I don't know how to do .
I have an example . Mybe It can explain my meaning clearly.
Thank
2004 Oct 27
2
Install Package(RODBC) warning , why?
Hi everybody,
Could I consult one problem?
I want to access database with RODBC, first download this package from http://www.microsoft.com/data/odbc as part of MDAC, the version is the newest version 2.7.0. But after I have installed this Package(RODBC) and run command libaray(RODBC), the R system report the fillowing warning information.
Error in eval(expr, envir, enclos) :
2004 Oct 19
0
答复: 答复: 答复: How to draw x-axis time label.
Thank you !
I run your code. It have a graph with time(date) on x-axis. Thank you very much!
Well, Would you like to do me a favor again?
Most of times, the x-axis time data is lasted about 3 months. They are too much. I must select some of them marking in x-axis,and they are must reasonable and human-readable. Now I have tried the "pretty " function, But as soon as I run it, the
2005 Jan 19
4
how to call R in delphi?
Dear All:
Now I am writing program in delphi , found it is very convenience to do anova, T-test, F-Test, etc in R , how to call R in delphi? Thsnks.
Best Regards
YiYao Jiang
Product Division/ product Testing Department
Semiconductor Manufacturing International Corporation
ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203
Tel:86-21-5080-2000 Ext. 15173
2012 May 03
1
bwplot: using a numeric variable to position boxplots
[Env: R 2.14.2 / Win Xp]
In the examples below, I'm using lattice::bwplot to plot boxplots of 4
variables, grouped by a factor 'epoch'
which also corresponds to a numeric year. I'd like to modify the plots
to position the boxplots according to
the numeric value of year, but I can't figure out how to do this.
Also, I'd to modify the strip labels that give the variable
2004 Oct 25
1
Multiple formula in one block
Hi Everybody:
I want to draw some chart using command "histogram" and add another curve in it.
Example:
require(stats)
data(singer)
library(lattice)
histogram( ~ height | voice.part, data = singer, nint = 17, endpoints = c(59.5, 76.5), layout = c(2,4), aspect = .5, xlab = "Height (inches)")
Now I got a chart of 8 blocks, then I need add :"
2005 Jun 30
5
答复: fail in adding library in new version.
Dear Gabor,
Thank your for helping me so much!
I have loaded R the newest version 2.1.1. Then I setup it in the path of D:\program files\R\
1. unpack tools.zip into c:\cygwin
2. install Active perl in c:\Perl
3. install the mingw32 in c:\mingwin
4. add "c:\cygwin; c:\mingwin\bin" in "Control Panel -> System -> Advanced -> Environment Variables -> Path ->
2005 Jul 08
3
fail in adding library in new version.
Dear all,
I really appreciate your help. I think I have a little advancement. ^_^
When I enter the Dos environment, at first, into the D:\>, I type the following code:
cd Program Files\R\rw2011\
bin\R CMD install /example
"example" is in the d:\, which include the R folder and "DESCRIPTION" file, But I wrote nothing in the "DESCRIPTION" file. Actually, I
2005 Jul 07
2
答复: 答复: fail in adding library in new version.
Dear all,
I have done every step as the previous mail.
1. unpack tools.zip into c:\cygwin
2. install Active perl in c:\Perl
3. install the mingw32 in c:\mingwin
4. add "c:\cygwin; c:\mingwin\bin" in "Control Panel -> System -> Advanced -> Environment Variables -> Path -> Variable" , and they are in the beginning of the "Path"
Because I install R in
2004 Sep 28
2
(no subject)
******************************
Could you perhaps describe exactly what "can't compile" means, please?
It's hard to know what you've tried without a little more information.
******************************
1). I type these command:
f <- function(x,y) x+y
g <- function(x,y) x-y
d <- data.frame(a=1,b=2)
e <- rnorm(1000)
2008 Feb 19
1
Change the color and lines of the legend using bwplot
Dear list,
I have following plot, where I have set the color (red and green) and lines (lty=2:3) in the panel.groups but can't not figure out how change the lines and color of the legend in the "key" to the same lines and color as in the panel.groups.
bwplot(means ~ age | scales , dat, panel = "panel.superpose",
groups = sex,scales = list(x = list(rot =
2008 Mar 31
1
Reorder the x-axis using lattice
Dear list,
Is there a way to reorder the xaxis using lattice. Using the following data, the x-axis is ordered as BP GH MH PF RE RP SF VT but I would like the x-axis to be ordered as PF RP BP GH VT SF RE MH.
Kön Skalor Tillfälle Medelvärde
1 Kvinnor BP 1-inskrivning 36.45283
2 Kvinnor GH 1-inskrivning 38.62255
3 Kvinnor MH 1-inskrivning 62.88889
4
2013 May 03
1
print multiple plots to jpeg, one lattice and one ggplot2
hello everybody,
I want to print two plots in one png file, I tried several options but i
didn't succeed
the first plot (bwplot) print to the defined position, but the second
(ggplot) doesn't
Any idea?
Thanks a lot
Christophe
# Example:
#-------------------------------------
library(ggplot2)
library(lattice)
library(grid)
one <- bwplot(decrease ~ treatment, OrchardSprays, groups
2004 Oct 25
0
答复: Multiple formula in one block
Hi Dimitris:
Thanks for your help, I will try.
BR
Yiyao
-----ÔʼÓʼþ-----
·¢¼þÈË: Dimitris Rizopoulos [mailto:dimitris.rizopoulos at med.kuleuven.ac.
be]
·¢ËÍʱ¼ä: 2004Äê10ÔÂ25ÈÕ 15:39
ÊÕ¼þÈË: YiYao_Jiang
³ËÍ: r-help at stat.math.ethz.ch
Ö÷Ìâ: Re: [R] Multiple formula in one block
Hi YiYao,
you need the `?panel.abline()' function, somehing like:
panel=function(x, breaks,
2010 Oct 19
1
Lattice: type="p" stopped working in panel.average
Hi,
The behavior of panel.average has changed. In March 2010, I plotted
the attached r_plotViolinOfAnnualE_old.eps. (I don't know the version
of R). Today, I plotted the attached r_plotViolinOfAnnualE_new.eps
using R version 2.12.0 (2010-10-15). Both figures were produced via
the same script:
...
plot <- bwplot(year ~ Eann, data=df, horizontal = T,
xlab = "E / mSv",
ylab =