Displaying 20 results from an estimated 189 matches for "bread".
Did you mean:
break
2012 Mar 18
2
word frequency count
Hi:
I have a dataframe containing comma seperated group of words such as
milk,bread
bread,butter
beer,diaper
beer,diaper
milk,bread
beer,diaper
I want to output the frequency of occurrence of comma separated words
for each row and collapse duplicate rows, to make the output as shown
in the following dataframe:
milk,bread 2
bread,butter 1
beer,diaper 3
milk,bread 2
Thanks f...
2010 Jun 26
1
All a column to a data frame with a specific condition
Hi, folks,
Please first look at the codes:
plan_a=c('apple','orange','apple','apple','pear','bread')
plan_b=c('bread','bread','orange','bread','bread','yogurt')
value=1:6
data=data.frame(plan_a,plan_b,value)
library(plyr)
library(reshape)
mm=melt(data, id=c('plan_a','plan_b'))
sum_plan_a=cast(mm,plan_a~variable,sum)
### I would...
2010 Sep 01
1
transaction object - how to coerce this data
...need
to transform my data into a "transactions" object. The data I read in from a
file has 2 columns, an ID and an item. How do I convert data like this into
a transactions object?
I've tried
class? transactions
but it only confuses me.
My data is like this....
basketID item
1 bread
1 cheese
1 milk
2 bread
2 cheese
2 eggs
3 bread
3 cheese
3 beer
and from what I gather it should be like this?
data <- list(
c("bread","cheese","milk"),
c("bread","cheese","eggs"),
c("bread","cheese"...
2006 Dec 10
1
Use of bread() function
Hello,
I am trying to extract an estimator for the bread of the sandwich
function. I used bread(fitted model) however it seems that I have missed
something as an error message "no applicable method for "bread" appears.
My fitted model is a Spatial simultaneous autoregressive error
model.(errorsarlm in spdep package)
Can anyone please tel...
2006 Nov 01
4
extract values from a vector
Hello,
I'm looking for a solution for the following problem:
I have two vectors
V1 <- c("apple","honey","milk","bread","butter")
V2 <- c("bread","milk")
now, I would like to know for each element in V1 if it's equal to one of
the elements in V2
I could do:
which(V1 == V2[1] | V1 == V2[2])
but what if I don't know the length of V2 and it's content???
Thank you i...
2009 Jun 06
0
SMACOF joint configuration plot with bread data?
Dear R-helpers,
I have dist class objects for 10 individuals rating the
dissimilarities (on a 100-point scale) of the same 10 faces (analogous
to the bread data). I would like to get an individual differences
scaling jointly for the individual judges and the faces, and plot them
on the same axes.
This is the example:
library(smacof)
data(breakfast)
res.rect<-smacofRect(breakfast, itmax = 1000)
plot(res.rect, joint = TRUE, xlim = c(-10, 10))
H...
2007 Oct 30
1
Some matrix and sandwich questions
Dear R-help,
I have a four-part question about regression, matrices, and sandwich package.
1) In the sandwich package, I would like to better understand the
meat() function.
>From the bread() documentation, for a simple OLS regression, bread() returns
(1/n * X'X)^(-1)
That is, for a simple regression (per the documentation on bread()):
MyLM <- lm(y ~ x)
bread(MyLM)
solve(crossprod(cbind(1, x))) * length(y)
(The last two terms above produce the same output, the matrix describe...
2013 Sep 02
1
R dataframe and looping help
HI,
You may try this:
dat1<- read.table(text="
CustID TripDate Store Bread Butter Milk Eggs
1 2-Jan-12 a 2 0 2 1
1 6-Jan-12 c 0 3 3 0
1 9-Jan-12 a 3 3 0 0
1 31-Mar-13 a 3 0 0 0
2 31-Aug-12 a 0 3 3 0
2 24-Sep-12 a 3 3 0 0
2 25-Sep-12 b 3 0 0 0
",sep="",header=TRUE,stringsAsFactors=FALSE)
dat2<- dat1[,-c(1:3)]
res<- lapply(seq_len(ncol(dat2)),functio...
2007 Apr 18
0
, Chicago, which has baked whole-grain breads for years, said Joan Rubschlager, the company's secretary-treasurer.
Skipped content of type multipart/alternative-------------- next part -----=
---------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 12003 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/virtualization/attachment=
s/20070407/17e8c0e9/attachment.gif
2007 Apr 18
0
northwesterly French bread
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 15327 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070417/d7e48364/attachment.gif
2007 Apr 18
0
, Chicago, which has baked whole-grain breads for years, said Joan Rubschlager, the company's secretary-treasurer.
Skipped content of type multipart/alternative-------------- next part -----=
---------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 12003 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/virtualization/attachment=
s/20070407/17e8c0e9/attachment.gif
2007 Apr 18
0
northwesterly French bread
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 15327 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/virtualization/attachments/20070417/d7e48364/attachment.gif
2006 Mar 27
15
Go Go Gadget - A Rails ecommerce site released today
I''ve just completed my first Ruby on Rails project, an online store for
electronic gadgets including digital cameras, MP3 players and PDAs.
It''s for Australian shoppers only, but everyone can take a look and
browse through!
http://www.gogogadget.com.au
All feedback, comments, etc are welcome.
Cheers,
Dan
2009 Jun 08
0
SMACOF joint configuration plot with bread data? (Michael Kubovy)
...e: (no subject) (Peter Flom)
> 4. how to make the dynamically creted string work inside if as a
> condition (Moumita Das)
> 5. Re: how to make the dynamically creted string work inside if
> as a condition (Duncan Murdoch)
> 6. SMACOF joint configuration plot with bread data? (Michael Kubovy)
> 7. No --no-latex? (Jim Lemon)
> 8. Re: No --no-latex? (Duncan Murdoch)
> 9. Re: Rpad - avoid removal of manually created html-tags in R
> chunk (Martin Gartner)
> 10. Re: No --no-latex? (Peter Dalgaard)
> 11. Re: Install RCurl in Linux (...
2007 Jun 08
5
website down ?
seems that the tracksite is down ?
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Oct 17
1
How to save association rules generated by arules package
...0.1666667 1 4.285714
5 {Toy} => {Chocolate} 0.1666667 1 4.285714
6 {Ketchup} => {Maggi} 0.3666667 1 2.500000
7 {Butter} => {Milk} 0.4000000 1 2.500000
8 {Milk} => {Butter} 0.4000000 1 2.500000
9 {Butter} => {Bread} 0.4000000 1 2.500000
10 {Bread} => {Butter} 0.4000000 1 2.500000
****************************************************************************
***********************************************
How do I save these rules in to some other device e.g. Notepad/Document/PPT...
2012 Sep 23
1
ruby koans don't understand the principle sandwhich code
...----------------------------------------------------------------
# THINK ABOUT IT:
#
# The count_lines and find_line are similar, and yet different.
# They both follow the pattern of "sandwich code".
#
# Sandwich code is code that comes in three parts: (1) the top slice
# of bread, (2) the meat, and (3) the bottom slice of bread. The
# bread part of the sandwich almost always goes together, but
# the meat part changes all the time.
#
# Because the changing part of the sandwich code is in the middle,
# abstracting the top and bottom bread slices to a library can be...
2013 Jan 21
2
how to bread while loop reading from connection with read.csv
Hello,
I'm trying to read a file rows at a time, so as to not read the entire file into memory.? When reading the "connections" and "readLines" help, and "R help archive," it seems this should be possible with read.csv and a file connection, making use of the "nrows" argument, and checking where the "nrow()" of the new batch is zero rows.
2010 May 10
2
Robust SE & Heteroskedasticity-consistent estimation
Hi,
I'm using maxlik with functions specified (L, his gradient & hessian).
Now I would like determine some robust standard errors of my estimators.
So I 'm try to use vcovHC, or hccm or robcov for example
but in use one of them with my result of maxlik, I've a the following
error message :
Erreur dans terms.default(object) : no terms component
Is there some attributes
2006 May 04
5
I''m writing an article about Rails and I need help
Hi to everybody, I''m writing an article about Ruby on Rails and I need
to gather some information about the project and the community of core
developers. In particular I''d like to know something about the
organization of the project (how are decisions taken, who decides what
goes into the project, conflict resolution, contributions acceptance...)
and something more technical