Displaying 20 results from an estimated 6000 matches similar to: "Converting column of strings to boolean"
2011 May 23
6
How do I assign boolean (o,1) values to a column?
Hi everybody!!
I'm trying to assign boolean values to a column in a matrix depending on the
number of times present in another column. I have no clue, I have been 2
days looking for a way, if somebody knows what kind of functions I need to
use I will really apreciate it.
example:
Color Type Mark1 Mark2 Mark3
Red high 139 P alpha
blue low 140 P alpha
Green high
2004 Jun 20
1
Fw: Evaluating strings as variables
----- Original Message -----
From: Robin Gruna
To: R-help@lists.R-project.org
Sent: Sunday, June 20, 2004 5:42 PM
Subject: Evaluating strings as variables
Hello,
I have the following problem: I have a list as follows,
> values <- list(red = 1, yellow = 2, blue = 3)
> values
$red
[1] 1
$yellow
[1] 2
$blue
[1] 3
There is also a vector containing the diffrent "colors" as
2005 Aug 02
2
Channel Bank Help Please....
Hello -
I have a Premisys Slimline Channel Bank connected to a Digium TE110P. I
am not able to call the FXS extensions or get dialtone on them. The
channel bank is connected via a T1 crossover to the cable and lights
show green. I really need to get this functioning by end of day. If
anyone can help me out I would be greatly appreciative.
Thanks,
Dave
zaptel.conf
loadzone =
2002 May 15
3
Struchture change of a data frame
Hi guys
I've got an easy question but couldn't find any quick solution. I woulk
like to change the following matrix
good bad worse
Blue 1 2 2
Yellow 2 1 3
Black 3 4 4
Into the following structure
good 1 Blue
Bad 2 Blue
Worse 2 Blue
Good 2 Yellow
Bad 1 Yellow
Worse 2 Yellow
Good 2 Black
Bad 4 Black
Worse 4 Black
Thanks a lot.
Regards
Beat Huggler
---
Beat Huggler
Quantitative
2005 Oct 12
1
Problem with PRI and Ericsson AXE 10
Hi everyone,
I have a PRI conection on an * system running Asterisk 1.0.9, libpri 1.0.9 and zaptel 1.0.9.2 connected to an AXE 10 (APZ 21220 System 64) in the network side. I know the system and the wildcard I´m using are ok because I´ve used them before with other PRI connections (to a Siemens EWSD) without any problem.
First the PRI didn´t work (I got the TE110P alarmed with red). After
2012 Jan 04
6
Combining characters
Hi all,
I'm trying to combine exhaustively several character arrays in R like:
x=c("one","two","three")
y=c("yellow","blue","green")
z=c("apple","cheese")
in order to get concatenation of
x[1] y[1] z[1] ("one yellow apple")
x[1] y[1] z[2] ("one yellow cheese")
x[1] y[2] z[1]("one blue
2011 Feb 05
11
Callback through extensions.conf?
Hello
I'd like to configure Asterisk so that...
1. I ring it from my cellphone with CID number displayed, just to
notify Asterisk that I wish to make a call
2. Asterisk waits until I hang up, calls me back, and prompts me for
the number I wish to call
3. Asterisk puts me on hold through Flash(), which is apparently the
equivalent of hitting the R key on European handsets
4. Asterisk calls the
2008 Jun 06
4
color scale mapped to B/W
In an R graphic, I'm using
cond.col <- c("green", "yellow", "red")
to represent a quantitative variable, where green means 'OK', yellow
represents 'warning'
and red represents 'danger'. Using these particular color names, in B/W,
red is darkest
and yellow is lightest. I'd like to find color designations to replace
yellow and
2006 Mar 27
5
Alarm on Unicall
Hi all,
any body can tell me why i am receiving this message in my sever ?
I have running * with 10 Digital Lines, but i am receiving a lot of times
this message .
Is a software issue or is a hardware issue ?
Regards.
Mar 27 12:58:24 WARNING[2586]: chan_unicall.c:2672 handle_uc_event:
Unicall/5 event Alarm
Mar 27 12:58:24 WARNING[2586]: chan_unicall.c:3091 handle_uc_event:
Unicall/5 Alarm masks
2006 Feb 23
1
Explain Yellow Alarm in a Legacy Integration
How would you categorize a Yellow Alarm sensed by the Asterisk side in a
Legacy PBX integration?
We have a Mitel SX200 connected to an Asterisk(1.2.4) with a TE110P.
Twice today (first time in over a month) we received a Yellow Alarm on the
TE110P. I have been able to clear it easily by restarting zaptel.
Thanks in advance!
-------------- next part --------------
An HTML attachment was
2009 Apr 04
2
axis colours
Hi,
Is there a way to use par to change the colours of the axes lines (not the
labels)? I've done this:
par(bg = "black")
plot(x, y, col = "yellow", pch = 16)
but I have to use
axes = F within the plot command, and then use
axis (1, col = "yellow")
axis (2, col = "yellow")
and so on for axes 3 & 4.
This does not help since the new axes are not
2012 Oct 06
9
I offer a reward of USD$50 + VGA card Giveaway to anyone who can solve my Xen VGA Passthrough Problem
_History_
I have 100% success in Xen VGA Passthrough with Xen 3.5-unstable with my
first Palit NVIDIA Geforce 8400 GS VGA card in 2009, which is 3 years
ago. Then my first Palit NVIDIA Geforce 8400 GS VGA card overheated and
malfunctioned. So I bought a 2nd Palit NVIDIA Geforce 8400 GS VGA card
several months ago in March 2012 for S$44, to replace the first card. At
that point in time, Xen
2012 Oct 06
9
I offer a reward of USD$50 + VGA card Giveaway to anyone who can solve my Xen VGA Passthrough Problem
_History_
I have 100% success in Xen VGA Passthrough with Xen 3.5-unstable with my
first Palit NVIDIA Geforce 8400 GS VGA card in 2009, which is 3 years
ago. Then my first Palit NVIDIA Geforce 8400 GS VGA card overheated and
malfunctioned. So I bought a 2nd Palit NVIDIA Geforce 8400 GS VGA card
several months ago in March 2012 for S$44, to replace the first card. At
that point in time, Xen
2007 Jul 06
5
Clustering nested data
Hi all,
I am interested in performing a cluster analysis on ecological data from
forests in Pennsylvania. I would like to develop definitions for forest
types (red maple forests, upland oak forests, etc.(AH AR in attached table))
based on measured attributes in each forest type. To do this, I would like
to 'draw clusters' around forest types based on information from various
tree
2009 May 29
3
IP-Address
Hi,
Is there any way to sort a tabel with a colum with IP-address?
table:
id rank color status ip
138 29746 yellow no 162.131.58.26
138 29746 red yes 162.131.58.16
138 29746 blue yes 162.131.58.10
138 29746 red no 162.131.58.17
138 29746 yellow no 162.131.58.14
138 29746 red no 162.131.58.13
138 29746 yellow no 162.132.58.15
139 29746 green no 162.252.20.69
140 29746 red yes
2012 Feb 07
5
Table rearranging
I have a table that looks like this:
measurement?? ?date??? door ?? color
0.93529385?? ?513?? ?open?? ?red
0.97419293?? ?420??? open ?? red
0.962053514?? ?513?? ?closed?? ?red
0.963909937?? ?1230?? ?open?? ?blue
0.97652034?? ?1230?? ?open?? ?green
0.989310795?? ?1230?? ?closed?? ?blue
0.9941022?? ?917?? ?closed?? ?yellow
I would like to create a table that has: Open measurement, Closed
2004 Mar 24
5
colors, lines, characters .... documentation
Hi,
Very so often when i am plotting something, doing a histogram, or
whatever i am struggling to find out which are the numbers for
different colors, palette names, types of lines, symbols, etc. Is
there any documentation on line with all these numbers / names
and the associated symbol / color???
For example if i am using the command image it uses a palette
from red to yellow, with red the
2007 Sep 11
6
xyplot question
I have the code below and it works fine if I print the xyplot but if I
take the print out, then I just get a blank
pdf. The same holds if I just send the plot to the console without the
print ( I get nothing ). My question is whether this is always
the case with xyplot or is there something wrong with my settings ? I am
on linux ( redhat ) and using R.2.5.0. Thanks.
load("stocks.dat")
2002 Dec 08
1
color of plot axes involving POSIX types
I am attempting to plot frequency of occurrence against (calendar) time. As
the output is to be produced as a Powerpoint picture on a dark background I
wish to make the plot output yellow
> par(col="yellow", col.axis="yellow", col.lab="yellow", col.main="yellow")
> plot(t2, t1, ylim=c(0,40), main="Episynlestes run 2",
2018 Apr 06
1
Fast tau-estimator line does not appear on the plot
R-experts,
I have fitted many different lines. The fast-tau estimator (yellow line) seems strange to me?because this yellow line is not at all in agreement with the other lines (reverse slope, I mean the yellow line has a positive slope and the other ones have negative slope).
Is there something wrong in my R code ? Is it because the Y variable is 1 vector and should be a matrix ?
Here is the