Displaying 20 results from an estimated 900 matches similar to: "Legend in the outer margin"
2009 Jan 29
2
Adding vertical line to histogram and qplot "stacked" plot
R-users it appears I am leaning on your knowledge once again. Is there any way to add a vertical line to a histogram and qplot "stacked" plot? Here is my current attempt:
"qplot" approach attempt:
qplot(Run, data = data_dataframe, breaks = breaks, fill = Temperature, main = short_title) + scale_x_continuous("Data") + scale_y_continuous("Freq")
2005 Jan 21
2
chi-Squared distribution in Friedman test
Dear R helpers:
Thanks for the previous reply. I am using Friedman racing test. According the the book "Pratical Nonprametric Statistic" by WJ Conover, after computing the statistics, he suggested to use chi-squared or F distribution to accept or reject null hypothesis. After looking into the source code, I found that R uses chi-sqaured distribution as below:
PVAL <-
2005 Jan 21
2
chi-Squared distribution
Dear Rs:
outer(1:3, 1:3, function(df1, df2) qf(0.95, df1, df2))
I compare this F distribution results with the table, the answers were perfect. But I need to see for chi-sqaured distribution. When I employed the similar formula
outer(1:3, 1:3, function(df1, df2) qchisq(0.95, df1, df2)) , I am getting unexpected results. I need to see the following values:
p=0.750 .....
1 1.323
2006 Nov 02
6
Multiple items in the where clause while updating...
Hi
The following is a database table named friends.
+-----+------+------+-------+
| sid | id | fid | ftype |
+-----+------+------+-------+
| 30 | 1 | 2 | F |
| 31 | 1 | 3 | R |
| 32 | 3 | 2 | F |
| 33 | 3 | 4 | F |
+-----+------+------+-------+
I want to update the ftype field based on id and fid.
I want to achive the following.
Update friends
2005 Nov 25
1
Plotting the diff. between two curves
Dear Rs
I have two vectors A and B
where
A is
V1 d
1 0.000100000 1.123278
2 0.002186431 1.120448
3 0.004351214 1.106661
4 0.006515998 1.107713
5 0.008680781 1.107667
6 0.013010348 1.106353
7 0.019504698 1.104077
8 0.034658181 1.103202
9 0.051976447 1.103200
10 0.073624280 1.094825
11 0.093085682 1.085123
12 0.095250465 1.087325
13 0.132051782 1.086158
14 0.168853098
2009 Jan 14
1
Help with Plot/Legend
Dear R-Users
I have 2 questions:
Firstly, If I create a matplot and legend for multiple vectors and then tag
another vector on using matlines (e.g. a 'total' of all vectors), is there
anyway to add the new line to the legend without recreating it? I have
created the plot this way because I would like to define the lty and lwd for
the 'total' vector so that it can be
2005 Nov 03
1
Help in expand.grid() (Restricted combination)
Dear Rs:
BY having the following code:
candidates<-expand.grid(e=c("nearest-neighbor","exaustive"),
d=c(70,75,80,85,90,92,94,96,98,99),
n=c(20,25,30,35,40))
results in :
e d n
1 nearest-neighbor 70 20
2 exaustive 70 20
3 nearest-neighbor 75 20
4 exaustive 75 20
................
90 exaustive 90 40
91 nearest-neighbor 92 40
92 exaustive 92 40
93 nearest-neighbor 94 40
94
2007 Oct 26
10
Port problem.
Hello,
We have a video conference server using tcp and udp 3001 prot in internal,
external user said that can''t connect to video server and held on 3001 fail,
the following is file configuration,
nat: 1.2.3.4 eth1:3 192.168.0.18
rule: video/ACCEPT net loc:192.168.0.18
marco.video:
PARAM - - tcp 3000
PARAM - -
2006 Feb 17
2
Grouping and Averaging in Table
Dear Rs
I have a single table with three columns in the following form:
1 100 150
1 45 32
1 99 100
2 150 33
2 22 87
2 71 31
....
....
1000 64 32
1 100 150
1 45 32
1 99 100
2 22 89
2 31 44
2 88 11
....
....
1200 64 32
1 100 150
1 45 32
1 99 100
2 150 33
2 22 87
2 71 31
...
...
1100 31 34
Totally 1000+1200+1100 rows. Now, I need to group by first column
and average then second and third column
2017 Sep 13
3
glusterfs expose iSCSI
Hi all
I want to configure glusterfs to expose iSCSI target. I followed this
artical
https://pkalever.wordpress.com/2016/06/23/gluster-solution-for-non-shared-persistent-storage-in-docker-container/
but when I install tcmu-runner. It doesn't work.
I setup on CentOS7 and installed tcmu-runner by rpm. When I run targetcli,
it not show *user:glfs* and *user:gcow*
*/>* ls
o- /
2017 Sep 13
0
glusterfs expose iSCSI
On Wed, Sep 13, 2017 at 1:03 PM, GiangCoi Mr <ltrgiang86 at gmail.com> wrote:
> Hi all
>
Hi GiangCoi,
The Good news is that now we have gluster-block [1] which will help
you configure block storage using gluster very easy.
gluster-block will take care of all the targetcli and tcmu-runner
configuration for you, all you need as a pre-requisite is a gluster
volume.
And the sad part is
2008 Nov 12
2
Outer, kronecker, etc.
`outer` (and related functions like kronecker) require that their
functional argument operate elementwise on arrays. This means for
example that
outer( 1:2, 3:4, list)
or
outer(1:2,3:4,function(a,b){1})
gives an error.
Is there a version of `outer`/`kronecker`/etc. that takes arbitrary
functions and does its own elementwise mapping? In the first example
above, I'd expect the
2007 Jan 22
1
Latin hyper cube sampling from expand.grid()
Dear R experts
I am looking for a package which gives me latin hyper cube samples
from the grid of values produced from the command "expand.grid". Any
pointers to this issue might be very useful. Basically, I am doing the
following:
> a<-(1:10)
> b<-(20:30)
> dataGrid<-expand.grid(a,b)
Now, is there a way to use this "dataGrid" in the package
2005 Jun 02
1
DEM calculation
Hello R-World,
i am trying to calculate data for a DEM (Digital Elavation Model) which i
also want to plot in R. i have the coordinates for the lower left corner
which look something like this:
x<-42,2
y<-50,5
besides i have the cellsize of the grid, which is:
z<-1,1
what i do is to calculate the corrdinates of the cells to the right and top,
what i can do by specifying the number of
2012 Feb 07
1
Problem with plotting a square 1 x 3 plot and placement of outer margin text
Dear R-helpers,
Please see the attached plot.
The problem is that I have too much space between the x-axis label
(which is mtext in an outer margin) and the plots.
My par settings for this plot are:
>par(mfrow=c(1,3),oma=c(2,2,2,2),mar=c(5.1,4.1,4.1,2.1),pty="s")
>#here is the code that produces the three plots, which I have deleted for simplicity
>mtext("Log Wetland
2007 Aug 15
8
Shorewall and printing problems in the LAN ( loc ) zone
Guys,
Just a quick check. From what i have read in the
shorewall site, intrazone traffic is allowed
completely by shorewall i.e. there is no filtering or
packet size limiting ,etc,etc.
I ask this becos after getting shorewall up and
running well, someone has complained that they cannot
print pdf files larger than 100k at one go but that
they have to print one page at a time.
Some details;
2007 Apr 18
2
[PATCH 19/21] i386 Kprobes semaphore fix
IA-32 linear address translation is loads of fun.
While cleaning up the LDT code, I noticed that kprobes code was very bogus
with respect to segment handling. Many, many bugs are fixed here. I chose
to combine the three separate functions that try to do linear address
conversion into one, nice and working functions. All of the versions had
bugs.
1) Taking an int3 from v8086 mode could cause
2007 Apr 18
2
[PATCH 19/21] i386 Kprobes semaphore fix
IA-32 linear address translation is loads of fun.
While cleaning up the LDT code, I noticed that kprobes code was very bogus
with respect to segment handling. Many, many bugs are fixed here. I chose
to combine the three separate functions that try to do linear address
conversion into one, nice and working functions. All of the versions had
bugs.
1) Taking an int3 from v8086 mode could cause
2000 Feb 02
1
Outer margin (oma) settings for pairs()
I propose the following small changes to pairs.default.
The point is to allow control of the outer margin settings,
so that there is for example room for legends.
[Note also the issue re the setting of par()$usr on exit]
----------------------------------------------------------------
(1) Replace
function (x, labels, panel = points, main = NULL, font.main =
par("font.main"),
2006 Mar 11
1
Scaling in plot function
Dear R helpers,
I have a vector of 500 numbers and I need to plot them in such a way
that the first 250 values should occupy 80% of the plot and the
remaining ones should take 20%. More precisely, x axis ranges form
1:500 and the idea is to give the snapshot of the first 250 values. I
tried "axis()" and log="x", but I am not getting the required output.
Thanks