similar to: Problem between panel.abline and log scales (lattice)

Displaying 20 results from an estimated 1000 matches similar to: "Problem between panel.abline and log scales (lattice)"

2009 Sep 11
2
Graph visualization
Hello, I am working with graph and adjacency matrix, the package 'graph' seems to be appropriate for this. An example in the package > mat <- rbind(c(0, 0, 1, 1), + c(0, 0, 1, 1), + c(1, 1, 0, 1), + c(1, 1, 1, 0)) > rownames(mat) <- colnames(mat) <- letters[1:4] > graph1 <- new("graphAM", adjMat=mat) > graph1 A
2008 Jan 30
2
Concatenate xyplots
Dear R-community, I created 5 different xyplots and graphed all of them with the print command on one page (e.g. print(graph1, split=c(1,1,1,5), more = T) ... print(graph5, split=c(1,5,1,5), more =T) Using the above commands separates each graph by a white space. However, since the graphs do share the same x-axis, I was wondering if there is a way to concatenate graph1 through 5 so
2003 May 21
2
Graphics device history recording problem (Previous and Next utilities)
I use 1.7.0 version under Windows XP. Problem: When graphics device history recording function turned on, suppose I source a file containing lines: plot(graph1) plot(graph2) I see the graph2 in the graphic device, assuming graph2 is the last plot in the file. Now using "Previous" under history menu, I get graph1 as expected. But after that, using "Next" does not show graph2.
2012 Nov 08
2
How to include CI in a grouped barplot?
Hello everyone! I need to include the confidence interval bar in a grouped barplot. I've found some options on the web, but none of them solved my problem. The question is: my barplot was created using vectors for each pair of bar and them combining them using cbind. I mean: a=c(10,15) b=c(20,24) c=c(21,23) ... hei=cbind(a,b,c) graph1=barplot(hei, beside=T,...) I've tried to include
2008 Aug 11
1
frequency of labels in a barplot
I'm trying to control the number of labels in the x-axis of my plot. My code is the following: graph1<-barplot(total_skew) axis(1,at = graph1,labels=raw_date[1:length(total_skew)], las=2) however, the length of my "total_skew" parameter is a few thousand elements, and all the labels on the x-axis are overlapping and cluttered. How do I specify the frequency or number of labels
2013 Jun 19
2
knitr without R studio
Hello folks, I`m using knitr on R studio, which make it easy to use, but a coworker of mine would like to run it on "simple" R. So I was wondering if you know what is the equivalent of the button "knit HTML" in RStudio in R. I tried knit2HTML( <html> <head> <title></title> </head> <body style="background-color:white">
2009 Aug 25
1
Clogit or LRM?
Hello I believe that I'm getting very close in my modeling application. I've come across a challenge that I am unable to solve and would really appreciate the group's opinion. I've been using the val.prob function from the Design library (Thanks Frank!!) to both evaluate and visualize my model. From the scores and graph, it appears as my model is very accurate in
2008 Aug 01
1
Best way to select good points in a noisy signal ?
Hello, When I plot y=f(x) from the file xy.txt ( http://www.nabble.com/file/p18773387/xy.txt xy.txt ), I can clearly see a trend. Is there a function or a package able to take the median value of y for an interval of x (x +/- a defined value) to plot nice graph (at least a better one) ? Thanks in advance, Have a nice week-end, Ptit Bleu. -- View this message in context:
2007 Sep 17
4
Must be easy, but haven't found the function (numerical integration)
Hi, I have a data frame of 2 columns with the following types : data$day char data$value num And I plot my data with : plot(strptime(donnees$day,format="%Y-%m-%d %H:%M:%S"),donnees$value, type="l") And I'd just like to get the numerical value of the integration of this graph. I looked at ?integrate but, as far as I understood (that is, not very much, due to my poor
2006 Aug 24
1
help: trouble using lines()
Hi R experts, I have been using ReML as follows... model<-lmer(late.growth~mtf+year+treat+hatch.day+hatch.day:year+hatch.day:treat+ mtf:treat+ treat:year+ year:treat:mtf+(1|fybrood), data = A) then I wanted to plot the results of the three way interaction using lines() as follows... tmp<-as.vector(fixef(model)) graph1<-plot(mtf,fitted(f2), xlab=list("Brood Size"),
2010 Nov 19
1
How to print "graph1.png" "graph2.png" "graph3.png" ... ?
Dear All, I want to print out "graph1.png" "graph2.png" "graph3.png" ... How can I print it out? Thank you,
2007 Aug 31
2
Problem of vocabulary : retrieve element of a list of a list
Hi, I read the posts for 2 hours and ?list and tried many comninations but I haven't found the answer to this basic question. So I decided to post my question even if it is a silly one ... What is the instruction to retrieve, for example, the "D" of the first list ? Thanks in advance, Ptit Bleu. > x<-list(LETTERS[1:5], LETTERS[10:20]) > x [[1]] [1] "A"
2011 Jul 12
4
qplot and for loops
I have 4 columns and 56 rows of made up data that I want to plot as a series of bar graphs. The idea is to create one bar graph for each of the 4 columns using a for loop. I tried the following command in RStudio and when I type x in the console I get just the 4th graph instead of all four graphs. I did not define what x is before hand. I was not sure what it would be. Any suggestions on how you
2009 Jun 05
2
find a sequence of characters in a vector
Hello, I'm just looking for an easy way to find the positions of a complete sequence in a bigger vector. For example : c("a","z","e") in c("a","z","e","r","t","a","z","a","z","e","c") and the result should be 1 8 that is the positions of the beginning of
2007 Dec 10
7
Sweave : change value in rnw file to generate multiple "single" reports ?
Hello, I'm still trying to make the life of my colleagues easier. Nice, isn't it ? At the moment, I'm looking for a way to generate multiple "single report". In fact I have a .rnw file which send a query to a MySQL database (rs<-dbSendQuery(con, statement="select * from treatdata where name='Device1'") But of course my colleagues have many devices and
2007 Aug 29
1
Strage result with an append/strptime combination
Hi, I keep on trying to write some small scripts in order to learn R but even with basic scripts I have problems ... I start with the name of a file which is in fact the time the file has been generated (I cannot change the format). Then I convert namefile with strptime. The problem occurs when I add another time from another file with append. It displays some informations I don't want. I
2009 Mar 13
1
How to combine xtable and minipage with Sweave ?
Hello, I'm trying to put a dynamic table and a dynamic graph side by side in a pdf document using Sweave. The data.frame used to generate the table is called rg (rg.txt): "Date"; "Code"; "Data1"; "Data2" "2009-03-10";"1";1958;147 "2009-03-10";"2";302;144 "2009-03-10";"3";4;141
2008 Nov 07
1
sapply and median, possible or not ?
Hello, I have a list of data.frame rowsplit : List of 15 $ (0,0.025] :'data.frame': 169 obs. of 7 variables: $ (0.025,0.05]:'data.frame': 174 obs. of 7 variables: $ (0.05,0.075]:'data.frame': 92 obs. of 7 variables: $ (0.075,0.1] :'data.frame': 76 obs. of 7 variables: $ (0.1,0.125] :'data.frame': 37 obs. of 7 variables: $
2007 Nov 20
2
Friendly way to link R - MySQL and non-(R and Mysql) users ?
Thanks to your help, I managed to link R and a Mysql Database, send queries, plot the results and put everything in a pdf document (with Sweave). My co-workers find the job not bad but they would like to have a friendly interface to send queries and see the graphs (the pdf document is not necessary). Something like this coul be a good starting point : --------------------------------------- |
2007 Dec 17
2
Must be obvious but not to me : problem with regular expression
Hi, I have a vector called nfichiers of 138 names of file whose extension is .P0 or P1 ... to P8. The script is not the same when the extension is P0 or P(1 to 8). Examples of file names : [128] "Output0.P0" [129] "Output0.P1" [130] "Output0.P2" [131] "Output01102007.P0" [132] "Output01102007.P1" [133]