Displaying 5 results from an estimated 5 matches for "carcolors".
2003 Jan 03
1
Take care with codes()! (was type of representation)
Ahh yes, sorry about that.
Here's the corrected snippet:
# Create an Example Data Frame Containing Car x Color data
carnames <- c("bmw","renault","mercedes","seat")
carcolors <- c("red","white","silver","green")
datavals <- round(rnorm(16, mean=10, sd=4),1)
data <- data.frame(Car=rep(carnames,4),
Color=rep(carcolors, c(4,4,4,4) ),
Value=datavals )
# show the data
data
# plot the Car...
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
...reate an Example Data Frame Containing Car x Color data, with long car
names
carnames <- c("BMW: High End, German",
"Renault: Medium End, French",
"Mercedes: High End, German",
"Seat: Imaginary, Unknown Producer")
carcolors <- c("red","white","silver","green")
datavals <- round(rnorm(16, mean=100, sd=60),1)
data <- data.frame(Car=rep(carnames,4),
Color=rep(carcolors, c(4,4,4,4) ),
Value=datavals )
# generate balloon plot with defau...
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
...regory R wrote:
> > Ahh yes, sorry about that.
> >
> > Here's the corrected snippet:
> >
> > # Create an Example Data Frame Containing Car x Color data
> > carnames <- c("bmw","renault","mercedes","seat")
> > carcolors <- c("red","white","silver","green")
> > datavals <- round(rnorm(16, mean=10, sd=4),1)
> > data <- data.frame(Car=rep(carnames,4),
> > Color=rep(carcolors, c(4,4,4,4) ),
> > Value=datavals...
2003 Jan 03
2
type of representation
Hi
I have some data that i want to plot but i don't find how to do it. I have car
types (bmw,renault,mercedes,seat ...), colors and a number for each car
type-color relation.I want to come up with a matrix representation of cars vs
colors where in each intersection i could set a dot proportional in size to my
third variable.
Can anybody give me a clue of hoe to come up with such
2006 Mar 18
0
No subject
...ls are in alphabetical order (in the locale in use).
On Fri, 3 Jan 2003, Warnes, Gregory R wrote:
> How about this snippet:
>
> # Create an Example Data Frame Containing Car x Color data
> carnames <- c("bmw","renault","mercedes","seat")
> carcolors <- c("red","white","silver","green")
> datavals <- round(rnorm(16, mean=10, sd=4),1)
> data <- data.frame(Car=rep(carnames,4),
> Color=rep(carcolors, c(4,4,4,4) ),
> Value=datavals )
> # show the d...