Displaying 13 results from an estimated 13 matches for "cdplot".
2011 Aug 03
2
cdplot error
Fairly new at this.
Trying to create a conditional density plot.
>cdplot(status~harvd.l,data=phy)
Error in cdplot.formula(status~harvd.l,data=phy):
dependent variable should be a factor
What does this error mean? Status is a binary response of infestation (0/1)
and harvd.l is the log of timber harvest density per catchment.
Thanks.
--
View this message in context: h...
2009 Oct 01
1
cdplot????
I am having difficulties interpreting a cdplot, I have a binary variable y
that I want to cdplot against a continuous variable x,below is the R command
cdplot(y~x, data=mydata)
you get a plot with a dark shaded area and a light shaded area. what do
these areas mean? and how to interpret the plot?
you help is greatly appreciated
--
View t...
2011 Apr 11
2
ordered logistic regression - cdplot and polr
Hi,
I have a dataset that I am trying to analyze and plot as an ordered logistic
regression (y = ordinal categories 1-3, x = continuous variable with values
3-9).
First is a problem with cdplot:
Produces a beautiful plot, with the "right" trend, but my independent factor
values are transformed. The factor has values from 3-9, but the plot
produces an x-axis with values from 20-140. When I force the xlim to be
3-9, it produces a plot without the trend, which can't be correc...
2010 May 13
1
cdplot() with 'POSIXct' x
Hi,
Given that cdplot() is used to produce the conditional density of a
categorical y along a numerical x, it seems natural that it could be
used with a date or time x (such as 'POSIXct'). Is this desirable? If
so, I've created a patch that would allow this, by coercing the POSIXct
x variable to produce th...
2011 May 26
2
Plot binomial regression line
Dear all,
I am quite new with R and I have a problem with plotting a binomial
regression line in a plot.
This is what I type in:
> model<-glm(Para~Size,binomial)
> par(mfrow=c(1,1))
> xv<-seq(3.2,4.5,0.01)
> yv<-predict(model,list(area=xv),type="response")
> plot(Size,Para)
> lines(xv,yv)
The error message that I get is:
> Error in xy.coords(x, y) :
2006 Mar 23
1
comparative density estimates
I have two series of events over time and I want to construct a graph of the
relative frequency/density of these events that allows their
distributions to
be sensibly compared. The events are the milestones items in my project on
milestones in the history of data visualization [1], and I want to
compare trends
in Europe vs. North America.
I decided to use a graph of two overlaid density
2020 Apr 24
0
R 4.0.0 is released
...ed objects from
earlier versions may need to be recomputed.
* The default for pdf() is now useDingbats = FALSE.
* The default fill colour for hist() and boxplot() is now col =
"lightgray".
* The default order of the levels on the y-axis for spineplot() and
cdplot() has been reversed.
* If the R_ALWAYS_INSTALL_TESTS environment variable is set to a
true value, R CMD INSTALL behaves as if the --install-tests
option is always specified. Thanks to Reinhold Koch for the
suggestion.
* New function R_user_dir() in package tools suggests...
2020 Apr 24
0
R 4.0.0 is released
...ed objects from
earlier versions may need to be recomputed.
* The default for pdf() is now useDingbats = FALSE.
* The default fill colour for hist() and boxplot() is now col =
"lightgray".
* The default order of the levels on the y-axis for spineplot() and
cdplot() has been reversed.
* If the R_ALWAYS_INSTALL_TESTS environment variable is set to a
true value, R CMD INSTALL behaves as if the --install-tests
option is always specified. Thanks to Reinhold Koch for the
suggestion.
* New function R_user_dir() in package tools suggests...
2020 Apr 24
0
R 4.0.0 is released
...ed objects from
earlier versions may need to be recomputed.
* The default for pdf() is now useDingbats = FALSE.
* The default fill colour for hist() and boxplot() is now col =
"lightgray".
* The default order of the levels on the y-axis for spineplot() and
cdplot() has been reversed.
* If the R_ALWAYS_INSTALL_TESTS environment variable is set to a
true value, R CMD INSTALL behaves as if the --install-tests
option is always specified. Thanks to Reinhold Koch for the
suggestion.
* New function R_user_dir() in package tools suggests...
2005 Oct 06
0
R-2.2.0 is released
...unlike R).
o Experimental versions of cbind() and rbind() in methods package,
based on new generic function cbind2(x,y) and rbind2(). This will
allow the equivalent of S4 methods for cbind() and rbind() ---
currently only after an explicit activation call, see ?cbind2.
o New functions cdplot() and spineplot() for conditional density
plots and spine plots or spinograms. Spine plots are now used
instead of bar plots for x-y scatterplots where y is a factor.
o checkDocFiles() in package 'tools' now checks for bad \usage
lines (syntactically invalid R code)....
2005 Oct 06
0
R-2.2.0 is released
...unlike R).
o Experimental versions of cbind() and rbind() in methods package,
based on new generic function cbind2(x,y) and rbind2(). This will
allow the equivalent of S4 methods for cbind() and rbind() ---
currently only after an explicit activation call, see ?cbind2.
o New functions cdplot() and spineplot() for conditional density
plots and spine plots or spinograms. Spine plots are now used
instead of bar plots for x-y scatterplots where y is a factor.
o checkDocFiles() in package 'tools' now checks for bad \usage
lines (syntactically invalid R code)....
2007 Oct 03
1
R-2.6.0 is released
...result being coerced to the type of 'nomatch').
o match.call() no longer 'works' outside a function unless
'definition' is supplied. (Under some circumstances it used
to 'work', matching itself.)
o The formula methods of boxplot, cdplot, pairs and spineplot
now attach 'stats' so that model.frame() is visible where
they evaluate it.
o Date-time objects are no longer regarded as numeric by
is.numeric().
o methods("Math") did not work if 'methods' was not attached....
2007 Oct 03
1
R-2.6.0 is released
...result being coerced to the type of 'nomatch').
o match.call() no longer 'works' outside a function unless
'definition' is supplied. (Under some circumstances it used
to 'work', matching itself.)
o The formula methods of boxplot, cdplot, pairs and spineplot
now attach 'stats' so that model.frame() is visible where
they evaluate it.
o Date-time objects are no longer regarded as numeric by
is.numeric().
o methods("Math") did not work if 'methods' was not attached....