Displaying 2 results from an estimated 2 matches for "amaonline".
Did you mean:
amandine
2006 Nov 13
1
Question on applying vectors to data.frames by row
# Newbie alert
# I am wanting to multiply the rows in a dataframe by a vector.
# However, the default behavior appears to be for the vector to be applied
# column wise. For example:
vct <- 1:4
df <- data.frame(c1 = 5:10, c2= 6:11, c3=7:12, c4=8:13)
multTheTwo <- vct * df
multTheTwo
# This results in the vector getting cycled columnwise
# c1 c2 c3 c4
# 1 5 18 7 24
# 2 12 28 16 36
# 3
2003 Dec 01
0
No subject
...ohnl@blurbco.com>
Delivered-To: samba@lists.samba.org
Received: from blurbco.com (mail.energynet.com [207.18.68.225]) by
lists.samba.org (Postfix) with ESMTP id 7F27F52B2 for
<samba@lists.samba.org>; Fri, 22 Jun 2001 16:27:54 -0700 (PDT)
Received: from john (amawireless.pull.dhcp-39-96.amaonline.com
[63.119.39.96]) (authenticated) by blurbco.com (8.11.1/8.11.1) with
ESMTP id f5MNifh24418 for <samba@lists.samba.org>; Fri, 22 Jun 2001
18:44:41 -0500
Message-ID: <003701c0fb73$ad846640$6700a8c0@john>
From: "John Laur" <johnl@blurbco.com>
To: <samba@lists.sa...