Displaying 20 results from an estimated 700 matches similar to: "combine barchart and xyplot in lattice"
2023 Nov 18
1
combine barchart and xyplot in lattice
On Sat, 18 Nov 2023 at 06:44, Naresh Gurbuxani
<naresh_gurbuxani at hotmail.com> wrote:
>
> In below graph, I would like to add two vertical lines using
> panel.abline(). Is this possible?
I assume you want the 'v' variable in panel.abline() to be interpreted
in the context of your x-axis, which here represents a factor
variable. Unless two factor variables have the same
2023 Jan 27
3
implicit loop for nested list
>
> I am looking for a more elegant way to write below code.
>
> #Simulation results have different dimensions
> mysim <- lapply(1:10, function(y) {
> two.mat <- matrix(rnorm(4), nrow = 2)
> four.mat <- matrix(rnorm(16), nrow = 4)
> list(two.mat = two.mat, four.mat = four.mat) #results with different dimensions
> })
>
> #Collect different
2023 Jan 27
1
implicit loop for nested list
I would use replicate() to do an operation with random numbers repeatedly:
```
mysim <- replicate(10, {
two.mat <- matrix(rnorm(4), 2, 2)
four.mat <- matrix(rnorm(16), 4, 4)
list(two.mat = two.mat, four.mat = four.mat)
})
```
which should give you a matrix-list. You can slice this matrix-list
just like normal, then cbind it in one step:
```
two.mat <-
2006 Jul 10
2
Setting the colors of lines in a trellis plot...
With some help from those with expertise on this list, I managed to
produce a plot using trellis that looked like I wanted it to look.
Now, I need to take the same plot and make the lines on it color, but
I want to specify the color for the lines myself.
I've managed to make the key use the colors I want. I've managed to
make the symbols of the actual plot use the colors I want. But I
2005 Mar 05
2
maptools, filename writing shapefiles
Hi,
I meet a strange trouble writing shapefiles with write.pointShape() from
maptools.
> write.pointShape(mylines[,5:9], file="Sxtplinshp", mycoordspt)
Error in write.pointShape(mylines[, 5:9], file = "Sxtplinshp", mycoordspt) :
shapefile names must conform to the 8.3 format
It seems that the function request a special shapefile name spelling
(conformed to 8.3
2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi,
I''m serving the puppetmaster application with its config.ru through
unicorn - proxied by nginx.
I''m using unix sockets, 4 workers, and 2048 backlog.
The clients - after their typical "puppet run" - send back a report to
the master in YAML.
Some clients whose reports tend to be large (close to 2mb) get a 502
bad gateway error and error out.
nginx log:
2010/10/22
2008 Jun 30
6
Plotting three time series on the same graph
Dear R Users,
I would like to plot three time series on the same graph, two axis on the
left and one axis on the right.
The time series that I am graphing on the left do not share a similar
scale: one has a range of 1:100 and the other a range of 25000:70000. How
can I display the tick marks for both on the left hand side without
superimposing them, i.e. one set of tick marks in black right
2011 Jul 19
1
Is libvirt supported on Citrix Xenserver?
Hi,
I was finally able to connect to the xenapi hypervisor. However, once I connect to virsh and give a 'quit' command I get "* glibc detected *** virsh: double free or corruption (fasttop):". Please find below the actual memory dump.
Note: I have disabled the SSL certificate verification in xenapi_driver.c by setting
2001 Sep 21
2
new versions of grid and lattice
Hi
There are new versions of the grid and lattice packages on CRAN:
grid 0.2 and lattice 0.3-0
These packages are still _under development_ (they are in
CRAN/src/contrib/Devel)
There have been some bug fixes and, especially in lattice, there are lots of
new features.
Descriptions of the changes are included below.
If you have any grid code, it may break under the new version because of a
2001 Sep 21
2
new versions of grid and lattice
Hi
There are new versions of the grid and lattice packages on CRAN:
grid 0.2 and lattice 0.3-0
These packages are still _under development_ (they are in
CRAN/src/contrib/Devel)
There have been some bug fixes and, especially in lattice, there are lots of
new features.
Descriptions of the changes are included below.
If you have any grid code, it may break under the new version because of a
2011 Jun 15
1
Is libvirt supported on Citrix Xenserver?
Hi,
Is libvirt supported on Citrix Xenserver. I have been searching for the same
with little/no luck.
If supported, can you point to some links/documents which can help me try
out the same.
Thanks,
Naresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110615/37e4df03/attachment.htm>
2024 May 09
2
Strange variable names in factor regression
On converting character variables to ordered factors, regression result
has strange names. Is it possible to obtain same variable names with
and without intercept?
Thanks,
Naresh
mydf <- data.frame(date = seq.Date(as.Date("2024-01-01"),
as.Date("2024-03-31"), by = 1))
mydf[, "wday"] <- weekdays(mydf$date, abbreviate = TRUE)
mydf.work <- subset(mydf, !(wday
2012 Aug 10
1
Split CSV as per file size
Hi here i have a code to split a csv file as per group of line.
The code given below,
------------------------------------
SplitCSVByLine <- function(DataMatrix,Destination,NoOfLineToGroup)
{
input <- file(DataMatrix, "r")
fileNo <- 1
repeat
{
myLines <- readLines(input, n=NoOfLineToGroup)
if (length(myLines) == 0) break
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
Dear R-ers,
I hope there is a really simple solution to my problem.
I've written a function that I saved in an .r file. I source this file
in my code. For a while it worked fine. But then when I run the line:
source("F mylineplot.r")
I started getting a warning:
In readLines(file) : incomplete final line found on 'F mylineplot.r'
I have no idea why - I tried to check and
2009 Sep 11
3
Barplot+Table
I am trying to automate a report that my company does every couple of years
for the state of Maine. In the past we have used SPSS to run the data and then
used complicated Excel template to make the tables/graphics which we then
imported into Word. Since there are 256 tables/graphics for this report, this
work flow is a little painful. I would like to automate the process and I think
I can do
2011 Mar 15
2
How do you distribute ruby-augeas for ruby-entreprise?
We are using ruby-entreprise, instead of redhat''s default ruby.... I
was trying to deploy the needed gem using:
/opt/ruby-enterprise/bin/gem install --no-rdoc --no-ri
/tmp/ruby-augeas-0.3.0.gem
But found out this would require gcc to be installed!
How can I preb-build this gem to remove the need for gcc on the nodes?
is there an option of the gem command to generate a distributable
2010 Apr 20
1
Google Map Key Error
Hi All,
I am working on the google map application when I uploaded my files i
am getting the below error
The given key has gone over the requests limit in the 24 hour period
or has submitted too many requests in too short a period of time.
Please help me
Thanks in advance
With Regards,
Naresh Bonagiri
--
You received this message because you are subscribed to the Google Groups "Ruby on
2010 Dec 28
4
Nested Class
Hi:
I have something like this:
class xinetd {
... some Puppet code ...
class xinetd::telnet {
... some Puppet code ...
}
}
node ''host1'' {
include xinetd::telnet
}
However, when running Puppet says it can''t find class xinetd::telnet.
I can include xinetd so I know my site.pp correctly includes all .pp
files.
I am running Puppet 2.6.0.
Thanks
2008 Mar 21
2
Xen info
Hi,
Could you let me know the any links or any pdf or books, which expains all
the variable we used for configuring xen domains.
Thanks in Advance
Regards,
Chandraprakash Naresh Gupta
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any
2009 Jul 23
0
exactly overlaid semi-transparent lines
I'd like to plot n (say n = 10) semi-transparent lines in such a way that if all n happen to exactly overlay each other, the resulting line is completely opaque. In principle, I believe that this is what setting alpha = 1/n should accomplish.
In practice, different values of n produce different results. Consider the following function, which overlays n semi-transparent red lines:
mylines