Displaying 20 results from an estimated 3000 matches similar to: "cluster "non-diet", "diet" example."
2013 Jan 12
1
color in xyplot
Hello
I want to draw a xyplot.
Its dots will have three colors: red for meat, green for vegetable, and
blue for both.
I used the code below but could not make the dot in the same group show the
same color.
Please kindly advise how to modify it.
Thank you.
code
library (lattice)
diet.code <- c("Herbivore", "Omnivore", "Carnivore")
Diet.colors <-
2008 Apr 25
0
[LLVMdev] Status of use-diet so far (NO API CHANGES)
On Apr 24, 2008, at 9:03 AM, Gabor Greif wrote:
>
> As you can see, the use-diet changes actually lower the build time
> of kimwitu++! (this is as of yesterday's r50182).
> Parity is not only reached, but surpassed.
Thanks for these numbers. Do you know how much of this increase is due
to
co-allocating Use arrays with their users, and how much is due to the
actual shrinking of
2008 Apr 24
2
[LLVMdev] Status of use-diet so far (NO API CHANGES)
Hi all,
in the last days I was busy gathering performance data
about the "class Use"-related changes.
I have nice measurements on a 8Gig MacPro with kimwitu++.
This is important to say, because this machine is
in plenty of memory, so swapping is not likely, which
means that in more constrained setups (when swapping
occurs) the use-diet approach is probably producing
even better
2007 Oct 17
1
How to save association rules generated by arules package
Hi,
I have been able to generate association rules for Market Basket Analysis
using the following codes:
****************************************************************************
*******************************************
library("arules")
rules <- read.csv("write1.csv",na.strings=c(".", "NA", "", "?"),header=TRUE)
2008 Mar 26
0
[LLVMdev] use-diet design?
Hi Gabor,
Could you give a little more detailed description of the plan
with the user-diet changes? I read the README but still don't
have a good picture of what will happen.
Specifically, which operators new/delete will be overridden?
What work will they do? How will the surrogate getters/setters
work?
Thanks,
Dan
2008 Mar 26
0
[LLVMdev] use-diet design?
> Hi Gabor,
>
> Could you give a little more detailed description of the plan
> with the user-diet changes? I read the README but still don't
> have a good picture of what will happen.
>
> Specifically, which operators new/delete will be overridden?
> What work will they do? How will the surrogate getters/setters
> work?
>
> Thanks,
>
> Dan
2013 Jan 19
2
Deformulation and R
Dear All,
I hope this is not too off-topic.
Essentially, I need to know if there is any R package which can help me
with a deformulation project.
Suppose e.g. that you know from a chemical analysis the fat, mineral,
vitamin, energy [and so on] content of a certain food product.
You also know the ingredients of this product (e.g. milk, lactose,
vegetable oil) and you know the chemical
2006 Feb 22
3
2 barplots in the same graph
Hello,
I have a very simple question about "2 barplots in the same graph".
It seems quite easy, but I searched google for long time, haven't find
solution.
For example, I want one graph like:
x1=seq(0,2,by=0.3)
x2=seq(3,0,by=-0.1)
barplot(x1,col="red")
barplot(x2,col="green")
It means if it's on the same graph, some bars are overlaped.
So if the bars are
2003 Aug 22
0
mangia a colori (PR#3914)
Mangia a colori II!
Keywords Population, health promotion/Public Theories, Methods & Perspectives
Abstract
An initiative of health-promotion to the expansion of the "instruments" able
to assure the control to the population on their own level of health, to
improve it through activity that partly concern to the sanitary system and
partly to other sectors, with the use of internal
2017 Aug 30
2
Dataframe Manipulation
i want to do a market basket analysis and I?m trying to create a dataset
for that i have two tables,
one table contains daily transaction of products in which each row of table
shows item purchased by the customer,
The second table contains parent group under those products are fallen, for
example under fruit category there are several fruits like mango, banana,
apple etc.
i want to create a third
2008 Apr 29
5
[LLVMdev] [PATCH] use-diet for review
Hi all,
I have reported more than enough about the space savings achieved
and the associated costs, here comes the current patch for review.
Since this one is substantially smaller than the previous one, I did
not cut it in pieces. The front part is about headers and the rest
the .cpp and other files.
Cheers,
Gabor
-------------- next part --------------
An embedded and charset-unspecified
2008 Apr 30
2
[LLVMdev] [PATCH] use-diet for review
Mike, Holger,
thanks for the tips, but being a long-time subversion
user, I already knew this all :-)
The problem was that I did an SVN merge from branch
to trunk, and I ended up with:
...
M include/llvm/User.h
A + include/llvm/OperandTraits.h
M include/llvm/Instruction.h
...
The little "+" after the "A" means, the file got
copied unchanged, and I think this is
2012 Sep 18
2
Formula in a data-frame
Hello all,
I'm new in R, and I have a data-frame like this (dput information below):
Specie Fooditem Occurrence Volume
1 Schizodon vegetal 1 0.05
2 Schizodon sediment 1 0.60
3 Schizodon vegetal 1 0.15
4 Schizodon alga 1 0.05
5 Schizodon sediment 1 0.90
6 Schizodon
2008 Apr 29
3
[LLVMdev] [PATCH] use-diet for review
Chris Lattner wrote:
> Hi Gabor, I don't see OperandTraits.h.
Sorry, I relied "svn diff" to include freshly added files.
Apparently it did not :-/
Here are they.
I pondered of putting all in Use.cpp into Value.cpp,
but I am not so sure.
Cheers,
Gabor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OperandTraits.h
Type:
2008 Apr 30
0
[LLVMdev] [PATCH] use-diet for review
On Apr 29, 2008, at 9:40 AM, Gabor Greif wrote:
> Sorry, I relied "svn diff" to include freshly added files.
svn add file
svn diff .
will show it.
2014 Mar 17
1
internal-sftp stuck on 'ls' with chrootdirectory
Hi all,
I am using Match directive and internal-sftp to chroot sftp users into their
directory. Connection and login works. I can change directories and put/get
files. Also logging of the internal sftp-process works (created a /dev/log
socket inside the chroot). As soon as I use the 'ls' command, nothing
happens and the the process gets stuck. Listing files does work as soon as I
remove
2008 Apr 29
0
[LLVMdev] [PATCH] use-diet for review
Hi Gabor,
Thanks for posting the memory savings. 13% less memory usage
in 447.dealII is very impressive.
I haven't taken more than a very brief peek at this patch, but I
have a few questions already.
Is there a header missing? I don't see
DECLARE_TRANSPARENT_OPERAND_ACCESSORS
defined anywhere.
Also, what affect does this macro have on doxygen?
In User.h:
+public:
+ template
2014 Aug 21
2
pregunta
Buenas noches Javier y José,
Estoy en contra de usar attach(), asi que propongo la siguiente alternativa
con with():
# paquete
require(epicalc)
# los argumentos en ... pasan de epicalc:::cc
# ver ?cc para mas informacion
foo <- function(var1, var2, var3, ...){
or1 <- cc(var1, var2, ...)
or2 <- cc(var1, var3, ...)
list(or1 = or1, or2 = or2)
}
# datos
x <-
2015 Oct 27
2
pregunta
Otras variantes con y sin paquetes adicionales...
> sapply(split(datIn$Gain, as.factor(datIn$Diet)), mean)
d1 d2 d3
280 278 312
> by(datIn$Gain, datIn$Diet, mean)
datIn$Diet: d1
[1] 280
--------------------------------------------------------------
datIn$Diet: d2
[1] 278
--------------------------------------------------------------
datIn$Diet: d3
[1] 312
>
> library(dplyr)
>
2011 Mar 01
2
Entering table with multiple columns & rows
Hi,
I'm having difficulty with getting a table to show with
multiple rows and columns. Below is the commands that I've typed in and
errors that I am getting. Thank you.
Laura
Table trying to enter:
Diet: Binger-yes: Binger-No: Total:
None 24 134 158
Healthy 9 52 61
Unhealthy 23 72 95
Dangerous 12 15 27
>