Displaying 11 results from an estimated 11 matches for "doga".
Did you mean:
dog
2006 Aug 08
2
Getting data out of a loop
...ults 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 <- cbind(cata, catb, doga, dogb, rata, ratb,
bata, batb)...
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", "cm", "mm")
# Current layout...
2006 Aug 28
2
Cannot get simple data.frame binding.
...le 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', 'a', 'b')
site <- c(1,1,4,4,1,4)
m...
2007 Feb 02
1
Assigning labels to a list created with apply
...elow.
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', 'a', 'b')
site <- c(1,1,4,4,1,4)
m...
2007 Feb 07
6
setting a number of values to NA over a data.frame.
...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', 'a', 'b')
site <- c(1,1,4,4,1,4)
m...
2006 Aug 07
0
Trying to do aseries of subsets with function or for loop
...or 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 <- data.frame(cbind(site, id, cata, catb, doga,
dogb, rata...
2014 Aug 11
0
Novi Zakon o radu stupio je na snagu 7.kolovoza 2014
...il adresa mogla je biti dobivena na temelju va??e prijave na web stranici Izdava??ka ku??a Poslovna Literatura d.o.o. ili ste svoj e-mail objavili u jednu od baza poslovnih subjekata, na osnovu telefonske prijave, temeljem preporuke, sudjelovanja u nagradnoj igri, popisa sudionika u obrazovanju ili doga??ajima (izlo??be, seminari, telefonska prodaja i drugi doga??aji u organizaciji poduze??a Izdava??ka ku??a Poslovna Literatura d.o.o.) ili kao odgovor na va?? upit.Ako u budu??nosti ne ??elite vi??e primati na??e obavijesti mo??ete se odjaviti s na??e liste klikom na [ Odjavi pkg-xen-devel at lists...
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 <-
2011 Jan 13
0
Help with Data Transformation - RESOLVED
...=======================================================
df1 <- structure(list(site = c(1, 1, 4, 4, 1, 4), id = structure(c(1L, 2L, 2L, 3L, 1L, 2L), .Label = c("a", "b", "c"), class = "factor"),
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)), .Names = c("site", "id", "cata", "catb", "doga", "dogb&q...
2015 Aug 16
0
Održavanje, čišćenje, hortikultura, tehničko upravljanje, property managment, facility managment, ostale usluge
...ura )
Tehni?ko upravljanje ( http://www.chm.hr/tehnicko-upravljanje )
Property managment ( http://www.chm.hr/managment/property-managment )
Facility managment ( http://www.chm.hr/managment/facility-managment )
Ostale usluge ( http://www.chm.hr/ostale-usluge )
Koliko puta ste se zapitali?
* ?to se doga?a s Va?om nekretninom dok Vas nema (posebno nakon nevremena)?
* Uslijed neprovjetravanja Va?a ku?a-apartman ima neugodan miris?
* Primjetili ste pojavu gljivica, vlage i plijesni?
* ?elite izbje?i mukotrpna ?i??enja (kada do?ete i prije nego odlazite)?
* ?eljeli biste iznajmljivati nekretninu k...
2012 Mar 08
6
how to modify the tickment of x-axis
hi
I plot a series of observation data every minutes in a day as the
attachment below
plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY)
In the figure, the x-axis tickment is the number of data How can I change
it
fore example 1h 2h 3h 4h and so on ?
--
TANG Jie
Email: totangjie at gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China