Displaying 20 results from an estimated 27 matches for "cata".
Did you mean:
cat
2006 Aug 08
2
Getting data out of a loop
...have a loop that does some calculations and puts the
results in a vector for each iteration, but I cannot
see how to get the data out of the loop in such a way
that I can use it. I can print it but how do I get it
into a set of vectors or what ever.
Any help gratefully received. Thanks
Example
cata <- c( 3,5,6,8,0, NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10, 12)
rata <- c (NA, 5, 5, 4, 9, 0)
ratb <- c( 1,2,3,4,5,6)
bata <- c( 12, 42,NA, 45, 32, 54)
batb <- c( 13, 15, 17,19,21,23)
id <- Cs(a,b,b,c,a,b)
site <- c(1,1,4,4,1,4)
mat1 <...
2006 Jul 01
1
Uh oh, Error solving...
undefined method `stringify_keys'' for [["Craved"], ["Whole Sale"]]:Array
I did this earler in the script how come now it''s yealling?
<% catas = Category.find(:all, :order=> "name").map {|u| [u.name]} -%>
<p><label for="item_cata">Catagory:</label><br/>
<%= select ''item'', ''cata'', catas %></p>
<% mcatas = SubCategory.find(:all, :order=&g...
2007 Mar 09
1
Applying some equations over all unique combinations of 4 variables
#I have a data set that looks like this. A bit more
complicated actually with
# three factor levels but these calculations need to
be done on one factor at a
#I then have a set of different rates that are applied
#to it.
#dataset
cata <- c( 1,1,6,1,1,2)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
data1 <- data.frame(cata, catb, doga)
rm(cata,catb,doga)
data1
# start rates
# names for lists
fnams <- c("af", "pf", "cf", "mf")
mnams <- c("am", "pm&quo...
2007 Feb 02
1
Assigning labels to a list created with apply
.... and used apply to produce a list of
tables. Example below.
How do I apply the colnames from the matrix or names
from the data.frame to label the tables in the results
in the list. I know that I can do this individually
but there should be a way to do something like an
apply but I am missing it
cata <- c( 1,1,6,1,1,NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10, 12)
rata <- c (NA, 9, 9, 8, 9, 8)
ratb <- c( 1,2,3,4,5,6)
bata <- c( 12, 42,NA, 45, 32, 54)
batb <- c( 13, 15, 17,19,21,23)
id <- c('a', 'b', 'b', 'c'...
2007 Jun 28
3
Function call within a function.
...t how to get it to work within ukn. Basically
I need to create the variable "nts". I have probably
missed something simple in the Intro or FAQ.
Any help would be much appreciated.
EXAMPLE
-------------------------------------------------------------------------------
# create data.frame
cata <- c( 1,1,6,1,1,4)
catb <- c( 1,2,3,4,5,6)
id <- c('a', 'b', 'b', 'a', 'a', 'b')
dd1 <- data.frame(id, cata,catb)
# function to create list from data.frame
lstfun <- function(file, alpha , beta ) {
cda <- subset(file, file[,1]...
2011 May 29
22
[Bug 8177] New: Problems with big sparsed files
...vmdk's (vmware
files, 36gb of size) files in sparse format, in esxi 4.1 filesystem, to ext3
filesystem. The first time, the files copy ok (converting sparse files to
non-sparse files), but, next time, the update of files don't work. It fail with
messages:
receiving incremental file list
./
cata-920-aux.xml
cata-920-flat.vmdk
WARNING: cata-920-flat.vmdk failed verification -- update discarded (will try
ag
ain).
rsync: read errors mapping
"/vmfs/volumes/cata-021-lun0/cata-920/cata-920-flat.v
mdk": Invalid argument (22)
vmware.log
cata-920-flat.vmdk
ERROR: cata-920-flat.vmdk failed...
2010 Sep 30
3
world of warcraft Cata droping openGL
it seems wow is moving towards GLL for the Macs and could be dropping the normal OpenGL.
how is this going to effect running WOW with wine ?
right now running wow under directX is painful and so slow on my system thats it just not a option.
2011 Jan 23
7
Wine, Wow Cata and D3D
Running Ubuntu 10.04, Nvidia driver version 260.19.29, 3 GB RAM, AMD Phenom Quad-Core, wine-1.3.11.
I notice no difference in performance whether OpenGL is enabled or not. Does this mean D3D is now working and I don't need OpenGL now?
I get close to 80fps in some places, which is great, but in a raid or other places with a lot of toons and activitiy, Wow practically freezes up and becomes
2006 Aug 28
2
Cannot get simple data.frame binding.
...new summed
variable.
It works fine in my simple example but I am doing
something wrong in the real world. In the real world
I am loading a labeled data.frame. The orginal data
comes from a spss file imported using spss.get but the
current data.frame is a subset of the orginal spss
file.
EXAMPLE
cata <- c( 1,1,6,1,1,NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10, 12)
rata <- c (NA, 9, 9, 8, 9, 8)
ratb <- c( 1,2,3,4,5,6)
bata <- c( 12, 42,NA, 45, 32, 54)
batb <- c( 13, 15, 17,19,21,23)
id <- c('a', 'b', 'b', 'c'...
2013 Dec 15
1
Rows to Column
Hi all,
I'm kinda new in R programming and I need some help preparing a database to
run logistic regression.
I have data in a tuple form:
*id cat val*
1 A 2
1 C 4
3 B 1
5 A 2
6 A 3
6 B 5
6 C 2
8 B 5
8 D 2
9 D 3
and would like to have it like:
*id catA catB catC catD*
1 2 0 4 0
3 0 1 0 0
5 2 0 0 0
6 3 5 2 0
8 0 5 0 2
9 0 0 0 3
Could someone help me?
I have already tried table function, but it doesn't return row and column
names.
--
View this me...
2007 Feb 07
6
setting a number of values to NA over a data.frame.
This is probably a simple problem but I don't see a
solution.
I have a data.frame with a number of columns where I
would like 0 <- NA
thus I have df1[,144:157] <- NA if df1[, 144: 157] ==0
and df1[, 190:198] <- NA if df1[, 190:198] ==0
but I cannot figure out a way do this.
cata <- c( 1,1,6,1,1,NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10, 12)
rata <- c (NA, 9, 9, 8, 9, 8)
ratb <- c( 1,2,3,4,5,6)
bata <- c( 12, 42,NA, 45, 32, 54)
batb <- c( 13, 15, 17,19,21,23)
id <- c('a', 'b', 'b', 'c'...
2006 Aug 07
0
Trying to do aseries of subsets with function or for loop
...on is doing anything
The other approach seems to be a for loop but I don't
see how to handle it there either. I am sure I have
seen something about exporting multiple .csv files a
couple of days ago that would be relevant but I cannot
find it.
Can anyone suggest anything?
Thanks
Example:
cata <- c( 3,5,6,8,0, NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10, 12)
rata <- c (NA, 5, 5, 4, 9, 0)
ratb <- c( 1,2,3,4,5,6)
bata <- c( 12, 42,NA, 45, 32, 54)
batb <- c( 13, 15, 17,19,21,23)
id <- Cs(a,b,b,c,a,b)
site <- c(1,1,4,4,1,4)
Df <-...
2012 Apr 12
3
Remove superscripts from HTML objects
Is there some way to remove superscripts from objects returned by
html/xmlParse (XML package)?
h <- "<html><p>Cat<sup>a</sup></p><p>Dog</p></html>"
doc <- htmlParse(h)
xpathSApply(doc, "//p", xmlValue)
[1] "Cata" "Dog"
I could probably remove the <sup> tags from the "h" object above, but I'd
rather just work with the results from htmlParse if possible (and not use
readLines to load raw HTML first).
Thanks,
Chris Stubben
--
View this message in context: http://r.789...
2009 Sep 19
1
Re-order columns
Dear R'sians,
Would really appreciate if you could suggest a more efficient way to order
the columns of a dataset. The column names of the dataset contain indices
separated by a period. Following are examples of my code and the dataset.
oC <- function(tg=x2) {
lth <- length(grep("T",names(tg)))
thix <-
2007 Jun 02
7
u32 classifier
Hi folks...!!!
I´ve a problem that i did not solve it.
i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall)
using IMQ,
If i classify by PORT (source or destination) all seems to be fine,
but...BUT...if i want to restrict by IP addresss (internal IP address) i
can´t do it, because my hosts go to Internet toward the firewall using NAT,
so after NAT my IP address in
2005 Oct 11
5
openssh 4.2p1 bug
hello,
I have just installed openssh 4.2p1 and it seems that sshd child process
crash if /var/empty/usr/lib do not exist. Here is a strace log (
before creating this directory):
26787 open("/etc/protocols", O_RDONLY) = -1 ENOENT (No such file or
directory)
26787 getsockopt(3, SOL_IP, IP_OPTIONS, "", [0]) = 0
26787 socket(PF_UNIX, SOCK_STREAM, 0) = 6
26787 connect(6,
2024 Apr 17
0
Ayuda: Calculo tamaño del efecto
...ndas de degustaci?n. As?, las variables dependientes son: Apariencia, olor, sabor, textura, retrogusto, impresi?n global y disposici?n a pagar puntuando cada variable dependiente seg?n una escala del 1 al 7. 4) Todos los sujetos del experimento probar?n el queso A y el queso B en las tres rondas de cata previstas evaluando en cada una de ellas los siete atributos: Apariencia, olor, sabor, textura, retrogusto, impresi?n global y disposici?n a pagar puntuando cada variable dependiente seg?n una escala cuasisim?trica. del 1 al 7. 5) Esperamos un tama?o peque?o mediano, el nivel de significancia se fi...
2009 Dec 22
0
Embed Fonts in All EPS files inside a Directory
Hi List, I would like to embed some fonts (AFM format) on 324 eps files
produced by a R loop, I’m able to do so one-by-one with the following
command:
embedFonts('C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Cata
logo/Mapas/EPS/Example.eps',
outfile='C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Catalog
o/Mapas/EPS/Example2.eps',
fontpaths="C:/Users/Rodrigo/Documents/UFPR/Micropaleontologia/Potiguar/Catal
ogo/ArialNarrow")
But, I would like to do that for the entire...
2004 Jun 08
0
Routing - new table
...cat /etc/iproute2/rt_tables
255 local
254 main
253 default
0 unspec
5 test
# ip rule add fwmark 5 table 5
# ip ru sh
0: from all lookup local
32765: from all lookup test
32766: from all lookup main
32767: from all lookup default
--------------------------------------
--
Catalin Bucur mailto:cata@geniusnet.ro
NOC @ Genius Network SRL - Galati - Romania
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2013 May 29
0
[fdo] Lista aprovados Passo de Camaragibe
...S, FRANCISCO HELSON DE LIMA NERES, PAULO RAFAEL PEREIRA SOARES, JO?O CARLOS MOREIRA DE CARVALHO, DAMI?O JOVENAL DOS SANTOS, MARIA GORETTI LIMA FREIRE, JANIMERY BARBOSA DE ABREU MELO. SHYSLAINE ARA?JO BEZERRA, ARIANE SOARES SILVA, LUCAS MOREIRA DIAS, GILSON POLICARPO DE S?, REBECA DE FREITAS BARROS. Catas Altas da Noruega.
Santa B?rbara e ALINE PEREIRA NUNES, LARISSA DE MORAIS VIANA, FERNANDO DA SILVA GUEDELHA, NEDIA ALVES PARRIAO, JO?O CARLOS MOREIRA DE CARVALHO, CLAUDIO SIM?ES RODRIGUES, MARIA DA CONCEI??O SILVA, ISAIAS JESUS DE ALMEIDA. RUTH KELLY RIPARDO, ELIANE VIRG?NIO DE SIQUEIRA NASCIMENT...