Displaying 20 results from an estimated 101111 matches for "right".
Did you mean:
wright
2010 Oct 01
1
add a new column to data frame
Hi, I am wondering if anyone can propose a simple/best way to do the following:
Let's say I have a data frame
dat <-
cbind(expand.grid(mode=c('right','left'),time=0:3,id=c('p1','p2','p3')),y=c(3,5,rep(4,6),6,2,rep(3,6),4,4,rep(2,6)))
dat
mode time id y
1 right 0 p1 3
2 left 0 p1 5
3 right 1 p1 4
4 left 1 p1 4
5 right 2 p1 4
6 left 2 p1 4
7 right 0 p2 6
8 left 0 p2 2
9...
2002 Jul 24
4
cumsum and subsets of a data frame?
I have a question about using cumsum on subsets of a data frame.
Suppose I have a frame that looks something like this
> tmp
f x y
1 left 1 0
2 left 2 0
3 left 3 9
4 left 4 10
5 left 5 23
6 left 6 45
7 left 7 13
8 left 8 2
9 left 9 6
10 right 1 10
11 right 2 26
12 right 3 9
13 right 4 50
14 right 5 78
15 right 6 20
16 right 7 7
17 right 8 20
18 right 9 19
I'm plotting things like this will lattice
> library(lattice)
> xyplot(y ~ x | f, data=tmp)
If I plot the cumsum with xyplot( cumsum(y) ~ x | f, data=tmp),
it is summed...
2008 Nov 05
1
Problems computing 2-way-mixed-model ANOVA
Dear Experts,
I am new to R and unfortunately cannot start with a simply statistical
analysis:
I manually determined the volume of the right and left hippocampus in
a group of meditators and in a group of controls. My data-sheet looks
as follows:
observation subject group age gender hemisphere volume
1 am04 m 25 f left 3.637
2 am04 m 25 f right 3.713
3 ao08 m 47 m left 3.715
4 ao08 m 47 m right 3.702
5 as11 m 43 f left 3.912
6 as1...
2013 Mar 01
2
[PATCH] support 7 and 8 channel wav files as input
Now that we've selected a channel mapping for 7 and 8 channel flac, the
command-line encoder tools needs updating to accept wav files with
compatible channel maps.
-r
-------------- next part --------------
2011 Oct 16
2
right justify right-axis tick values in lattice
How can I right justify the right-axis tick values? They appear in the
example below as left-justified.
I have tried several different ways and all fail in different ways.
The example below creates the right axis tick value with no attempt at
adjustment.
alternates I have tried are
1. formatting the values. T...
2013 Jan 27
2
rpart
...10???????? 8???????? 6???????? 6
?Hsa.8147? Hsa.1131 Hsa.692.1
??????? 6???????? 5???????? 5
Node number 1: 62 observations,??? complexity param=0.6363636
? predicted class=t? expected loss=0.3548387? P(node) =1
??? class counts:??? 22??? 40
?? probabilities: 0.355 0.645
? left son=2 (14 obs) right son=3 (48 obs)
? Primary splits:
????? Hsa.627?? < 59.83??? to the left,? improve=15.05376, (0 missing)
????? Hsa.8147? < 1696.23? to the right, improve=14.46790, (0 missing)
????? Hsa.37937 < 379.39?? to the right, improve=13.75358, (0 missing)
????? Hsa.692.2 < 842.305? to the right,...
2006 Apr 27
7
Role Based Authorization recipe implementation?
...book, i have now an auth system for users
without problems, now i want to made a role based acces for my app, im
following the "Role Based Authorization" recipe of the book but i cant
make it to work even when the tables created and correctly added data
manually definig the roles and rights. als i dont know how to define a
right for use all the actions in a certain controller or define another
that gives right to use a group of controllers.
If someone knows where to find an implementation of this, good
references about this kind of auth system or willing to help with this
will b...
2013 Mar 01
2
[PATCH] support 7 and 8 channel wav files as input
...ith the new text
from the flac-website repository.
diff --git a/doc/html/format.html b/doc/html/format.html
index a8a539e..87f6413 100644
--- a/doc/html/format.html
+++ b/doc/html/format.html
@@ -1247,11 +1247,11 @@
<li>1 channel: mono</li>
<li>2 channels: left, right</li>
<li>3 channels: left, right, center</li>
- <li>4 channels: left, right, back left, back right</li>
- <li>5 channels: left, right, center, back/surround left, back/surround right</li>
- <li>6 channels: left, right, center, LF...
2016 Jan 19
2
net rpc rights list
...igured and working with my domain member server and I now
wish to grant the SeDiskOperatorPrivilege to the "MYDOMAIN\Domain Admins"
group. When I execute the command it appears to disregard the domain name
and grant the privileges to the group "Unix Group\domain admins"
net rpc rights list accounts -U'MYDOMAIN\administrator'
Enter MYDOMAIN\administrator's password:
...
Unix Group\domain admins
No privileges assigned
net rpc rights grant 'MYDOMAIN\Domain Admins' SeDiskOperatorPrivilege
-U'MYDOMAIN\administrator'
Enter MYDOMAIN\administrator's pa...
2016 May 04
2
ImageMagick security alert
...com/show_bug.cgi?id=CVE-2016-3714
>
> Mitigation:
>
> As a workaround the /etc/ImageMagick/policy.xml file can be edited to disable
> processing of MVG, HTTPS, EPHEMERAL and MSL commands within image files, simply
> add the following lines:
> <policy domain="coder" rights="none" pattern="EPHEMERAL" />
> <policy domain="coder" rights="none" pattern="HTTPS" />
> <policy domain="coder" rights="none" pattern="MVG" />
> <policy domain="coder" rights="...
2006 Feb 15
4
problem with saving id''s in a join table
hello,
I''am new to ROR and I have a problem.
I have to models "rights" and "roles" on a has_and_belongs_to_many
relationship, through "roles_rights" table. When I try to add a new role
although I put in my form fields for each right, a record is added to
table roles but none to roles_rights.
I am using Ruby 1.8.4 rails 1.0 mysql 5.0
her...
2019 Mar 12
5
classicupgrade, net rpc rights grant NT_STATUS_IO_TIMEOUT and NT_STATUS_INTERNAL_ERROR
...ilege \
>> SeEnableDelegationPrivilege"
>>
>> samba-tool user setpassword Administrator \
>> --newpassword="$SAMBA_NT_ADMIN_PASS"
>> echo "$SAMBA_NT_ADMIN_PASS" | kinit Administrator
>> for priv in $PRIVS ; do
>> while ! net rpc rights grant "${SAMBA_DC_ADMIN_GROUP_CHOICE}" $priv
>> \ -U "Administrator%$SAMBA_NT_ADMIN_PASS" ; do
>> echo "Failed to grant $priv ... Retrying ..."
>> sleep 10
>> done
>> done
>>
>> Upon running this, I often get NT_STAT...
2014 Apr 18
2
On of mirrors doesn't work properly
.../th></tr><tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a
href="TIME">TIME</a></td><td align="right">18-Apr-2014 11:36 </td><td
align="right"> 11 </td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a
href="centos-2/">centos-2/</a></td>&l...
2007 Jan 09
10
Writing a breakable loop? If it gets a match it should stop.
I''m trying to write a function that will accept a rails URL, and see if
it matches one of my Rights. Rights are just controller URLs, so I can
manage access at the controller level (don''t need action level). What
I''m trying to do is take the url passed, and see if its access
controlled. If it is, the method should stop and return true, if not it
will return false. This method i...
2006 Apr 21
1
HABTM - two lists
...good example somewhere of an implemention for
adding records with HABTM relations that have lots of possibilities.
The best way that I''ve seen it done is where you have two lists
(multiple select lists) where you have the possibilities on the left and
ones you''ve added on the right with arrows to add and delete items. But
the only ways I know how to implement that solution are ugly (because
the form will only submit selected items from the right).
Does anyone know how to implement the two lists elegantly or of another
solution that works well for many items?
--
Posted...
2009 Feb 18
1
v1.2 can't set ACL to empty string
Hi *,
according to RfC4314 the rights argument to the setacl command might be
an empty string ("zero right characters"):
The third argument is a string containing an optional plus ("+") or
minus ("-") prefix, followed by zero or more rights characters.
existing clients (horde in particular) actu...
2006 Dec 04
2
erroneous warning in hist (PR#9408)
Full_Name: Alex Deckmyn
Version: 2.4.0
OS: linux
Submission from: (NULL) (193.190.63.62)
specifying the "right" option in hist results in a warning when plot=F. The
option is taken into account correctly, but a warning is issued anyway. When
plot=T there is no warning.
> hist(c(1,1.5),breaks=0:4)$counts
[1] 1 1 0 0
> hist(c(1,1.5),breaks=0:4,right=T)$counts
[1] 1 1 0 0
> hist(c(1,1.5),breaks=...
2008 Jul 18
5
samba group rights problem (Domain Admins not working)
Hi list,
after upgrading our ldap server, the Domain Admins group doesn't work
anymore.
Members of the domain admins group don't have any special rights on the
workstations (for example, they cannot even change the date of a machine in
the
domain anymore).
When I lookup the group members I get:
root@hermes<javascript:open_compose_win('to=root%40hermes&thismailbox=INBOX.Sent');>:/etc/samba#
net rpc group members 'Domain Admi...
2013 Jan 14
1
Does psm::Surv handle interval2 data?
Does Surv in psm handle interval2 data? The argument list seems to indicate it does but I get an error.
Thanks,
Chris
# code
library('survival')
left <- c(1, 3, 5, NA)
right <-c(2, 3, NA, 4)
Surv(left, right, type='interval2')
survreg(Surv(left, right, type='interval2') ~ 1)
library('rms')
Surv(left, right, type='interval2') # error
args(Surv)
psm(Surv(left, right, type='interval2') ~ 1) # same error (of course)
psm(survival:...
2016 Jan 19
2
net rpc rights list
...ver and I now
>> wish to grant the SeDiskOperatorPrivilege to the "MYDOMAIN\Domain Admins"
>> group. When I execute the command it appears to disregard the domain name
>> and grant the privileges to the group "Unix Group\domain admins"
>>
>> net rpc rights list accounts -U'MYDOMAIN\administrator'
>> Enter MYDOMAIN\administrator's password:
>>
>> ...
>> Unix Group\domain admins
>> No privileges assigned
>>
>> net rpc rights grant 'MYDOMAIN\Domain Admins' SeDiskOperatorPrivilege
>> -U...