Displaying 18 results from an estimated 18 matches for "1_1".
Did you mean:
11
2008 Dec 28
3
php's __call for ruby? or better approach?
...d
out, that I can set value by specifying an object and a method. Pretty
cool for static tables, but this is kinda more dynamic. I have loops
to generate a table, and each lesson should have a select box.
--------
So I created a new class, called timetable, and I would like to create
methods like 1_1, 1_1=, 1_2, 1_2= - getters and setters for each
lesson of each day.
By the way, the timetable has a result set from active record as a
private variable, and I turned it into hash, so that I could access it
by @subject_lessons[''1_1''] etc.
In PHP, there''s a __call method,...
2011 Apr 12
2
split string into individual valus while reading in R
Dear R experts
Sorry for posting:
I have text file that I need to read into R (this is out from different
program). A portion of data look like:
;example data
1_1 ch1 0.0
HAAAHHAAAHHAAAAAHHAHHAHAHHHAAHHAHAAAAHAAAHHAHHAAHAHHAAAAHAAAHHHAAAHHAHHHAAAHHHHAHHAAHAAAAHAHHHHHAAAHAHHAHHHHAHHHHHHHHHAAHAAHHHAHAAAAAHHHHHHAHHHHHAHHHH
1_2 ch1 0.1
HAAAHHAAAHHAAAAAHHAHHAHAHHHAAHHAHAAAAHAAAHHAHHAAHAHHAAAAHAAAHHHAAAHHAHHHAAAHHHHAHHAAHAAAAHAHHHHHAAAHAHHAHHHHAHHHHHHHHHAAHAAHHHAH...
2012 Aug 17
2
How can we compare corresponding values of x and y (first value of x exacly matches with the first value of y)?
df <- data.frame (
"RowId" = 4:7,
"x"=c("1_1", "2_2", "3_3", "3_3"),
"y"=c("1_1", "3_3", "2_2", "3_3")
)
How can we compare corresponding values of x and y (first value of x exacly matches with the first value of y)?
If they wer...
2007 Apr 04
2
selection of character
Hi all,
I have a simple question:
I have a character vector like this
[1] "10_1" "1_1" "11_1" "2_1" "3_1" "4_1" "5_1" "6_1" "7_1" "8_1"
[11] "9_1" "1_3" "2_3" "3_3" "4_3" "1_4" "2_4" "3_4" "4_4"...
2013 Sep 25
1
Computing calculation among two vectors
...- c("*","/","-","+")
res<-sapply(y,function(i) {x1<-expand.grid(x,x); unlist(lapply(paste0(x1[,1],i,x1[,2]),function(u) eval(parse(text=u))))})
row.names(res)<- as.character(interaction(expand.grid(x,x),sep="_"))
head(res)
#??? *?? /? - +
#1_1 1 1.0? 0 2
#2_1 2 2.0? 1 3
#3_1 3 3.0? 2 4
#4_1 4 4.0? 3 5
#1_2 2 0.5 -1 3
#2_2 4 1.0? 0 4
A.K.
I have two vectors one numeric and another with operand.
Eg: x - 1,2,3,4 and y-"*", "/", "-", "+"
I need to calculate all the possible two combinations in...
2008 Jan 15
1
help with reshaping data into long format (correct question)
...following data set
id 1 2 3 4 5 6 7 8 9 10
disease a b c d e f g h i j
age 23 40 32 34 25 32 22 35 29 21
city NY LD NY SG NY LD VG SA LD SG
sex 1 1 2 2 2 2 1 1 1 2
treat_a y y y y
treat_b n n n n n n
ques1_1 2 4 5 6 8 3 1 2 4 5
ques1_2 6 4 5 12 10 9 8 4 5 7
ques1_3 17 23 32 25 14 24 23 22 32 29
ques2_1 4 7 9 10 6 8 5 7 8 9
ques2_2 8 9 10 12 17 19 14 21 22 19
ques2_3 23 18 19 20 23 24 26 28 29 22
ques3_1 5 7 9 1 4 7 9 8 10 5
ques3_2 34 35 32 23 31 29 27 25 32...
2008 Jan 15
0
Help with reshape data into long format
...following data set
id 1 2 3 4 5 6 7 8 9 10
disease a b c d e f g h i j
age 23 40 32 34 25 32 22 35 29 21
city NY LD NY SG NY LD VG SA LD SG
sex 1 1 2 2 2 2 1 1 1 2
treat_a y y y y
treat_b n n n n n n
ques1_1 2 4 5 6 8 3 1 2 4 5
ques1_2 6 4 5 12 10 9 8 4 5 7
ques1_3 17 23 32 25 14 24 23 22 32 29
ques2_1 4 7 9 10 6 8 5 7 8 9
ques2_2 8 9 10 12 17 19 14 21 22 19
ques2_3 23 18 19 20 23 24 26 28 29 22
ques3_1 5 7 9 1 4 7 9 8 10 5
ques3_2 34 35 32 23 31 29 27 25 32...
2014 Oct 27
2
como pasar de data.frame -> cast -> data.frame
...1 c 0.0021092822
5 con 0 2 1 16 0 s 0.6005446999
6 con 0 2 1 18 0 s 0.3394979487
2. A partir del df y usando la funcion "cast" obtengo unas tablas como
las que siguen:
cast(datEnd[datEnd$dia%in%c(1,5),], sol ~ dia + con, fun.aggregate=length)
sol 1_0 1_1 1_2 1_3 1_4 1_5 5_0 5_1 5_2 5_3 5_4 5_5
1 con 10 0 0 0 0 0 11 0 0 0 0 0
2 dec 0 6 6 6 8 6 0 9 11 13 14 17
3 dol 0 8 6 10 9 10 0 17 16 17 19 19
4 lim 0 10 6 7 6 16 0 11 9 13 10 9
en la primera fila de...
2014 Oct 27
2
como pasar de data.frame -> cast -> data.frame
...2 1 18 0 s 0.3394979487
>
>
>
> 2. A partir del df y usando la funcion "cast" obtengo unas tablas como
> las que siguen:
>
> cast(datEnd[datEnd$dia%in%c(1,5),], sol ~ dia + con,
> fun.aggregate=length)
>
> sol 1_0 1_1 1_2 1_3 1_4 1_5 5_0 5_1 5_2 5_3 5_4 5_5
> 1 con 10 0 0 0 0 0 11 0 0 0 0 0
> 2 dec 0 6 6 6 8 6 0 9 11 13 14 17
> 3 dol 0 8 6 10 9 10 0 17 16 17 19 19
> 4 lim 0 10...
2001 Jul 24
2
Help /red hat 7.1 Wine
I am daniel, and i am use linux red hat 7.1.
Can someone help me get the wine program for me.
And can you help me install it.
2001 Oct 23
3
Did I read correctly?
Is it possible to run MS Word on a LInux box without Windows installed?
If so, would someone be willing to help me get it running?
I would like to use MS Word ver 7, but want nothing to do with Windoze.
Word Perfect 8 for Linux can get testy at times.
cedric
2010 Jun 21
1
doveadm search: Error: Syncing mailbox foo failed: Mailbox doesn't exist: foo
...ecurity"
* LIST (\HasChildren) "/" "INBOX/Lists/Dovecot"
* LIST (\HasChildren) "/" "INBOX/Lists/Dovecot/CVS"
* LIST (\HasNoChildren) "/" "INBOX/Lists/Dovecot/CVS/2_0"
* LIST (\HasNoChildren) "/" "INBOX/Lists/Dovecot/CVS/1_1"
* LIST (\HasNoChildren) "/" "INBOX/Lists/Dovecot/CVS/1_2"
* LIST (\Noselect \HasChildren) "/" "INBOX/Lists/Dovecot/Pigeonhole"
* LIST (\HasNoChildren) "/" "INBOX/Lists/Dovecot/Pigeonhole/2_0"
* LIST (\HasNoChildren) "/" &qu...
2014 Oct 28
2
como pasar de data.frame -> cast -> data.frame
...>
>>
>>
>> 2. A partir del df y usando la funcion "cast" obtengo unas tablas como
>> las que siguen:
>>
>> cast(datEnd[datEnd$dia%in%c(1,5),], sol ~ dia + con,
>> fun.aggregate=length)
>>
>> sol 1_0 1_1 1_2 1_3 1_4 1_5 5_0 5_1 5_2 5_3 5_4 5_5
>> 1 con 10 0 0 0 0 0 11 0 0 0 0 0
>> 2 dec 0 6 6 6 8 6 0 9 11 13 14 17
>> 3 dol 0 8 6 10 9 10 0 17 16 17 19 19
>>...
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
Hi,
I''ve just been having a look at the scriptaculous drag-n-drop library, which
looks exceedingly good. I''m running across a show-stopper here, though -
something that''s cropping up in both the online demos and my own test scripts. If
I set up two lists so that I can drag items between them, then if either list
becomes empty, I can''t drag elements back into
2014 Apr 23
2
Trunk issue
...f
To: <sip:913145152244 at 192.168.175.135>
Via: SIP/2.0/UDP 192.168.122.57:5060;branch=z9hG4bK6add1632
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP:192.168.175.135:5060 --->
INVITE sip:913145152244 at devjones.com SIP/2.0
P-AV-Message-Id: 1_1
Route: <sip:192.168.122.57;lr;phase=terminating>
Supported: replaces, timer
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Date: Wed, 23 Apr 2014 13:20:59 GMT
Contact: <sip:3145152000 at 192.168.122.57:5060;gsid=d13ae820-caef-11e3-9b9c-6c3be5a59e68>
Vi...
2012 Mar 09
1
Multiple Correspondence Analysis
You should send this to r-help@stat.math.ethz.ch.
On 03/09/2012 09:21 AM, Andrea Sica wrote:
> Hello everybody, I'm looking for someone who is able with MCA and
> would like to gives some help.
>
> If what I'm doing is not wrong, according to the purpose I have, I
> need to understand how to create a dependence matrix, where I can
> analyze the
> dependence between
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of
nouveau_hw_save_vga_fonts, when it actually did something (because
the console wasn't already in graphics mode).
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS
implementation.
I've tried to test it on all the hardware I've got at hand (that is
nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output
combination; I believe it has reached a mergeable state, however it
depends on some commits from drm-next that haven't got into Linus'
tree yet, if you agree to merge this