[R] Error from Rcmdr when trying to make a density plot
Ashim Kapoor
ashimkapoor at gmail.com
Sat Jun 4 11:32:57 CEST 2016
Dear Peter,
Many thanks.
Now when i do :-
library(stats)
data(Anscombe, package="car")
densityPlot( ~ income, data=Anscombe, bw="SJ", adjust=1, kernel="gaussian")
I get the output of rug on the x axis but not kernel density graph.
Also I get :-
[1] NOTE: R Commander Version 2.2-0: Sat Jun 4 14:58:57 2016
[2] NOTE:
Rcmdr Version 2.2-0
[3] NOTE: The dataset Anscombe has 51 rows and 4 columns.
[4] ERROR:
could not find function "grid"
Best Regards,
Ashim
On Sat, Jun 4, 2016 at 2:50 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> > On 04 Jun 2016, at 09:09 , Ashim Kapoor <ashimkapoor at gmail.com> wrote:
> >
> [...]
>
> > [4] ERROR:
> > could not find function "model.frame"
> >
> >
> > My session details are :-
> >
> >> sessionInfo()
> > [...]
> > attached base packages:
> > [1] splines utils grDevices base
>
> Looks like you somehow managed to detach (or not attach) the stats
> package. Don't...
>
> -pd
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
>
>
>
>
>
>
>
>
>
>
[[alternative HTML version deleted]]
More information about the R-help
mailing list