search for: vvs1

Displaying 5 results from an estimated 5 matches for "vvs1".

Did you mean: vvs
2009 Dec 16
4
Creating Dummy Variables in R
Hi, I am trying to create a set of dummy variables to use within a multiple linear regression and am unable to find the codes within the manuals. For example i have: Price Weight Clarity IF VVS1 VVS2 500 8 1 0 0 1000 5.2 0 0 1 864 3 0 1 0 340 2.6 0 0 1 90 0.5 1 0 0 450 2.3 0 1 0 Where...
2010 Apr 07
1
ggplot2, density barplot and geom_point layer
...ot;clarity"]]=="VS2","clarity"] <- 4 myDiamonds[myDiamonds[["clarity"]]=="VS1","clarity"] <- 5 myDiamonds[myDiamonds[["clarity"]]=="VVS2","clarity"] <- 6 myDiamonds[myDiamonds[["clarity"]]=="VVS1","clarity"] <- 7 myDiamonds[myDiamonds[["clarity"]]=="IF","clarity"] <- 8 myDiamonds[["clarity"]] <- as.numeric(myDiamonds[["clarity"]]) # Calculate medians medians <- ddply( myDiamonds, .(cut), summarize, med=...
2010 Dec 07
2
tableGrob and properties of a cell
Hello there, could you please help to modify gpar() properties of a cell inside tableGrob() output. In the following example I want to have different color for one out of 4 cells require(gridExtra) z<-matrix(1:4,2,2) grid.draw(tableGrob(z)) The only way I found for now how to do it is to do something like this downViewport(current.vpTree()$children[[1]]$children[[6]]$name)
2009 Sep 17
3
latex code in R -> convert to pdf
hi, is it possible to convert latex code to pdf in R (like a latex-program would do it)? Is there a package that comes with this capabilities? My problem is that I want to generate tables automatically - and I can't use a latex editor at that computer ... Besides latex ... are there good ways to generate tables in R? thanks for any suggestions!
2009 Aug 17
1
help simplifying complex graphic arguments to a function
I'm working on a package to produce graphic displays of 2- and 3-way tables and need some help/advice on how to simplify the specification of a complex argument that gives the drawing details for each cell of the table. Prototypes of two functions, 'tableplot' and 'cellgram' are given below. The essential idea is that for a given table ('values'), the cells can be be