search for: juliet

Displaying 20 results from an estimated 95 matches for "juliet".

Did you mean: julien
2008 Aug 23
3
graphs for pretest data
...gment' plot for the data. That is, make segments joining the scores, with different types of segments for men and women. Example data: menpre <- c(43,42,26,39,60,60,46) menpost <- c(40,41,36,42,54,58,43) womenpre <- c(46,56,81,56,70,70) womenpost <- c(44,52,81,59,69,68) Thanks! Juliet
2008 Jul 09
3
randomly select duplicated entries
...ble(textConnection("Id myvar 12 1 12 2 12 6 34 9 34 4 34 8 65 15 65 23"), header = TRUE) closeAllConnections() how can I create another data set that does not have duplicate entries for 'Id', but the included values are randomly selected from the available ones. Thanks! Juliet
2010 Jul 15
2
replace negative numbers by smallest positive value in matrix
Hi Group, I have a matrix, and I would like to replace numbers less than 0 by the smallest minimum number. Below is an small matrix, and the loop I used. I would like to get suggestions on the "R way" to do this. Thanks, Juliet # example data set mymat <- structure(c(-0.503183609420937, 0.179063475173256, 0.130473004669938, -1.80825226960127, -0.794910626384209, 1.03857280868547, 0.362120146065799, -2.01124119488992, -1.49083525457822, -0.356354715035589, -0.306686279071398, 0.0789120002882668, 1.50314029609087, -0.0...
2009 Mar 07
6
using a noisy variable in regression (not an R question)
...that there is information there to use. One simple thing to try would be to form categories, but I assume there are better ways to handle this. Has anyone worked with such data, or could anyone suggest some keywords that may be helpful in searching for this topic. Thanks for your input. Regards, Juliet
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
...togram",binwidth=.01) What are ways to put these three plots on a single page and label them A, B, and C. In general, do you use R directly for these tasks, or do you use an image editor? If you use an editor, which one do you use? I'm working on Windows. Thanks for your time. Regards, Juliet
2007 Sep 24
2
Getting host IP address?
...ables via Puppet, & can use a template but need to get the IP address into the template somehow. I''m getting my node definitions (& thus classes) from LDAP. I know that I could define a separate class for each node, but I''m not particularly keen to do that. thanks, Juliet -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Ms Juliet Kemp + + Computer Manager star@imperial.ac.uk + + Astrophysics Group + + Imperial College...
2012 Mar 21
2
glmnet: obtain predictions using predict and also by extracting coefficients
...the predict function and also by multiplying coefficients by the variable matrix. This is not worked out. Could anyone suggest where I am going wrong? I understand that I may not have the mean/intercept correct, but the scaling is also off, which suggests a bigger mistake. Thanks for your help. Juliet Hannah library(ElemStatLearn) library(glmnet) data(prostate) # training data data.train <- prostate[prostate$train,] y <- data.train$lpsa # isolate predictors data.train <- as.matrix(data.train[,-c(9,10)]) # test data data.test <- prostate[!prostate$train,] data.test <- as.mat...
2008 Sep 22
2
adding layers in ggplot2 (data and code included)
...F). However, I am unable to have the plots together. I obtain the following error: > p + geom_point(aes(colour=factor(Group),shape=factor(Group)))+geom_smooth(aes(group=factor(Group),color=factor(Group)),method=lm,se=F) Error in `[.data.frame`(df, , var) : undefined columns selected Thanks, Juliet
2009 Jan 24
2
how to prevent duplications of data within a loop
...have reason to believe that the data is being duplicated because I have been monitoring the memory use on unix. How can I avoid this? Here is an example of how I am going about this. For lm, I also tried model=FALSE, but this did not seem to do the job. Any ideas? Thanks for your time. Regards, Juliet # create data set.seed(1) response <- rnorm(50) var1 <- rnorm(50) var2 <- rnorm(50) var3 <- rnorm(50) myData <- data.frame(response,var1,var2,var3) var.names <- names(myData)[2:4] numVars <- length(var.names) betas <- rep(-1,numVars) names(betas) <- var.names #run reg...
2009 Apr 20
3
what is R best for; what should one learn in addition to R
...outside of R. What do you use, and what kinds of applications require you to use something other than R? I have some experience with Java, C++, and Perl. Where would you suggest that I concentrate my efforts so that if R does not handle what I need well, I will be equipped to handle it. Thanks, Juliet
2008 Nov 19
2
ggplot2; dot plot, jitter, and error bars
...r, inherits = TRUE)(PositionJitter, : unused argument(s) (xjitter = 2) Any suggestions on how to plot this. I could create the separation in the x-axis (0,0.2,1,1.2,2,2.2). If so, how could I relable the axis ("Low","Med","High") in ggplot2. Thanks for your help. Juliet
2007 Nov 13
6
Facter and arrays
...0(rw,sync,no_root_squash) /local2 155.198.204.0/255.255.255.0(rw,sync,no_root_squash) which is what I''m after. I''m using 0.20.1 (from Debian etch). Am I doing something wrong, or is this not possible? If the latter - any suggestions as to alternative ways of managing this? Juliet -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Ms Juliet Kemp + + Computer Manager star@imperial.ac.uk + + Astrophysics Group + + Imperial College...
2007 Oct 09
2
Failure to find definition
...ion site in file /etc/puppet/manifests/nodes/webserver.pp at line 14 I''m referring to the definition as site rather than apache2::site, because the latter gave a config error. Might this be the problem? I''m running 0.20.1 (Debian stable). Thanks for any help you can offer! Juliet webserver.pp: class webserver { $enabledsites = [ "astro.ic.ac.uk"] $disabledsites = [ ] site { $enabledsites: ensure => ''present'', needpackages => "apache";...
2009 Feb 08
2
how to make this qq plot in lattice and/or ggplot2
...-log(u,base=10) qqplot(logp,logu) How can I make the above qqplot in lattice and/or ggplot2. The sample is uniform, and I take -log10. In addition, I would like to use the group variable to condition. I was not able to get the stat_qq function in ggplot2 to work. Thanks for your time. Regards, Juliet
2010 Jan 30
2
convert data frame of values into correlation matrix
...ot;A","B","C") corrmat A B C A 1.0 0.8 0.7 B 0.8 1.0 0.7 C 0.7 0.7 1.0 The solution I have is the one above where I rearrange the data so that I can just use matrix() on one of the columns. I am looking for a solution in which I don't have to do this. Thanks, Juliet
2011 Aug 11
3
improve formatting of HTML table
I am trying to improve the look of an HTML table for a report (that needs to be pasted into Word). Here is an example. table2 <- structure(c(26L, 0L, 40L, 0L, 10L, 0L, 0L, 188L, 0L, 281L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 4L), .Dim = c(6L, 3L), .Dimnames = structure(list( myvar = c("Don't know", "Somewhat likely", "Somewhat unlikely", "Very
2008 Sep 15
1
modifying this barplot
...quot;),ylim = c(1,0.0001),log="y",plot.grid = TRUE, legend=rownames(ratios)) I would like the y axis to range from 1 to 0.0001 (decreasing and not written in scientific notation), and be on a log10 scale. In addition, how can I control the position of the legend. Thanks for your time! Juliet
2008 Sep 19
1
reproduce this graph in ggplot2 (code and data included)
How can I reproduce this graph in ggplot2 (regression lines and data point superimposed). Thanks, Juliet filename="http://personality-project.org/r/datasets/heating.txt" heating=read.table(filename,header=TRUE) symb=c(19,25,3,23) colors=c("black","red","green","blue") plot(degreedays,therms,pch=symb[Location],col=colors[Location],bg=colors[Location],c...
2007 Nov 12
2
distribution CD
Hi All, I am trying to create own distribution . distribution CD proceeds for installation and asking for the driver CD . But it's not dictates the driver CD. i customized the ks.cfg also .can anyone can tell me why it is happening ?? Thanks in advance juliet
2003 Jan 20
1
[OT} Speakeasy.net
...about switching out of Comast's clutches to another high-speed service. I've tried TDS DSL, but they were half the speed comast was/is. I''ve looked into Speakeasy, since I heard a few of ya talking about them. Since I had TDS, that kinda tells me I can get DSL. I live in Mount Juliet, on MT juliet road, behind the Arbys/Captain Dee's area. Any other ideas? Thanks :) Darin