Displaying 20 results from an estimated 149 matches for "_n_".
Did you mean:
__
2009 Feb 25
4
Have a function like the "_n_" in R ? (Automatic count function )
Have the counter function in R ?
if we use the software SAS
/*** SAS Code **************************/
data tmp(drop= i);
retain seed x 0;
do i = 1 to 5;
call ranuni(seed,x);
output;
end;
run;
data new;
counter=_n_; ***** this keyword _n_ ****;
set tmp;
run;
/*
_n_ (Automatic variables)
are created automatically by the DATA step or by DATA step statements.
*/
/*** Output ********************************
counter seed x
1 584043288 0.27197
2 935902963 0.43581
3 301879523...
2007 Jan 21
1
sequential processing
...R but old to SAS.
Am I correct in understanding that R processes a data frame in a
sequential ly? This would imply that large input files could be
read, without the need to load the entire file into memory.
Related to the manner of reading a frame, I have been looking for the
equivalent of SAS _n_ (I realize that I can use a variant of which to
identify an index value) as well as useful SAS features such as
first., last., retain, etc. Any help with this conversion appreciated.
Thanks,
Gerard Smits
2009 Oct 03
3
How to deal with this :" object ' obs' not found.
Hi guys,
I need your help.
I'm trying to sort the data by the variable "obs".
This is how I tried to sort the data below.
The problem is, I have a variable name "obs"; this is.. a counter variable.
something like _n_ in SAS.
I do not know why it is not working.
I even tried a similar example in UCLA webpage:
http://www.ats.ucla.edu/stat/R/faq/sort.htm :it also does not seem to work.
"*sort1.hsb2 <- hsb2[order(read) , ]"*
Do you have any idea how to deal with this problem?? Thank you so much.
-Hyo...
2014 Apr 09
1
[PATCH] Suppress MSVS warnings for lpc.c
When compiling lpc.c for x86-64 architecture MSVS issues warnings:
warning C4028: formal parameter _N_ different from declaration
because of flac_restrict modifier. This patch suppresses these warnings.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lpc-msvs-warnings.patch
Type: application/octet-stream
Size: 1025 bytes
Desc: not available
Url : http://lists.xip...
2011 Jul 20
2
polymorphic assoc seems only best for multiple parents ?
I have done a little polymorphic associations stuff and have
refreshed my memory on it again.
What it seems like is that if I have a particular record and I want to
make it easy for many different parent records to associate with it
using has_one or has_many, that is fine.
If I want a parent record to have multiple kinds of children through
one association, I don''t see how to do that
2006 Dec 01
0
[766] trunk/wxruby2: Added item_data aliases for client_data functions, update doc & tests;
...ted with it (but other items do).
</del><ins>+Returns the number of items in the control.
</ins><span class="cx">
</span><del>-h4. Parameters
</del><ins>+h4. See also
</ins><span class="cx">
</span><del>-* _n_ The zero-based position of the item.
</del><ins>+"is_empty":#ControlWithItems_isempty
</ins><span class="cx">
</span><del>-h4. Return value
</del><ins>+h3(#ControlWithItems_getitemdata). ControlWithItems#get_item_data
</ins>...
2000 Jun 21
3
SAS dataset
Hello,
Is there any way we convert SAS dataset into R dataset?
Kindest Regards,
Peppy Adi-Purnomo
------
Peppy Adi-Purnomo
Energy Market Analyst
Energy Link Ltd
Dunedin - New Zealand
Ph.: +64 3 479 2475
Fax: +64 3 477 8424
Email: s.adi.purnomo at energylink.co.nz
www.EnergyLink.co.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Oct 23
1
Re: ichar() function in R : 1st implementation, RFC
...ext part --------------
### This was digits.v() in library(sfsmisc):
### --> get it's help() file /u/maechler/R/Pkgs/sfsmisc/man/digits.Rd
digitsBase <- function(x, base = 2, ndigits = 1 + floor(log(max(x),base)))
{
## Purpose: Give the vector A of the base-_base_ representation of _n_:
## ------- n = sum_{k=0}^M A_{M-k} base ^ k , where M = length(a) - 1
## Value: MATRIX M where M[,i] corresponds to x[i]
## c( result ) then contains the blocks in proper order ..
## Author: Martin Maechler, Date: Wed Dec 4 14:10:27 1991
## --------------------------...
2023 Oct 18
3
[Bridge] [PATCH iproute2-next v5] iplink: bridge: Add support for bridge FDB learning limits
..._max_learned: A 32-bit unsigned integer specifying the maximum
number of learned FDB entries, with 0 disabling
the limit.
Also support reading back the current number of learned FDB entries in
the bridge by this count. The returned value's name is:
- fdb_n_learned: A 32-bit unsigned integer specifying the current number
of learned FDB entries.
Example:
# ip -d -j -p link show br0
[ {
...
"linkinfo": {
"info_kind": "bridge",
"info_data": {
...
&...
2006 Nov 21
0
[746] trunk/wxruby2/doc/textile/listbox.txtl: Correct ruby method signature for methods that accept an array of strings
...@@
</span><span class="cx"> * _pos_ Window position.
</span><span class="cx"> * _size_ Window size. If the default size (-1, -1) is specified then the window is sized
</span><span class="cx"> appropriately.
</span><del>-* _n_ Number of strings with which to initialise the control.
</del><span class="cx"> * _choices_ An array of strings with which to initialise the control.
</span><span class="cx"> * _style_ Window style. See "ListBox":listbox.html.
</span><s...
2009 Apr 22
1
Count Code
Hi there,
I am interested in converting SAS code to R & I wondered if anyone had
any quick R code/tips for the following piece of test SAS code?
Any feedback greatly appreciated.
data A1;
set A1;
count + 1;
by subject_id;
if first.subject_id then count = 1;
run;
[[alternative HTML version deleted]]
2004 Feb 11
0
impossible to write
...he log files (in Kb).
max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those...
2004 Feb 18
0
samba read and write very slow
...the log files (in Kb).
max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those...
2003 Oct 02
0
3.0.0-2 on RH9 as domain member of win2k domain - not able to write to shares...
...m = DOMAIN.COM
workgroup = DOMAIN
server string = Samba Server
hosts allow = 192.168. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = ads
password server = DC1 DC2 DC3
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
; passwd debug = yes
passwd chat = *New*UNIX*...
2008 Oct 06
1
Need to calculate within- and between- run CV
Dear R-helpers,
I have a dataset named "qu", organized as follows:
Sample Run Replicate Value
1 1 1 25
1 1 2 40
1 1 3 33
1 1 4 29
1 2 1 37
1 2 2 44
1 2 3 45
1 3 1 25
1 3 2 40
1 4 1 33
1 4 2 29
1 4 3 25
2 ...
Basically, a sample was run on an assay multiple times within a single
day. Each of these results is "Replicate". Then run was repeated several
times in
2002 Sep 08
2
Problems Setting up an Samba-PDC
...assword server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *pass...
2004 Mar 24
1
Windows client using UPPERCASEto connect to Samba 3.02a serve
...27.
printcap name = /etc/printcap
load printers = yes
; printing = bsd
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
security = domain
# Use password server option only with security = server
password server = srv1
# Password Level allows matching of _n_ characters of the password
for
# all combinations of upper and lower case.
;password level = 16
;username level = 16
encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd
Thanks for your help
Miki Barzilay
rrr@superior.co.il
1998 Nov 28
0
Outlook and MS-Outlook
...var/log/samba/log.%m
max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
; include = /etc/smb.conf.%m
# Most people will find that this option gives better performance.
# See speed.tx...
1999 Aug 23
0
samba & win nt
...ield
server string = RND Linux Server
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = domain
# Use password server option only with security = server
# add password server as the computer name
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
# Add new users dynamically
add user script = /root/adduserscr %u
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba d...
2010 Apr 21
2
prototype of simple NX client with auto-resuming ssh session
Dear All:
---
Summary, especially for openssh list (to test/reproduce):
THANK YOU for all your help.
Please extract into /home/username/nx on both host and client. cp ssh to a file named mxssh in that directory. Run
(with an _n_ below)
Start server on the remote host by typing ./server &
Now do:
./nxssh hostname
If you killall client on the remote end, it reconnects "seamlessly" (I am using this to simulate ServerAliveInterval).
However, if I do this from _within_ the nxclient program it _detects_ my disc...