Displaying 20 results from an estimated 93008 matches for "give".
Did you mean:
given
2009 Mar 21
1
Subsetting data where the condition is that the value of some column contains some substring
I have some data that looks like this:
> dataP
input output corpusFreq pvolOT pvolRatioOT
1 give(my sister, the old book) P 47.0 56016 0.1543651
5 donate(her, the book) P 48.7 68928 0.1899471
9 give(my sister, the book) P 73.4 80136 0.2208333
13 donate(my sister, the old book) P 79.0 57024 0.1571429
20...
2004 Sep 22
1
Problem compiling Corel-WINE
...3.1 with GCC-3.3.4 and I get
this error:
/usr/local/gcc-3.3.4/bin/gcc -c -march=i586 -O2 -Wall -fPIC -D__WINE__
-D_REENTRANT -DSHELL_NO_DESKTOP -I. -I. -I../include -I../include
-I/usr/X11R6/include -o thunk.o thunk.c
thunk.c:365:47: pasting "." and "PeekMessageA" does not give a valid
preprocessing token
thunk.c:366:47: pasting "." and "PeekMessageW" does not give a valid
preprocessing token
thunk.c:367:45: pasting "." and "GetMessageA" does not give a valid
preprocessing token
thunk.c:368:45: pasting "." and "Get...
2006 Mar 07
4
POSIX time zone codes
...al entry for as.POSIX says this about time zone codes...
Usage
as.POSIXct(x, tz = "")
tz
A timezone specification to be used for the conversion...
but it fails to mention what these "specifications" are. So far, I
have tried...
as.POSIX(x, tz="UTC") ... works, gives UTC times
as.POSIX(x, tz="UTC") ... works, gives EST times
as.POSIX(x, tz="CST") ... does NOT work, gives UTC times
How do I get Central Standard Time or the US? Anybody know what the
code is?
Thanks.
[[alternative HTML version deleted]]
2005 Jun 20
6
sweep() and recycling
Hi
I had a hard-to-find bug in some of my code the other day, which I
eventually
traced to my misusing of sweep().
I would expect sweep() to give
me a warning if the elements don't recycle nicely, but
X <- matrix(1:36,6,6)
sweep(X,1,1:5,"+")
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 2 9 16 23 30 32
[2,] 4 11 18 25 27 34
[3,] 6 13 20 22 29 36
[4,] 8 15 17 24 31 38
[5,]...
2012 Sep 22
1
formtastic does not save at all
Rails 3.1.3
I am using Formtastic gem in order to deal with multi-select
dependencies.
<%= semantic_form_for(@give) do |f| %>
<%= f.inputs do %>
<%= f.input :departure,
:collection => Departure.find(:all, :order=>:city).collect{ |c|
[c.city,c.id]},
:required=>true %>
<div id="destinationCity">
<%= render :partial => ''destination''...
2005 May 13
2
cluster results using fanny
Hi,
I am using fanny and I have estrange results. I am wondering if
someone out there can help me understand why this happens.
First of all in most of my tries, it gives me a result in which each
object has equal membership in all clusters. I have read that that
means "the clustering is entirely fuzzy". Looking at the graphics it
is really difficult to understand how objects with so different scores
for the variables have the same membership for all the...
2006 May 12
2
Help In Function
...ind <- as.data.frame(matrix(zz, nr=2))
j<-lapply(ind, function(x) mat[x[1]:x[2],])
cat("For",x/4,"month number of windows is = ",length(ind),"\n")
}
windowlength(x=12)
I need to know how can i give command in "R" so that instead of giving the last line, i.e "R" will ask the user to give the value of x? I mean to say,
1) It will ask user "Give the value of x"
2) Then user inputs 12, and R gives the ultimate result.
Thanks,
Sumanta Basak.
-------------------...
2008 Nov 11
2
is.matrix
a=c(1,1,2);
is.matrix(a) gives FALSE
is.matrix(t(a)) gives TRUE
is.matrix(t(t(a))) gives TRUE
Is this correct? Shouldn't all give FALSE?
I think is.matrix should give FALSE when dimension is 1*n or n*1.
2008 Nov 11
2
is.matrix
a=c(1,1,2);
is.matrix(a) gives FALSE
is.matrix(t(a)) gives TRUE
is.matrix(t(t(a))) gives TRUE
Is this correct? Shouldn't all give FALSE?
I think is.matrix should give FALSE when dimension is 1*n or n*1.
2019 Mar 13
5
Full HTTPS support
...while giving streaming support to my website. When I
read a console error (or was it a warning?) on Chrome, when the browser
accessed to an http:// resource from an https:// domain.
Then I decided to fix it by the clean way.
I don't need official support yet... but if you don't mind to give full
HTTPS support I can help you I think, because [...] very easy to fix,
and so.
If you want, I want share my patch.
I did not give full support (for example in configuration).
Also, the xiph directory needs http:// scheme always... so your help
would be nice.
2008 Nov 20
3
PV 0.9.12pre3 gives BSOD when installing in VM in Xenserver 5.
Hello,
I have Xenserver 5.0.
When i install a new VM with Windows Server 2003 X64 Standard (R2) and
install all windows-updates, it gives me a BSOD when i install the PV
0.9.12pre3 drivers.
Steps to reproduce:
- Install Xenserver 5 (light/free or Enterprise/trial)
- Install a Windows Server 2003 x64 R2 VM from a ISO or CD
- Install all windows updates
- Download the GPLPV 0.9.12pre3 .exe file to the desktop and double-click
it....
2008 Sep 19
3
Giving a domU direct access to a NIC
Hello,
I am experimenting with Snort and other IDS and I would like to use Xen for
these tests. This would require me to use port mirroring to sent a bunch of
packets to a NIC located on my Xen machine.
I don''t really know how Xen networking works, but is it possible to give a
domU direct access to a NIC ? Or at least give it enough access so that it
can see packets that are not for the domU originally.
Thank you in advance,
Antoine
--
Antoine Benkemoun
Tel : 03.51.53.57.00
Port : 06.32.88.59.35
_______________________________________________
Xen-users mailing li...
2009 Feb 24
4
bigest part of vector
Hi, may be simle question, but a do not find it anywhere.
Is there same function like max() ,but giving more results.
max() give 1number-maximum
I need funcion what give p bigest number.
many thanks
--
View this message in context: http://www.nabble.com/bigest-part-of-vector-tp22188901p22188901.html
Sent from the R help mailing list archive at Nabble.com.
2009 Apr 07
3
strange (?) behavoir of expand.grid()
...=".6") to select a row of the object
created by expand.grid(), for other values numerical (e.g. ==.8) and
for some both work. Please find an example below.
#Example
x<- seq(0,1,1/10)
y <- seq(0,1,1/10)
gridd <- expand.grid(x,y )
gridd[which( gridd[,2]=="0.6" ),] #gives me the right data
gridd[which( gridd[,2]==0.6 ) ,] #gives error message
gridd[which( gridd[,2]=="0.4" ),] #gives right data
gridd[which( gridd[,2]==0.4 ),] #gives right data
gridd[which( gridd[,2]=="0.0" ),] #gives error message
gridd[which( gridd[,2]==0.0 ),] #gives...
2006 Nov 25
3
OT: P(Z <= -1.46).
In checking over the solutions to some homework that I had assigned I
observed the fact that in R (version 2.4.0) pnorm(-1.46) gives
0.07214504. The tables in the text book that I am using for the
course give the probability as 0.0722.
Fascinated, I scanned through 5 or 6 other text books (amongst the
dozens of freebies from publishers that lurk on my shelf) and found
that some agree with R (giving P(Z <= -1.46) = 0.0721)...
2011 Aug 27
3
What is the recommend method to give users local admin access?
What is the recommend method with a samba pdc to give users local
administrator access to their workstations? In Samba4 / Active Directory I
can use a group policy. For Samba I can add 'Domain Users' to the local
administrator group following these instructions.
http://www.samba.org/samba/docs/man/Samba3-HOWTO/groupmapping.html#id2598630Is
the...
2016 Apr 27
4
wbinfo -u and -g gives no output
...exact same configurations..
Thanks.
----- Original Message -----
From: "Peter Bulin" <bulin.peter at gmail.com>
To: dxu at uoguelph.ca
Cc: "samba" <samba at lists.samba.org>
Sent: Wednesday, April 27, 2016 11:24:55 AM
Subject: Re: [Samba] wbinfo -u and -g gives no output
I had the same problem, for me setting : *"client ldap sasl wrapping =
plain" *helped.
On Wed, Apr 27, 2016 at 5:07 PM, Dennis Xu <dxu at uoguelph.ca> wrote:
> I have Samba 4.2 on Redhat 7. "wbinfo -u" and "wbinfo -g" commands give no
> o...
2018 Jan 14
4
Mailbox from virtual mailbox in other namespace
Hi there!
I have more namespaces. One for subscription, another one "inbox", then
one for the archiv and a shared and a public namespace.
And than is there a namespace for virtual mailboxes.
In the namespace for virtual mailboxes is one mailbox wich gives me all
emails in the archiv namespace
#cat dovecot-virtual
Archiv/*
all
The namespace is normally hidden, but for debugging i make it visible.
doveadm search -u jakob mailbox Real/Archiv all
lists all the emails.
So i want to integrate this virtual mailbox in another namespace.
The namespac...
2010 Jan 21
3
how to give the index with some given index ?
Dear R-helpers,
I have a question about giving index.
Suppose that I have a vector say, id=1:5, and each of them have some given
index but some of them may share the same index
Now, I have another vector, and I want to give it a index based what just
defined.
# 5 subjects
test1=1:5
# corresponding index, so here, subject 2 and subject 4 share the common
index "1"
index=c(3,1,2,1,4)
# now I have another vector, a...
2007 Sep 14
3
x-axis order
Hi all,
I have a time series which contain data collected weekly from week 26
to week 25 the following year. How do I plot this data, so that the
x-axis is displaying the week numbers, ordered as in the data?
Thanks in advance,
Gustaf
---
x<-c(26:52,1:25)
y<-rnorm(52)+1:52
plot(x,y) ## How do I get the x axis to be ordered by the current
ordering of x?
--
Gustaf Rydevik, M.Sci.
tel: