search for: id_1

Displaying 6 results from an estimated 6 matches for "id_1".

Did you mean: id1
2011 Feb 24
2
create dummy variables by for loop
HI, Dear R community, I try to create 100 dummy variables like the following: ack$id_1 <- (ack$ID==1)*1 ack$id_2 <- (ack$ID==2)*1 .. . ack$id_100 <- (ack$ID==100)*1 I used the following codes: for(i in 1:100){ ack$id_[i] <- (ack$ID==i)*1 } But only one column is created, can anyone help me? Thanks a lot! -- Sincerely, Changbin --...
2002 Sep 09
1
Plots by subject
...cells/ul) [-o-]') par(new=T) plot(VISITWK[pt], LOG.BDUS[pt], ylim=c(1,6), xlim=c(0,50), pch='+', axes=F, ylab='', type='b', xlab='', main='Viral load and CD4 for ID=1') axis(4) mtext("Viral load (log10) [-+-]",4, outer=T) savePlot(filename='ID_1', type=c('pdf')) Is there something like a macro variable that I can use in the plot arguments and in the title and filename (or at least some way to save all the plots)? A second minor thing: the headings in the HTML help and R web pages show up as strange characters - any advice?...
2007 Dec 10
0
password authentication stops but can be restarted
...stem-y password server = W3K_SERVER domain master = no local master = no preferred master = no username map = /etc/sfw/smb.users [homes] writeable = yes valid users = +sysadmin wide links = no [app] path = /var/data_path writeable = yes valid users = app_id wide links = no smb.users id_1 = DOMAINX\win_id_1 id_2 = DOMAINX\win_id_2 app_id = DOMAINX\win_id_app Note that the Windows password server is Win3K and that I have various versions of Sun supplied SAMBA. I do have some SAMBA share that use Win2K authentication and those do not seem to have this issue.
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
..."> <tr><td width="40%"><h3 style="text-align:center">Selectable Items</h3> <ul class="sortabledemo" id="firstlist" style="height:200px; margin:2px; overflow:auto; border:1px solid black;"><li id="id_1">Item 1</li>;"><li id="id_2">Item 2</li> .. </ul></td> <td width="20%"><center><table> <tr><td><input type="submit" name="choose_none" value="&lt;&lt;" onCl...
2009 Mar 09
3
Creating an Excel file with multiple spreadsheets
...ot;,i,".xls",sep=""),col.names=TRUE,row.names=FALSE,sep="\t") ) How can I export DF (the original data), DF such as ID==1, DF such as ID==2,..., DF such as ID==5 to "information.xls" (just one file) naming the spreadsheets as "original", "ID_1", "ID_2",...,"ID_5", respectively? I'm running R 2.8.1 Patched on XP. Here is my sessionInfo() R version 2.8.1 Patched (2009-01-01 r47434) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United Sta...
2002 Nov 20
0
Plots by subject
...ot(VISITWK[pt], LOG.BDUS[pt], ylim=c(1,6), xlim=c(0,50), pch='+', axes=F, >> ylab='', type='b', xlab='', main='Viral load and CD4 for ID=1') >> axis(4) >> mtext("Viral load (log10) [-+-]",4, outer=T) >> savePlot(filename='ID_1', type=c('pdf')) >> >> Is there something like a macro variable that I can use in the plot arguments >> and in the title and filename (or at least some way to save all the plots)? >> > >It should work with a for() loop. It seems that your id variable is a...