Skip to content
Back to formatted view

Raw Message

Message-ID: <511B5116020000C20015CA0B@gwdom.calvin.edu>
Date: 2013-02-13T13:38:46Z
From: Michael Stob
Subject: densityplot(~x+y) for vectors of different lengths does what?

densityplot(~x+y) does what I expect it to do if x and y have equal length.  I know how to get what I want if x and y have different lengths.   But what is this actually doing if x and y have different lengths?    The relevant example is
 
x=rnorm(10)
y=rnorm(50,1)
densityplot(~x+y)