Displaying 20 results from an estimated 1100 matches similar to: "using tapply with a matrix?"
2003 Mar 31
4
Convert char vector to numeric table
I'm a great fan of read.table(), but this time the data had a lot of cruft. So I used readLines() and editted the char vector to eventually get something like this:
" 23.4 1.5 4.2"
" 19.1 2.2 4.1"
and so on. To get that into a 3 col numeric table, I first just used:
writeLines(data,"tempfile")
2003 May 15
1
Manly's randomization analysis of multiple regression
My wife has been using a diagnostic from Manley (1991; "Randomization and MonteCarlo Methods in Biology") that compares a normal multiple regression's performance with that using random predicted variables.
Is there something like this already available in R?
If not, the "boot" package looks like a good place to start looking for methods, no?
Thanks in advance
Bruce
2003 Aug 09
1
lm(), na.exclude and predict()
I'm trying to get predict.lm() to return an NA for each NA row in it's input vector, so the output is the same length as the input.
I thought that using na.action=na.exclude with lm() would do that. But apparently not ??
df <- data.frame(x=c(NA,1,2,3,NA),y=c(0,2,3,4,0))
tl <- lm(y~x,df,na.action=na.exclude)
predict.lm(tl,data.frame(x=c(2.5,NA,3,4,5)))
1 3 4 5
3.5 4.0 5.0
2014 Feb 13
2
Samba3 LDAP open ldap as backend
Hi,
I have setup samba 3.6.6 witch openldap (rfc2307bis schema).
My problem is that samba do not recognise groups members from member
attribure.
when I setup members into memberuid atribute all works corect.
how can I instruct samba to use member atribute?
--
Alexandr Seidl
2008 Jul 05
3
getting and writing atrr with prototype
Hi i''m learning prototype and i need to know something...
Someone knows how to write and get the value of some atribute... i
mean like...jquery that uses $(''#sub-div'').atrr(''alt'',''visible);
in prototype is there something like that?...
I hope you can help me and thanks :D
--~--~---------~--~----~------------~-------~--~----~
You received
2006 Jun 01
4
What i do if i have a table with a column named "type"?
Hi everybody!
The class ActiveRecord::Base have a atribute named type and if my
table have a column with the same name i get an error if i use
model.finde, model.save and more...
I dont know what i can do to solve this problem!
Someone know?
Thanks
--
_________
Noel R. Morais
2006 Sep 26
2
Sort problem with merge (again)
# R version 2.3.1 (2006-06-01) Debian Linux "testing"
# Is the following behaviour a bug, feature or just a lack of
# understanding on my part? I see that this was discussed here
# last March with no apparent resolution.
d <- as.factor(c("1970-04-04","1970-08-11","1970-10-18"))
x <- c(9,10,11)
ch <- data.frame(Date=d,X=x)
d <-
2006 Jan 20
11
HABTM relations
Hi,
I have 3 tables with HABTM relation.
USERS -> QUOTE_TO_USER <- QUOTES
Table QUOTE_TO_USER has 3 attributes: quote_id, user_id, component.
I have a form where I can tie multiple users to QUOTE. This is easy one,
thru "user_ids" (@quote[:user_ids] = @params[:quote][:user_ids]).
In this form I have all users and I just check those I want to tie to
this quote, however
2008 Jan 02
1
Trying to build the maildir path
I use ldap because is where are store the users and his make place
the authentication .
In my LDAP I have a attribute mail.
like this = mail: pepe at casa.com
I Have more that one domain
This atribute return to me something like : pepe at casa.com where i use
tu build the path to maildir, using %d and %n variables .
/var/spool/vmail/%d/%n = /var/spool/vmail/casa.com/pepe
this work
2017 Oct 30
1
LDAP authentication and shadowExpire
Hi,
I am trying to configure Dovecot (2.2.27) with LDAP passdb,
specifically with authentication binds
(https://wiki.dovecot.org/AuthDatabase/LDAP/AuthBinds).
Atribute shadowExpire has a unix time stamp value. Is there a way to
write pass_filter like shadowExpire<ToDay?
Or maybe there is better way to implement password expiration in Dovecot?
--
Pagarbiai
Mantas Gegu?is
VU
2002 Nov 14
1
No raoming profiles
Hi,
I've installed samba 2.2.6 as PDC+LDAP, so far everything is fine,
but I do not want users to have raoming profiles so every user atribute
'profilePath' I set to '' (empty string).
Is it enough or I need to do something else?
Thanks,
Saulius
2005 Aug 19
2
data validation
I''m trying validate date before they''re stored into the DB, but it seems,
validation doesn''t work..
my model looks like this:
class Company < ActiveRecord::Base
has_many :contacts,
:foreign_key =>''company_id''
has_and_belongs_to_many :categories, :join_table => ''company_to_category'',
:foreign_key =>
2014 Jul 17
2
[lm-sensors] hwmon: question about the sysfs interface
Hi Guenter,
> For automatic fan control we don't really have a well defined ABI.
> Part of the problem is that the mechanisms used by various chips are
> quite different.
>
> Please have a look into Documentation/hwmon/nct6775. It is by far
> the driver with the most comprehensive fan control mechanisms and
> attributes. Would any of the attributes or atribute groups in
2019 Feb 14
4
C7 basic install, HATE
I've got an old server, that I'm *trying* to rebuild from C6. Our regular
key, with the kickstarts, etc, simply won't boot. Just a blank screen, and
it never goes anywhere.
So I'm trying to build it from a year-old regular installer.
100% of the time, the graphical screen is screwed. Resolution's so big
that I cannot see the right-hand 10% or 15% of the screen. There
2003 May 08
2
Problex with Matrox G450 and XFree86 4.3.0 on 4.8-STABLE
Hi All
I have just finished a re-install of a box that was previously working fine
under 4.7.
The problem is that the matrox drm kernel module is failinf to initialise
correctly.
:from the dmesg:
FreeBSD 4.8-STABLE #0: Thu May 8 11:41:26 SAST 2003
root@shagrat.prv.moria.org:/usr/src/sys/compile/SHAGRAT48
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel Pentium III
2013 Aug 20
2
Triple- or Quad-display single-card graphics solutions
So, after some discussion of our new control workstations, we are iterating in on a solution; we are looking at a 1U short-depth SuperMicro SuperServer 5017R-MF with a graphics card in the PCI-Ex16 expansion slot. However, the display requirements have increased to 3 or more monitors for future expansion, so I was wondering whether anyone had any experience with triple- or quad-display single card
2019 Feb 15
3
C7 basic install, HATE
Stephen John Smoogen wrote:
> On Thu, 14 Feb 2019 at 15:48, mark <m.roth at 5-cent.us> wrote:
>>
>> I've got an old server, that I'm *trying* to rebuild from C6. Our
>> regular key, with the kickstarts, etc, simply won't boot. Just a blank
>> screen, and it never goes anywhere.
>>
>> So I'm trying to build it from a year-old regular
2005 Dec 13
2
matrox rt.x100
Hi,
I got a Matrox RT.X100 Pro capture card to make a live video streaming
with it. The concert to be streamed will be on Saturday...
I have a Linux-based server running Icecast 2.3, so I need to make this
computer with the Matrox card to work with the Icecast server. I'd
prefer Ogg Theora.
Unfortunately there's no Linux support for this card, so the only choice
I have is Windows XP.
2005 Mar 02
3
behind a router
i've finally managed to stream in my network with icecast and muse. in the
iceast.xml config file i had to specify 192.168.2.5 as my bind-address, my ip
in my internal network (i'm behind a router) and from other computers in this
network i could hear my streaming. but i would like to stream even out of my
network. so i redirected port 8000 of the router to my internal ip, tried to
2017 Sep 13
17
[PATCH 01/10] arch:powerpc: return -ENOMEM on failed allocation
Signed-off-by: Allen Pais <allen.lkml at gmail.com>
---
arch/powerpc/platforms/cell/spider-pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/cell/spider-pci.c b/arch/powerpc/platforms/cell/spider-pci.c
index d1e61e2..82aa3f7 100644
--- a/arch/powerpc/platforms/cell/spider-pci.c
+++ b/arch/powerpc/platforms/cell/spider-pci.c
@@ -106,7 +106,7