Displaying 20 results from an estimated 200 matches similar to: "recoding variables"
2004 Nov 12
4
How to get mode (the most frequent value in distribution)?
Hello!
I have a continous distribution and would like to get mode (the most
frequent value in distribution). I easily found mean, median and other
basic thing but not mode function. Can anyone help?
I know there my might be problems with multiple modes, but still I think
that there should be a mode function in R.
Please send mail to R-help list and me, so I can get response faster.
Thank
2003 May 16
2
Efficient subsetting
Hi, I'm facing this problem quite a lot, so it seems worthwhile
to check to see what the most efficient solution is.
I've two vectors x (values ordered) and y. I've ranges
x < x0, x0 <= x < x1, x1 <= x < x2, x2 <= x < x3, x > xn
and want to construct a subvector yprime of y which consists
of the first/last value of y whose x values are in the range.
For
2006 May 17
5
Plan to free myself from AAH
Hi,
I'm actually using a slightly old version of AAH with Asterisk 1.2.1,
because at first install it was perfect for my moderate knowledge of
Asterisk. It is working well but I gradually introduced many changes to
dialplan during normal use and now I'm feeling like in a straitjacket!
Moreover I'd like to have the chance to upgrade Asterisk regularly.
I have not the experience to
2010 Dec 09
3
How many files & directories in a ZFS filesystem?
Looking for a little help, please. A contact from Oracle (Sun)
suggested I pose the question to this email.
We''re using ZFS on Solaris 10 in an application where there are so many
directory-subdirectory layers, and a lot of small files (~1-2Kb) that we
ran out of inodes (over 30 million!).
So, the zfs question is, how can we see how many files & directories
have been created in
2007 May 16
1
how to reduce in a grid ?
hi dear R users,
I'm a newbie with R and excuse me if my question is stupid ... but i've read lot of documentation and I don't know how to do.
I have a dataset like
x y var1 var2
2 4 10 50
3 3 20 70
3 2 50 68
4 5 34 42
5 3 10 23
7 8 23 42
7 3 23 34
[...]
And I need to produce grids like :
y\x ]0-2] ]2-4]
2007 Nov 20
5
Compound search / grouping
Hi,
Following problem:
We have a tree structure with children and a root element (recursivly)
stored in one table (imagine a threaded forum).
Each of the children has a title which should be indexed by ferret.
Now we want to make a search that returns only the root and searches all
items.
So if one node has "expensive" and nother node has "car" I want to enter
2013 Jun 04
4
función recode
Buenos días
No sé qué es lo que estoy haciendo mal al aplicar la función recode.
Escribo:
personas_LR2 <-recode(personas_LR$edad, '0:15="Menores de 16 años"; 16:44="Entre 16 y 44 años"; 45:64="Entre 45 y 64 años";>=65"65 y más años";', as.factor.result=TRUE)
y me da el siguiente error:
Error en parse(text = strsplit(term,
2006 Oct 28
1
Compiling Zaptel 1.2.10 on Ubuntu 6.10
Here's a weird problem that I'm not quite sure how to resolve. Zaptel
1.2.10 compiles just fine with "make", but when "make install" is
run, this happens:
[ `id -u` = 0 ] && /sbin/depmod -a 2.6.17-10-generic || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample
/etc/zaptel.conf build_tools/genmodconf linux26 "" "tor2 torisa wcusb
2006 May 25
4
No rings before auto attendant
Hi all, been searching & not finding an answer to this, although I'm
guessing it's absurdly simple... I just hooked up a T1 to our * box (1.2.0),
which had been using POTS lines via a channel bank.. Now when I call the new
T1 circuit, there are no rings, the Autoattendant just picks up right away..
Any clue on how to make it ring twice before getting picked up? I tried
immedate=no and
2006 Aug 02
1
read.spss and umlaut
Hello
When I read a SPSS *.por file with read.spss everything after a umlaut is
missing:
> library("foreign")
> spssdaten <- read.spss("projets.por")
> attr(spssdaten$PROJETX, "value.labels")[1:20]
Bg Stammzellenforschung Bb
863 862
Bb
2004 Jun 17
1
access to subdirs of share only
Hi,
I've upgraded from 2.2.8a-SuSE PDC to 3.04-SuSE. OS is Linux 2.6, SuSE 9.1
Prof.
All users can logon correctly on all W2K domain clients and obtain their
roaming profiles. Now particular W2K SP 4 domain client cannot access to
the top-level of a share, WinExplorer says "Access denied". If the client
connects to a subdir of the same share as a new drive all works fine, same
2005 Jan 18
1
Re: * compatible with Pulse dialing phones ?
On Tue, 2005-01-18 at 09:49 -0600, asterisk-dev-request@lists.digium.com
wrote:
>
> Hi,
>
> I am Arnaud F?vrier, I teach in a technical university in Marseille.
>
> I'd like to know if is is possible to connect a very old phone to
> asterisk and dial pulses with it?
>
> Are digium cards pulse dial compatible?
>
> Is there any specific configuration
2006 May 15
2
Asterisk X100P - Interrupt a call?
So, We want to be able to put a fax machine on the line port of the
X100P in our asterisk server. We however also want to use this card for
911 calling. We need some sort of mechanisim to "disable" the line out
port on the x100p by software to "interrupt a call" on the line.
Anyone done anything like this?
2006 May 26
2
large duration calls
Hello mates, im having calls of about 120 o 130 minutes in my accounting DB
but these are calls not made by users.
I guess my asterisk is not catching some BYE requests and after some timeout
it hangs up the call.
Is this issue known? Is there a way to trace this problem?
Im using Asterisk 1.0.10 on a i686 linux and mysql for the accounting. I
have this problem with different protocols, like SIP
2007 Sep 27
5
QueryParser.parse question
Hi there,
I am stomped as to why QueryParser''s parse method behaves differently
between query ''a'' and ''b''.
See http://pastie.caboo.se/private/4rlwrecyyow3yl6qtf4tq
Could someone please help me understand why that is the case.
p.s. I also found ''i'' produce the same behavour as ''a''
Cheers,
Andy
2006 May 26
4
End of migration: adding support for some analog phones
Hi,
during gradual migration to Asterisk, I put Asterisk in front of a legacy
Alcatel PBX:
PRI PSTN <--> Asterisk <--> E1 cable <--> Alcatel PBX
After successful deployment of VoIP phones, it's time to drop Alcatel PBX!
I'd like to keep some of analog lines to support modem, fax and some older
stuff. What's the best choice? A channel bank or a TDM2400P card?
Can I
2006 Sep 15
0
R: Grouping columns in a data frame based on the values of a column
Perhaps using 'ave' and 'cut':
df <- data.frame(x=runif(100, 0.1, 1), y=rnorm(100, 0.2, 0.6))
df$xcut<-cut(df$x, seq(0, 1, 0.1))
df$z<-ave(df$y, df$xcut)
df[order(df$x),]
Stefano
-----Messaggio originale-----
Da: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di
e.rapsomaniki at mail.cryst.bbk.ac.uk
Inviato: venerd? 15
2008 Apr 13
27
[Bug 15481] New: Nouveau on nVidia Corporation G71 [GeForce 7950 GT]: works but lockup for 6 min at shutdown
http://bugs.freedesktop.org/show_bug.cgi?id=15481
Summary: Nouveau on nVidia Corporation G71 [GeForce 7950 GT]:
works but lockup for 6 min at shutdown
Product: xorg
Version: 7.3
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: high
Component:
2013 Jan 25
1
Recoding variables (without recode() )
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130125/859c4520/attachment.pl>
2010 Apr 07
2
recoding variables-recode not working
Hi,
I have numerical variable that I want to recode into categories '0' and '1
and more' and do analysis with that data.
I have tried various of possibilities to do so, but I am sucked and nothing
is working.
recode(Q12, "0='A';1:30='B'")
cut(Q12, breaks=c(0,1,30), lables=c('0', '1 and more'))
cat(Q12, "0=0;1-33=1")
What should