similar to: summary : par(fig)

Displaying 20 results from an estimated 400 matches similar to: "summary : par(fig)"

2000 Feb 14
2
par(fig) problem
hello R-users, I'd like to plot four graphics on the same page but with different sizes. I've tried to use : par(fig=c(0,0.5,0,0.6)) plot(fig1) par(fig=c(0.5,1,0,0.6)) plot(fig2) etc... but when a figure is plotted, it erase the previous. I've tried to pass 'new=T' to plot function but it's not possible. What can I do ? is it a bug ? I've already reported this a 2 or
2012 Oct 30
1
print and execute functions in a package namespace
Let's say I have a package that consists of a set of functions, fig1(), fig2(), fig3() ..., each of which produces a plot, and perhaps some printed output, e.g., fig1 <- function() plot(1:10) fig2 <- function() plot(10:1) fig3 <- function() {y<-sample(1:10,10); plot(y); y} I'd like to produce a document (PDF or HTML) containing the listing of each function and its output,
2017 Aug 25
2
about multi-optimal points
Hi R users, I have some sets of variables and put them into one dataframe, like in the following. How to choose a specific set of pareto front, such as 10 from the current datasets (which contains more than 100 sets)? And how to show the 10 points on one figure with different colors? I can put all the points on one figure though, and have the code below. I drew two ggplots to show their
2017 Aug 26
0
about multi-optimal points
HI lily, for the colouring of individual points you can set the colour aesthetic. The ID is numeric so ggplot applies a colour scale. If we cast ID to a factor we get the appropriate colouring. test_df <- data.frame(ID = 1:20, v1 = rnorm(20), v2 = rnorm(20), v3 = rnorm(20)) ggplot(data=test_df, aes(x=v1,y=v2, colour = as.factor(ID))) + geom_point()+ theme_bw()+ xlab('Variable 1')+
2017 Aug 26
1
about multi-optimal points
Hi Ulrik, Thanks for your suggestion, but it was not what I meant. I tried to use the rPref package but just got a very small sample and felt clueless. On Sat, Aug 26, 2017 at 12:37 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > HI lily, > > for the colouring of individual points you can set the colour aesthetic. > The ID is numeric so ggplot applies a colour scale.
2009 Feb 02
2
Sweave
I'm trying to (re)learn Sweave and run into some problems. I use now ubuntu (8.10), emacs + ess. Slowly getting upto speed on ess. I have a complete (hopefully) .Rnw file, but the resulting .tex will not compile. The file does not contain anything exotic, but it produces pdf figures, and that is where the problems come: library(tools) > Sweave("varioCoo.Rnw") Writing to file
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all, I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2008 Oct 13
1
MiKTEX-texi2dvi
Sorry, I forgot to include a reproducible example on my last e-mail but here it is: Since the file is large to be included here: The path to the foo.Rnw examples is: www.stat.umn.edu/~charlie/Sweave/foo.Rnw and is suppossed to produce a pdf like this one: http://www.stat.umn.edu/~charlie/Sweave/foo.pdf I have downloaded MiKTEX but I don't know how to make it work. Sweave and Stangle seem to
2011 May 06
1
Sweave: no eps fig
Hi everyone, I'm using R, Latex and Sweave for some years now, but today it confuses me alot: Running Sweave produces only figures in .pdf format, no .eps figures. The header looks like this: <<echo=TRUE, fig=TRUE, label=Fig1>>= There was no error message. Does anybody have an idea? Any changes in the Sweave-package? Or a missing driver or something like that? I recently
2000 Mar 15
1
evaluation is nested too deeply: infinite recursion?
hello R-users, I'm trying to port from S+4 a library called S2HTML. generic function HTMLExport, when called for a lm object, uses HTMLExport.lm which itself calls HTMLExport.list to export the summary. My problem is that HTMLExport.list may itself call HTMLExport (and so HTMLExport.list) for components of the lists that are lists themselves (like "terms" component of an lm object).
2000 Mar 08
1
infinite recursion problem
hello r-users, sorry for asking a long question that may not be very relevant for the list but it's upsetting me and I get no other solution... I get a function HTMLExport.lm that uses another function called HTMLExport.list. My problem is that function HTMLExport.list works fine when used alone but HTMLExport.lm crashes with the following error : > HTMLExport(iris.lm) lm(formula =
1999 Oct 06
1
R graphics & lyx
hello all, I get problems including graphics from R (0.64) into lyx (1.0.2). I don't understand the difference between .eps and .ps but I think the problem must be here. Does anyone can help ? thanks, Mathieu -- ----------------------------------------------------------------------- Mathieu Ros - 13 rue beviere - 38000 GRENOBLE - 04 76 491 370
2004 Feb 13
1
Problems with R CMD INSTALL on SUSE-LINUX 9.0
Dear Colleagues, I've recently upgraded to SUSE-LINUX 9.0 and R 1.8.1 (using the RPM-'s from CRAN). I've checked that all required LINUX-Packages as listet in the README.html in /bin/linux/SUSE are installed. I've then tried to INSTALL and check a package. Installation with R CMD INSTALL -l Rcontrib aws * Installing *source* package 'aws' ... ** libs make:
2000 Aug 10
1
svd error (PR#631)
--=====================_24736660==_ Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable SVD-Error on R 1.1.0 Windows 98 I get the following error applying svd on a positive definite matrix : > sk2 [,1] [,2] [,3] [,4] [,5] [1,] 1.0460139783 0.084356992 -2.810553e-04
2011 Aug 08
0
Odp: Fw: R function for Gage R&R
Hi Elaine I do not use it very often. I programmed it to mimic Minitab functions (partly) with some adons from czech statistics textbook written by M.Meloun (meloun militky statistics - first hit in google) Basically you can have your data in some data frame or they can be as separated vectors. The function itself expects input of 3 vectors, but you can easily to modify it for imput as
2024 Feb 05
1
ggarrange & legend
I'm sorry but that is not a working example. A working example needs to create the plots being used. For example, stealing some code from https://rpkgs.datanovia.com/ggpubr/reference/ggarrange.html #================================================================= data <https://rdrr.io/r/utils/data.html>("ToothGrowth")df <- ToothGrowthdf$dose <- as.factor
2003 Oct 10
1
incorrect behaviour of formals (PR#4511)
Full_Name: Jörg Polzehl Version: 1.8.0 OS: Windows XP Submission from: (NULL) (62.141.176.1) I encountered a problem when playing with the mle library and specifying negative starting values for the parameters. The reason seems to be an incorrect behaviour of function formals: glike<-function(a=1,b=1,c=1) a > formals(glike) $a [1] 1 $b [1] 1 $c [1] 1 > unlist(formals(glike)) a b c
2013 Jan 28
1
Adding 95% contours around scatterplot points with ggplot2
Hi all, I have been looking for means of add a contour around some points in a scatterplot as a means of representing the center of density for of the data. I'm imagining something like a 95% confidence estimate drawn around the data. So far I have found some code for drawing polygons around the data. These look nice, but in some cases the polygons are strongly influenced by outlying points.
2024 Feb 05
2
ggarrange & legend
Dear John Kane Dear R community Here my working example 1. Example that is working with legend=?top?. However, as mentioned, the legend is in the middle of the top axis. mylist<-list(p1, p2) dev.new(width=28, height=18) fig1<- ggarrange(plotlist=mylist, common.legend = TRUE, legend="top", labels = c("(A)", "(B)"), font.label = list(size = 18, color =
2003 Aug 20
1
Five functions proposed for base
Dear r-devel, Among the R functions I have written and later shared with colleagues, there are five that I hope will become a part of the R base package. The tasks are neither specific nor marginal, so rather than creating one more 'misc' package, I would be happy if the R Development Core Team would adopt these functions and hammer them into shape. The functions are available from