Displaying 20 results from an estimated 6000 matches similar to: "xyplot main title question"
2006 Jan 29
1
line numbers
I am using the sink function to save several results (i.e. values of many different variables) to an output file. However, the output looks unattractive because it displays line numbers next to each new variable, it is difficult to remove the R variable name from the output, and I cannot print test without it using quotation marks. The only way I have found around most of these issues is to
2009 Sep 09
1
Xyplot, multi line title via main, all lines left justified
All,
Below is an xyplot plot with multiple panels and a title produced via main:
library("lattic")
data.ex = data.frame(y = rnorm(10), t = rep(1:5, 2), group = rep(c(0,1),
each = 5))
xyplot(y ~ t | as.factor(group), data = data.ex,
main = list("Put figure caption here xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
want this line left justified" ))
I must be mis-interpreting the
2013 Feb 22
3
Help xyplot
Hi Mackay and anybody
(a) Is it possible to select randomly (let say five grids) and plot?
(b) Is it possible to plot five nearest grid in one figure?
The original question and improved codes:
#I am ploting gridded time series data. I would like the actual lat
#and lon value appear on the graph-if possible inside the graph as
#numbers. If there is also more elegant ways to plot the graphs I
2006 Sep 18
7
smb.conf
Hi all
My client want a shared folder so that only two people can access and
write to it.
I added the following to my smb.conf
[private]
writeble = yes
guest ok = no
path = /home/samba/private
valid users = wendy, pierre
write list = wendy, pierre
force user = nobody
All i need yo do now is make the folder "private" to nobody. How would i
go on by doing that and would this work.
2010 Nov 09
1
Lattice: xyplot group title format
Dear all,
if I plot a lattice xyplot like:
library(lattice); require(stats);
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes)
How can I manipulate the group title format (here: Depth)? Like the font size, position, etc.
Best
Marcus
2010 Apr 28
1
Multiple cex sizes in main for xyplot?
Folks:
I would like to write two lines of text in two different font sizes (or
faces or ...) as the title ("main") of a trellis plot. The following code
does it, but not well:
xyplot((0:1)~(0:1),
main = textGrob(lab=c("Some Text","Some More Text"),y=c(.95,.8),
gp=gpar(cex=c(1.2,1.0)))
)
There is too much space between the title text and the plot. I assume
2003 Mar 07
6
Call for testing for 3.6
We are heading into a lock here. So we need to get people to test their
respective platforms if they wish them to be supported out of the tar file.
So if you have any patches you need to ensure your platform works speak
up. We are looking at a lock on the 17th.
I believe I have an AIX/Cray patch and a Tru64 patch sitting in my mailbox
that I'll be looking at soon and more than likely
2010 Feb 21
4
replicate matrix
Hi all,
I have a matrix, for example
[,1] [,2]
[1,] 1 3
[2,] 4 6
I want to replicate the matrix twice and add an extra column at the end,
which is
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 1 3 1 3 1 3 2
[2,] 4 6 4 6 4 6 5
I found 'rep' only works for vector. Does anyone know how to replicate a
matrix, and append the matrix?
2010 Mar 22
1
Add title to color spectrum legend in xyplot
Hi,
I have a plot that is essentially the same as that in Figure 5.6 of "Lattice
- Multivariate Data Visualization with R". The key difference is that I
would like to add a title to top of the grey color spectrum legend, but have
thus far been unsuccessful. I've tried a variety of options, but to no
avail. I'm new to R, and admittedly I don't understand the
2011 Oct 30
3
element-by-element comparison
Hi,
I have a vector and a matrix. For example,
A = [
12
3
4];
B = [
4 13
10 2
4 8];
I am comparing A to each column of B using A>B[,ii], so the expected result
is
C = [
1 0
0 1
0 0];
I am looking for a way to do this quickly instead of going through the for
loop, but haven't had any luck yet? Any advice is appreciated.
Thank you very much.
Wendy
2010 Nov 28
2
weighted x variables with glm
I have a glm regression (quasi-poisson) of log(mu) on x but I have varying
degrees of confidence in the x values, and can attach a numerical weighting
to each. Can anyone help me with suggestions of how to analysise this. Is
there an R package that would help?
Wendy
[[alternative HTML version deleted]]
2011 Aug 31
2
How to expand LVM without create new drive?
I now how to expand a LVM by creating a new drive as described here:
http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps
are:
# pvcreate /dev/sda3
# vgextend VolGroup00 /dev/sda3
Now, I want to know how to expand a LVM without create /dev/sda3?
Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to
make /dev/sda2 become 10 GB? Then resize LVM
2002 Feb 01
2
/dev/urandom
if i want to learn more about implementing a /dev/urandom,
where would be a good place to start?
thanks,
wendy
--
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154
2011 Nov 01
4
round up a number to 10^4
Hi all,
I have a list of numbers, e.g., X = c(60593.23, 71631.17, 75320.1), and want
to round them so the output is Y = c(60000, 80000, 80000). I tried
Y<-round(X,-4), but it gives me Y = c(60000, 70000, 80000). Do anybody know
how to round up a number to 10^4?
Thank you in advance.
Wendy
--
View this message in context:
2016 Dec 06
2
[RFC LINUX PATCH 0/2] Virtio ring works with DMA coherent memory
RPMsg uses dma_alloc_coherent() to allocate memory to shared with the remote.
In this case, as there is no pages setup in the dma_alloc_coherent(),
we cannot get the physical address back from the virtual address, and thus,
we can set the sg_dma_addr to store the DMA address and mark it already DMA
mapped.
When virtio vring sees the sg_dma_addr is ready set, do not call dma_map_page().
The issue
2016 Dec 06
2
[RFC LINUX PATCH 0/2] Virtio ring works with DMA coherent memory
RPMsg uses dma_alloc_coherent() to allocate memory to shared with the remote.
In this case, as there is no pages setup in the dma_alloc_coherent(),
we cannot get the physical address back from the virtual address, and thus,
we can set the sg_dma_addr to store the DMA address and mark it already DMA
mapped.
When virtio vring sees the sg_dma_addr is ready set, do not call dma_map_page().
The issue
2010 Feb 22
2
change email subscription
Dear R team,
As this is a university email address with very small inbox limit, can I
please change my R email subscription to another email address instead of
this one? My new email address is wendy2.qiao@gmail.com. I have change my
email in my profile, but seems that does not change my subscription.
Thank you.
Wendy
[[alternative HTML version deleted]]
2011 Apr 10
3
count number of TRUEs in each row
Hi all,
I have a huge matrix of TRUE/FALSE table like following, and I want to count
the number of TRUEs in each row. Instead of looping through each row and do
length(Z[Z==TRUE]), I am wondering if there is an easier way of doing this.
[,1] [,2] [,3]
[1,]TRUE FALSE FALSE
[2,]FALSE TRUE TRUE
Thank you in advance.
Wendy
--
View this message in context:
2011 Dec 01
2
permutate elements in a vector
Hi all,
I have a vector, e.g., A = c(10, 20, 30, 40). This 4 numbers have 4! = 24
different combination. I want to generate a matrix with one combination in
one row, so the output would be
B =
10 20 30 40
10 40 20 30
...
Does anyone know how to do this easily in R? Thank you very much.
Wendy
--
View this message in context:
2013 Apr 29
4
expanding a presence only dataset into presence/absence
Hello,
I'm working with a very large dataset (250,000+ lines in its' current form)
that includes presence only data on various species (which is nested within
different sites and sampling dates). I need to convert this into a dataset
with presence/absence for each species. For example, I would like to expand
"My current data" to "Desired data":
My current data