search for: cat

Displaying 20 results from an estimated 18108 matches for "cat".

Did you mean: at
2010 Jan 25
1
PCA: Showing file datalabels on biplot
...R-10 1 1 1 1 HBR-11 1 1 1 1 HBR-12 1 1 1 1 HBR-13 1 1 1 1 HBR-14 2 1 2 2 HBR-15 2 1 2 1 HBR-16 1 1 2 1 HBR-17 1 1 2 1 HBR-18 1 1 2 1 HBR-19 1 1 2 1 HBR-20 1 1 2 1 HBR-21 1 2 1 1 HBR-30 1 1 2 2 HBR-31 1 2 1 2 HBR-32 2 2 1 2 HBR-33 1 2 1 2 HBR-34 1 2 2 2 HBR-35 1 2 2 1 HBR-36 1 2 1 2 HBR-37 1 2 1 2 cat <-read.table("R855868825matrix.csv", sep=",", header=T) head (cat, n=24) catopsis <- (cbind(cat$a, cat$b, cat$c, cat$d, cat$e, cat$f, cat$g, cat$h, cat$i, cat$j, cat$k, cat$l, cat$m, cat$n, cat$o, cat$p, cat$q, cat$r, cat$s, cat$t, cat$u, cat$v, cat$w, cat$x, cat$y, cat$z...
2008 Aug 02
3
convert for loop into apply()
...g for your help again to convert this loop to apply(). I have 2 data frames with the following information: a1 is the fragment that is need to be covered, a2 is the probes that cover the specific fragment. I need to count the number of probes cover every given fragment (they need to have the same cat ID to be on the same fragment) a1<-data.frame(id=c(1:6), cat=c('cat 1','cat 1','cat 2','cat 2','cat 2','cat 3'), st=c(1,7,30,40,59,91), en=c(5,25,39,55,70,120)); a2<-data.frame(id=paste('probe',c(1:8)), cat=c('cat 1','cat 1&...
2005 Jun 23
1
the dimname of a table
..."x23","x24","x25","x26","x27","x28.1","x28.2","x29") >for (k in indep){ for (i in danx2){ a<-chisq.test(dat[,i],dat[,k])$p.v<=0.05 if (a) {CrossTable(dat[,i],dat[,k],chisq=T,format="SPSS");cat(rep("=",50),"\n","\n")} } it has a little pitfall:the dimnames of table is dat[,i] and dat[,k],but i want it to be like x2,x23... is there any good way to do this? and in the command CrossTable(dat[,i],dat[,k],chisq=T,format="SPSS") in the loop,is ther...
2003 May 23
1
error with make clean in /usr/src
...am.1.gz dsa.1.gz dsaparam.1.gz enc.1.gz gendsa.1.gz genrsa.1.gz nseq.1.gz ocsp.1.gz openssl.1.gz passwd.1.gz pkcs12.1.gz pkcs7.1.gz pkcs8.1.gz rand.1.gz req.1.gz rsa.1.gz rsautl.1.gz s_client.1.gz s_server.1.gz sess_id.1.gz smime.1.gz speed.1.gz spkac.1.gz verify.1.gz version.1.gz x509.1.gz CA.pl.1.cat.gz asn1parse.1.cat.gz ca.1.cat.gz ciphers.1.cat.gz crl.1.cat.gz crl2pkcs7.1.cat.gz dgst.1.cat.gz dhparam.1.cat.gz dsa.1.cat.gz dsaparam.1.cat.gz enc.1.cat.gz gendsa.1.cat.gz genrsa.1.cat.gz nseq.1.cat.gz ocsp.1.cat.gz openssl.1.cat.gz passwd.1.cat.gz pkcs12.1.cat.gz pkcs7.1.cat.gz pkcs8.1.cat.gz ra...
2006 May 28
3
Working with topics and categories
Hello guys, I''m a newbie in RoR and I have a problem. My DB structure is ====================================== topics table : id(int,11) name(varchar,255) categories : id (int,11) topic_id(varchar,255) name(varchar,255) ====================================== --Models:-- class Topic < ActiveRecord::Base has_many :categories end class Category < ActiveRecord::Base belongs_to :topic end I need page structure like t...
2005 Feb 07
1
Winetools not working on my desktop
...#39;. no fake drive C: found! wine is executed as "setarch i386 wine" Parameters are "" /usr/local/bin/wt: line 1667: [: too many arguments Version of Wine is OK. Calls to wine are executed as "setarch i386 wine". Config is /home/sfunk1x/.wine/winetools.log. CDROM is . cat: /usr/local/winetools/README.wine:: No such file or directory cat: creating: No such file or directory cat: configuration: No such file or directory cat: directory: No such file or directory cat: '/home/sfunk1x/.wine'...: No such file or directory cat: wine:: No such file or directory cat:...
2003 Jun 13
1
Strange problem with "make clean"
...; went wrong. I tried rm-ing the incriminated subdirectory and even rm-ing the checkout.cvs:RELENG_4_8 file and re-cvsupping but nothing changes. Here is the error log: [...] rm -f telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o utilities.o telnet.1.gz telnet.1.cat.gz ===> secure/usr.bin/openssl rm -f buildinf.h openssl/opensslconf.h openssl/evp.h xopenssl app_rand.o apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o dhparam.o dsa.o dsaparam.o enc.o engine.o errstr.o gendh.o gendsa.o genrsa.o nseq.o ocsp.o openssl.o passwd.o pkcs12.o pkcs7.o pkcs8...
2011 Aug 21
1
Multiple R linear models into one Latex table
...delos[[j]])),dimnames(mat.all)[[1]])),j]<-coef(modelos[[j]]) mat.all[c(match(names(coef(modelos[[j]])),dimnames(mat.all)[[1]])+1),j]<-sqrt(diag(vcov(modelos[[j]]))) } mat.all<-signif(mat.all, digits=3); dimnames(mat.all)[[1]][c(seq(1,dim(mat.all)[1], by=2))]<-final.varnames cat("\\begin{table}[!hbt]", "\n","\\caption[Short for List of Tables]{Long for this title}","\n","\\begin{center}","\n","\\begin{tabular}{llllllllll}","\n") cat("&",paste(model.names[1:length(model.names)-1]...
2013 Feb 28
3
Hidden information in an object
Hello, The dataset "cats" contain information about the heart weight ("Hwt"), body weight ("Bwt") and gender ("Sex") of a group of 144 cats. I write the following piece of code: library(MASS)attach(cats)ratio <- Hwt/Bwtmale <- ratio[Sex == "M"]female <- ratio[Sex == &q...
2016 May 20
3
Suddenly Windows clients can't join Samba+ldap PDC anymore
...This information is intended for a network administrator. If you are not your network’s administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt. The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller for domain SRV1: The error was: “DNS name does not exist.” (error code 0x0000232B RCODE_NAME_ERROR) The query was for the SRV record for _ldap._tcp.dc._msdcs.SRV1 Common causes of this error include the following: - The...
2012 Mar 22
2
How to draw table in Latex without using xtable?
...Latex. I am writing .Rnw file first in which i m reading input file and storing into dataframe. After filtering certain values from this dataframe. I am planning to display it. I don't want to use xtable since i need to change column names. *Sample .Rnw file* @ <<echo=FALSE>>= cat("\begin{table}[ht]") cat("\begin{center}") cat("\begin{tabular}{lrrrrr}") cat ("\hline") cat ("& Df & Sum Sq & Mean Sq & F value & Pr($>$F) \\") cat ("\hline") cat("block & 5 & 343.29 & 68.6...
2006 Jul 04
1
Has_many :through with checkboxes?
Just when I started getting the hang of has_and_belongs_to_many relationships, I realize that I should probably convert several of my app''s joins to has_many :through type relationships. One example, pairing users with categories via subscriptions, where each user can be the "owner" of a category, has given me particular trouble when I try to update a user''s category subscriptions. **Has anyone figured out how to manipulate HMT relationship with checkboxes?** =begin code ## Here''s...
2004 Dec 10
4
cbind() and factors.
Hi I'm seeing some "odd" behaviour with cbind(). My code is: > cat <- read.table("cogs_category.txt", sep="\t", header=TRUE, quote=NULL, colClasses="character") > colnames(cat) [1] "Code" "Description" > is.factor(cat$Code) [1] FALSE > is.factor(cat$Description) [1] FALSE > is.factor(rainbow(n...
2011 Mar 09
0
VennDiagram Bugs
Hello, Even though the documentation says that it is possible to have a scaled Euler diagram for three categories, this fails to happen. All of the circles are the same size. My commands are : library(VennDiagram) A <- 1:10 B <- 9:18 C <- 15:500 venn.diagram(list(NameOne=A, NameTwo=B, NameThree=C), "example.tiff", euler.d = TRUE, scaled = TRUE, fill = c("red", "blue&q...
2005 Feb 21
2
Execution of WineTools with Wine version 20041201 on RedHat 9
...tools]$ wt ls: /home/andrew/.wine/dosdevices/: No such file or directory rm: cannot lstat `/home/andrew/.wine/dosdevices/f:': No such file or directory no wine directory found... trying to create one wine: creating configuration directory '/home/andrew/.wine'... /usr/bin/wineserver: relocation error: /usr/bin/wineserver: symbol epoll_create, version GLIBC_2.3.2 not defined in file libc.so.6 with link time reference wine: wineprefixcreate failed while creating '/home/andrew/.wine'. /usr/local/bin/wt: line 16: /usr/local/winetools/Xdialog: No such file or directory Wine wine: cr...
2007 Jul 04
10
A More efficient method?
Dear Rhelpers, Is there a faster way than below to set a vector based on values from another vector? I'd like to call a pre-existing function for this, but one which can also handle an arbitrarily large number of categories. Any ideas? Cat=c('a','a','a','b','b','b','a','a','b') # Categorical variable C1=vector(length=length(Cat)) # New vector for numeric values # Cycle through each column and set C1 to corresponding value of Cat. for(i in...
2015 Aug 14
3
capture.output() duplicates last line unless newline (R-devel bug)
In R-devel (2015-08-12 r69024), capture.output() incorrectly duplicates the last line unless it ends with a newline. I don't see this in R 3.2.2 RC (2015-08-13 r69049). It seems to have started fairily recently; I spotted this yesterday after starting to get errors in my R.utils check that use capture.output(), cf. https://www.r-project.org/nosvn/R.check/r-deve...
2018 Apr 19
4
create multiple categorical variables in a data frame using a loop
Hi All, I want to create a categorical variable, cat.pfoa, in the file of pfas.pheno (a data frame) based on log2pfoa values. I can do it using the following code. pfas.pheno <-within(pfas.pheno, {cat.pfoa<-NA cat.pfoa[pfas.pheno$log2pfoa <=quantile(pfas.pheno$log2pfoa,0.25, na.rm =T)]<-0 cat.pfoa[pfas.pheno$log...
2006 Jul 13
1
writeForeignSAS and potential extensions
...to write out datetime variables (assuming a class of POSIXct) and read them in with an INFORMAT statement * In order to handle character variables a bit better, use a LENGTH statement to tell SAS the maximum character width of values in the variable. Without this, some character values can be truncated. If it'd be helpful to make any changes or add anything, I'd be happy try to do so. Finally, some testing code that works in SAS 6.12, 8.2, and 9. d <- structure(list(a.b = as.integer(c(1, 2)), alphabetsoup = structure(as.integer(c(1, 2)),...
2016 May 20
2
Suddenly Windows clients can't join Samba+ldap PDC anymore
...gt;> input. >> >> But today i tried to join a Windows 10 Professional machine (i even >> tried on a virtualized Windows 7 Profesisonal and suffered the same >> issue) to the PDC and i'm always getting this error: > > > Did you make the required registry modification on the Windows clients? > > https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains > > For Windows 10, you'll also need to limit SMB protocol to version 1 : > > https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains#Windows_10:_There_are_...