Displaying 2 results from an estimated 2 matches for "p1p3".
Did you mean:
p133
2012 Jun 29
5
assign object with loop (translation from SAS to R)
I have a dataset named DM with p1, p2, ...., p9 (9 columns, numerical values)
I would like to calculate to multify each pair of columns (p1p2, p1p3,...
p1p9, p2p3, p2p4.... p8p9) and assign them in p1p2, p1p3,... p1p9, p2p3,
p2p4.... p8p9
In SAS,
l=0;
p_int_sum=0;
do i=1 to 8;
do j=(i+1) to 9;
l=l+1;
p{i}p{j}=p{i}*p{j};
end;
end;
I would like to know how to assign them in R
I tried for function but failed.
for (i in 1:8) {
for (j in 2...
2013 Mar 18
1
CentOS 6.4 kickstart bonding
...ay=60000
# Cluster network, not created on install
network --device=bond1 --noipv6 --nodns --nodefroute --bootproto=static --onboot=yes --ip=192.168.2.2 --netmask=255.255.255.0 --bondslaves=em1,em2 --bondopts=mode=active-backup,primary=em1,miimon=80,updelay=60000
# ISCSI network
network --device=p1p3 --noipv6 --nodns --nodefroute --bootproto=static --onboot=yes --mtu=9000 --ip=192.168.3.1 --netmask=255.255.255.0
network --device=p1p4 --noipv6 --nodns --nodefroute --bootproto=static --onboot=yes --mtu=9000 --ip=192.168.3.2 --netmask=255.255.255.0
# bond slave
network --device=em1 --noipv6 --nod...