Dear R-Users,
I have a newbie-question about producing several plots with five variable
pairs within in one code (loop).

Problem:
I define two objects, erveryone has five vectors (columns /variables):

dimensionen <- data.frame(meinspss$attr_diff_gesamt,
meinspss$finanz_diff_gesamt, meinspss$leist_diff_gesamt,
meinspss$soz_diff_gesamt, meinspss$wert_diff_gesamt)
gruppe <- data.frame(meinspss$R1_02, meinspss$R2_02,
meinspss$R3_02,meinspss$R4_02,meinspss$R5_02)

Now I would like to plot five similar graphs (beanplots, boxplots) for every
pair of vectors (dimension by gruppe) . 

This works: box plot (dimensioned) - I receive a plot with 5 boxes.

This does not work: boxplot (Dimensionen ~ Gruppe) - I would like to receive
5 plots

I get the error message: 
Fehler in model.frame.default(formula = dimensionen ~ gruppe) : 
ungültiger Typ (list) für die Variable 'Dimensionen'

Any help is very much appreciated!

Happy Easter
slyrs66

--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-produce-serveral-plots-with-pairs-of-vectors-tp4540968p4540968.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to