search for: sugar

Displaying 20 results from an estimated 395 matches for "sugar".

2007 Nov 22
3
anova planned comparisons/contrasts
..."sucrose"), each = 10)) length <- c(75, 67, 70, 75, 65, 71, 67, 67, 76, 68, 57, 58, 60, 59, 62, 60, 60, 57, 59, 61, 58, 61, 56, 58, 57, 56, 61, 60, 57, 58, 58, 59, 58, 61, 57, 56, 58, 57, 57, 59, 62, 66, 65, 63, 64, 62, 65, 65, 62, 67) sugars <- data.frame(treatment, length) The basic analysis is easy enough: anova(lm(length ~ treatment, sugars)) S&R proceed to calculate planned comparisons between control and all other groups, between gluc+fruct and the remaining sugars, and among the three pure sugars. I can get the first t...
2008 Jul 16
2
barchart with bars attached to y=0-line
..."Glucose", "Fructose", "Raffinose", "Glycerol", "Galacglycerol", "Threitol", "Galactinol", "Galactitol") Class<-c("aminos","aminos","aminos","aminos","aminos","sugars","sugars","sugars","glycerols","glycerols","sugar alcohols","sugar alcohols","sugar alcohols") set.seed(5) Ratio<-rnorm(13, 0.5, 3) df<-data.frame(Compound, Class,Ratio) library(lattice) P<-barchart(data=df,Ra...
2010 Feb 16
3
error : unused argument(s) when boxplot
Dear all, I am a total beginner in R, so sorry if this is the wrong place. I am using R 2.10.1 on a Mac (Mac OS 10.6.2). I have this small dataset : growth sugar 75 C 72 C 73 C 61 F 67 F 64 F 62 S 63 S I have no problem reading the table, or getting the summary, but if I try boxplot(growth~sugar, ylab="growth", xlab="sugar", data=Dataset), I have the following error : ERROR: unused argument(s) (sugar). Any suggestions ? Thanks...
2007 Oct 13
1
Fwd: [sugar] video encoding
Hi, Is anyone able to help Mr Stoner? -Ivo ---------- Forwarded message ---------- From: Ed Stoner <ed@whsd.net> Date: Oct 9, 2007 5:32 PM Subject: [sugar] video encoding To: sugar@lists.laptop.org I would like to provide the functionality of a "video export" from within an activity I am working on. I'm starting with a png for each frame of the video and would like to do something like: png2yuv -I p -f 25 -j /tmp/*.png >my.yuv ff...
2010 May 11
1
merge two data frames
...TTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "HENRY HUB NATURAL GAS May/10", "ROBUSTA COFFEE (10) Jul/10", "SILVER May/10", "SOYBEANS Jul/10", "SPCL HIGH GRADE ZINC USD", "STANDARD LEAD USD", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/10", "WHEAT Jul/10", "WHEAT May/10"), class = "factor"), pl = c(4.75000000000003, -14, -1.5, 7.75, 3.74999999999999, 5.22500000000005, 21.6999999999998, -0.0490000000000013, 68, 45.300, -8.5, -41, -118, 2.7...
2010 Jun 01
1
data frame manipulation ddply
Dear group, Here is my data frame: futures <- structure(list(DESCRIPTION = c("CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "LIVE CATTLE Aug/10", "LIVE CATTLE Aug/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10" ), CREATED.DATE = structure(c(18403, 18406, 18406, 18406, 18406, 18407, 18408, 18406, 18407, 18407, 18407, 18407), class = "Date"), QUA...
2009 Oct 01
1
inverse currying
Dear list, I have the following function, sugar = function(fun, id = "id"){ ff <- formals(fun) if( id %in% names(ff)) stop("id is part of args(fun)") formals(fun) <- c(unlist(ff), alist(id=)) fun } which one may use on a function foo, foo = function(x){ x } sugar(foo) # results in the extended closure,...
2010 Sep 02
1
Linear models (lme4) - basic question
Hi, Sorry for a basic questions on linear models. I am trying to adjust raw data for both fixed and mixed effects. The data that I output should account for these effects, so that I can use the adjusted data for further analysis. For example, if I have the blood sugar levels for 30 patients, and I know that 'weight' is a fixed effect and that 'height' is a random effect, what I'd want as output is blood sugar levels that have been adjusted for these effects. ==================== library("lme4") sugar <- c(1:10,sample(1:100,2...
2010 Jun 01
3
as.date
Dear group, Here is my df (obtained with a read.csv2()): df <- structure(list(DESCRIPTION = c("COTTON NO.2 Jul/10", "COTTON NO.2 Jul/10", "PALLADIUM Jun/10", "PALLADIUM Jun/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10"), CREATED.DATE = c("13/05/2010", "13/05/2010", "14/05/2010", "14/05/2010", "10/05/2010", "10/05/2010"), QUANITY = c(1, 1, -1, -1, 1, 1), CLOSING.PRICE = c("81.2000", "81....
2010 May 11
1
merging data frame
...16 <- structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 12L), .Label = c("COPPER May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/10", "WHEAT Jul/10", "PRIMARY NICKEL USD", "PRM HGH GD ALUMINIUM USD", "SPCL HIGH GRADE ZINC USD", "STANDARD LEAD USD"), class = "factor"), POSITION = c(2, -3, -2, -2, -18, -3, -5, 1, -...
2009 Dec 31
1
How to interpret some diagnostic output
...know if I have a problem or not. The R script at the end of this email seems to run properly and a I get a boxplot that looks proper but I get the long string of messages during execution of the script looking like: ... The following object(s) are masked from dat ( position 8 ) : sugar The following object(s) are masked from dat ( position 9 ) : sugar The following object(s) are masked from dat ( position 10 ) : sugar ... I have absolutely no idea what they mean. An interprestion or suggestion would be greatly appreciated. Running on Kub...
2010 Jun 01
1
data frame manipulation with zero rows
...kind of data.frame I obtain every day with my function : futures <- structure(list(DESCRIPTION = c("CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "LIVE CATTLE Aug/10", "LIVE CATTLE Aug/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10" ), CREATED.DATE = structure(c(18403, 18406, 18406, 18406, 18406, 18407, 18408, 18406, 18407, 18407, 18407, 18407), class = "Date"), QUA...
2007 Apr 03
0
[946] trunk/wxsugar/samples/sugar-sample.rb: Illustrate enumerable_controls and has_style
...e {border:1px solid #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[946] trunk/wxsugar/samples/sugar-sample.rb: Illustrate enumerable_controls and has_style</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>946</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <d...
2017 Apr 26
2
LibFuzzer syntax sugar flag
Hi All, Recently we have introduced a short syntactic sugar flag for compiling a file with libfuzzer: one just needs to add “-fsanitize=fuzzer” to the command line, and the driver would specify coverage flags and link with libfuzzer automatically. I wanted to ask whether it would make more sense to rename the flag to “-ffuzzer”, as it’s not a sanitizer, and...
2011 Apr 13
0
ordinal predictor in anova
...well be 1, 24, 25, 50,55). Coding it simply as a categorical variable is also not ok because there is a hierarchy between the groups. This is the definition of ordinal variable. I have defined the ordinal variable (the order is from a priori prediction) #NOW DEFINING THE ORDERED VARIABLE: sugars$treatment_ordered<-ordered(sugars$treatment,c("AA", "AB","AC", "AD","AE")) The problem is that when I run the ANOVA or perform model comparison, R is giving me the same results if I use either "treatment" as a predictor in th...
2020 Mar 16
3
GSOC Projects
Hey, I am Swapnil Raj I am student in Trinity College Dublin and I am interested in working on LLVM. I am really interested in two projects listed, the first one is the extending the clang AST with template information and the second is finding smart null pointer dereferences. I am passionate about compilers and interpreters, I have written a few small language based on lambda calculus. I am
2007 Jun 14
1
Sugar Auto-Dial with Asterisk?
Before I go and start coding.... is anyone aware of an auto-dialer plugin for Sugar CRM that will allow me to click a button when I'm in someone's account and have my phone ring and then connect me to them? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070614/fa000766/attachmen...
2007 Feb 20
1
sugar constructor error
I tried out the sugar. The following code crashes: require ''rubygems'' require ''wx'' require ''wx_sugar/all'' frame = Wx::Frame.new(nil, :title => "Text") panel = Wx::Panel.new(frame) With the following error. 0.1.13/lib/wx_sugar/keyword_constructors.rb:...
2010 Apr 29
3
convert Factor as numeric
...before you reply I must say I have read the R-FAQ and search the mailing list archive. I still can't manage to change my factor to numeric as I couldn't find any clear answer. Here is my df : Pose1 <- structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L, 8L), .Label = c(" SUGAR NO.11 May/10 ", "COTTON NO.2 May/10 ", "PLATINUM Jul/10 ", "ROBUSTA COFFEE (10) May/10 ", "WHEAT May/10 ", "PRIMARY NICKEL USD", "PRM HGH GD ALUMINIUM USD", "SPCL HIGH GRADE ZINC USD", "STANDARD LEAD USD"), clas...
2008 Jan 19
5
"should_not ==" vs "should !="
describe "should_not == vs. should !=" it do 5.should_not == 6 end # passes it do 5.should != 6 end # fails end # I''m running the rspec 1.1.2 gem with the corresponding Textmate bundle # The second failure surprises me. # Is != not supported? # I''d like to hear what you all think. -------------- next part -------------- An HTML attachment was