similar to: Changing background in splom et al.

Displaying 20 results from an estimated 2000 matches similar to: "Changing background in splom et al."

2004 Mar 03
0
R: Changing background in splom et al.
trellis.device(bg="white", color=F) before your call to splom could make what you want but take also a look at ?trellis.par.set Stefano > -----Messaggio originale----- > Da: v.demartino2 at virgilio.it [mailto:v.demartino2 at virgilio.it] > Inviato: mercoled? 3 marzo 2004 12.10 > A: r-help > Oggetto: [R] Changing background in splom et al. > > > Context:
2010 Oct 07
1
Lattice: Histogram in splom diagonals
Dear list, I want to plot several variables with splom and in the main diagonal, instead of the variable names, I'd like to plot an histogram of corresponding variables. Searching I did not find the correct syntax, only some tips in an old post in the list, but this comments help to plot only density lines instead of histograms. I had some code, but it fails to plot (I've commented the
2007 Aug 30
2
Need help putting histograms on the diagonal of a splom plot
Hello, I am in need of help in putting histograms on the diagonal of a plot produced with splom(). The plot matrix I am trying to produce is to have standard scatterplots in the upper-left triangle, contour plots in the lower-right triangle, and histograms on the diagonal. I have a function that does the first two, but the histograms on the diagonal has been beyond my ability. Here is my
2004 Jun 22
2
ts & daily timeseries
I have defined a daily timeseries for the 365 days of 2003 issuing: myts = ts(dati[,2:10],frequency=365,) > myts Time Series: Start = c(1, 1) End = c(1, 365) Frequency = 365 and mytime = as.POSIXct(strptime(as.character(dati[,1]),format="%Y-%m-%d")) contains the dates from "2003-01-01" to "2003-12-31" How can I combine mytime and myts in order to list
2005 Jun 22
3
Howto crosstable-ing......
I receive the following meteo dataset regularly, containing the average daily temperatures (tMedia) of a certain month for 24 selected meteo-stations (COD_WMO) whose human-readable names are in (NOME). str(tabella) `data.frame': 1038 obs. of 4 variables: $ COD_WMO: int 16045 16045 16045 16045 16045 16045 16045 16045 16045 16045 ... $ NOME : Factor w/ 24 levels
2005 Jan 13
2
R, postgresql, windows & bsd
I usually work with R on a windows querying data through RODBC from a postgresql db on a freebsd machine on my offcie lan. Now I have the chance to use R also on a linux gentoo client box and to connect to the same db. I know that I can install the unixodbc stuff and stick to RODBC, BUT my question is: Is there any more 'linuxish' way of querying a postgresql server from a client?
2005 Feb 01
2
Rcmdr doesn't seem to work
Context: Windows XP - R 2.0.1 with the latest updated packages (including Rcmdr) I'm trying to load Rcmdr to use the 3d plots (e.g. scatter3d) but here it is what happens: > library(Rcmdr) Loading required package: zoo Loading required package: strucchange Loading required package: sandwich Loading required package: relimp Loading required package: mvtnorm Loading required package:
2004 May 18
3
Debian & R
I use linux debian testing for which the latest debianized version of R is 1.8.1. Therefore I installed: r-base-core_1.8.1-0.cran.1_i386.deb r-base-dev_1.8.1-0.cran.1_all.deb r-base-html_1.8.1-0.cran.1_all.deb r-base-latex_1.8.1-0.cran.1_all.deb r-base_1.8.1-0.cran.1_all.deb r-doc-html_1.8.1-0.cran.1_all.deb r-doc-info_1.8.1-0.cran.1_all.deb
2004 May 31
3
ffnet problem
Context:Linux debian testing, compiled R 1.9.0 from source. I've just installed the contributed ffnet package wit no problem at all. But when loading the library the following error message is popping up and no ffnet command seems to work: >library("ffnet") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2005 Jun 06
2
R code for performance
At office I'm cautiously introducing R to be used as the basic statistical program, getting rid of licensed stuff or reducing the amount of it. The aim of R would be to run generic statistical programs built & "consumed" when needed and some static procedure dealing with time-series. Now, we have substantially 3 OS platforms, win xp, linux and freebsd 5.4, on similar PCs (pentium
2007 Aug 01
1
Splom custom superpanels
I thought one nice addition to a splom figure would be to have the scatterplots in the upper triangle and a color-coordinated correlation matrix on the bottom. So I tried my hand at customizing panel.pairs(), and was rebuffed. Many times. Four hours of fruitless debugging later, I turn to you for help: panel.pairs(z=teststatfull[,6:12], pscales=0, panel.subscripts=FALSE, subscripts=,
2010 Dec 26
1
lattice splom: how to adjust space between tick marks and tick labels?
Dear expeRts, how can I decrease the space between the tick marks and the corresponding labels in an splom? See here: library(lattice) U <- matrix(runif(4000), ncol = 8) splom(U, axis.text.cex = 0.2) # => space between the [small] tick labels and tick marks is/seems to be too large I checked ?panel.pairs but could not find an option for that. Cheers, Marius
2010 Nov 11
1
change axis labels and text size in "splom"
Hi everyone: I'm using "splom" to draw scatterplot matrix. I'm wondering how can I change the axis labels to c(1,10,100,1000,...) instead of c(1,2,3,...), and also how can I change the text size (for labels)? Thanks a lot! xcui
2007 Feb 21
2
Splom plot:how to plot with different symbols?
Hi, Kindly let me know if I posted a wrong question in the forum. I want to draw a splom plot with different symbols in plot. My command is as follows: splom(~ log10(splomData[2:3]), groups = programs, data = splomData, panel = panel.superpose, key = list(title = paste(splomLoop,"Programs of Hog Analysis (Sorted by LR(GB))"), panel = panel.superpose, columns =
2010 Jan 15
1
Lattice: How to color the data points in splom() according to the panel they are plotted?
Dear ExpeRts, I have the scatter plot matrix as given below. I would like the different "sub-plots" in the scatter plot matrix to be colored differently. How do I get all points shown in the upper-left plot (on position (1,1) in the scatter plot matrix) to be plotted in blue, and the points shown in the plot to the right (on position (1,2) in the scatter plot matrix) to be plotted in
2011 Jan 20
2
circular reference lines in splom
Hello everyone, I'm stumped. I'd like to create a scatterplot matrix with circular reference lines. Here is an example in 2d: library(ellipse) set.seed(1) dat <- matrix(rnorm(300), ncol = 3) colnames(dat) <- c("X1", "X2", "X3") dat <- as.data.frame(dat) grps <- factor(rep(letters[1:4], 25)) panel.circ <- function(x, y, ...) { circ1
2003 Sep 04
3
Putting regression lines on SPLOM
Sorry Folks, I'm sure I could suss out the answer myself but I need it soon ... ! 1. Given a set of 4 variables X,Y,Z,W in a dataframe DF, I make a scatter-plot matrix using splom(DF). 2. I do all regressions of U on V using lm(U~V), where U and V are all 12 different ordered pairs from X,Y,Z,W. 3. Now I would like to superpose the regression lines from (2) onto the corresponding
2007 Oct 16
1
Adding axis lines to splom plots
Hi, I am trying to produce a 30x30 lattice grid. The 30 variables naturally fall into three groups of ten and I would like to add thicker axis lines around these to highlight this. However, I can only do this separately, so far, and I don't know how to superimpose the grid with the thicker lines (separating the 10x10 groups) onto the overall grid of all 30x30 plots. I enclose a
2007 Feb 14
3
Putting splom in a function
Hello R list, I have a little problem with splom. I'd like to wrap it in a function, for example: multi.scatterplot <- function(data,groups,cols,colors) { splom(~data[,cols], groups = as.symbol(groups), data = data, panel = panel.superpose, col=colors) } and then call it like in multi.scatterplot(iris,"Species",1:4,c("green","blue","red"))
2008 Sep 21
1
How to put given values in lower triangle of splom-plot?
Dear R-experts, I have found a splom-modification online which is given below. This works perfectly, but I would like to have a matrix of given correlation values to be used in the lower triangular part (lower.panel) of the splom-plot instead of calculated correlation values. Here is the matrix I would like to use (it can be any other convenient data structure):