Displaying 20 results from an estimated 38 matches for "sunflowerplot".
2012 Jun 27
4
formula version of sunflowerplot() fails when axis label specified
Hello, R-help,
does anybody have already a work-around for the problem that the formula
version of sunflowerplot() throws an error when provided with a value for
xlab (or ylab) different from NULL:
> sunflowerplot( Sepal.Length ~ Sepal.Width, data = iris, xlab = "A")
Error in model.frame.default(formula = Sepal.Length ~ Sepal.Width, data = iris, :
variable lengths differ (found for '(xl...
2007 Aug 14
2
Using sunflowerplot to add points in a xyplot panel
Hi,
I use panel.points to add points to a xyplot graphic. But I like to use the
sunflowerplot to plot my points because this is very superimposed. It is
possible to use this? I try but it dont work directly. It may be need to put
this function inside a panel.???
Thanks
Ronaldo
--
Where there's a will, there's a relative.
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMON...
2009 Mar 19
0
sunflowerplot error
A sunflowerplot crossing two categorial variables with NAs fails:
### sample: start ###
set.seed(20)
a <- c(letters[1:4])
z <- c(letters[23:26])
fa <- factor(sample(rep.int(a, 1000), 100, replace=T), levels=a,
ordered=T)
fz <- factor(sample(rep.int(z, 1000), 100, replace=T), levels=z,
ordered=T)
s...
2006 Nov 24
1
Sunflower plot error; how to deal with NA
I suspect the problem stems from the fact that there are a couple of NA
values.
> sunflowerplot(lastoto,maxear)
Error in rep.int(i.multi, number[number > 1]) :
invalid number of copies in rep.int()
So I used the subset command to get rid of the cases with NA
hell<-subset(ChinOtoMayB,is.na(lastoto)==FALSE)
Then it worked perfectly
sunflowerplot(hell$lastoto,hell$maxear)
Is t...
2017 Jul 16
3
label sunflower point
Hi,
I create a plot using sunflowerplot, I need to highlight one point to show
its importance. What suggestion you have to accomplish this?
Thanks,
Aden
[[alternative HTML version deleted]]
2011 Dec 12
2
Colours for sunflowerplot
Dear fellow R users,
I would like to draw a "sunflowerplot" because I have data (decade by
month) that plots multiple times on the same x-y co-ordinates. Further I
would like to colour each of the points/sunflower leaves on the plot
according to the group they belong to (i.e. which type of event each
represents within that decade and month). I thought...
2012 Mar 13
1
sunflower plot, making vectors?
I'm having a bit of trouble finding and understanding the correct function to
make numeric vectors to feed the sunflowerplot function. I have 33k points
to show and I want to do better than the standard scatter plot.
I gather that I need two vectors (x and y) of the same count containing the
"center" value of each bin.
FYI - I have two pieces of data:
1 - x axis - time in days of the year from 0 to 363.98
2 -...
2004 Feb 20
3
problem with abline for x.y
I'm trying to do a sunflowerplot of Galton's data, with both regression
lines and data ellipses,
and I must be doing something wrong, because the lines do not intersect
at \bar{x}, \bar{y}.
The problem is likely in the line for x.y, but I don't know how to
specify that correctly.
The data is read in grouped form( galto...
2017 Jul 17
0
label sunflower point
On 7/16/2017 9:36 AM, Nada Gh wrote:
> Hi,
>
> I create a plot using sunflowerplot, I need to highlight one point to show
> its importance. What suggestion you have to accomplish this?
>
> Thanks,
In general, the way to answer such a question for yourself is to read
the documentation for arguments related to observation plot attributes,
then, if necessary, read the so...
2006 Apr 04
1
Grid graphics issues
...e graphics, but I want to use a
sunflower plot, which doesn't seem to be part of lattice. No problem,
I put together the following code, which mostly works -- *except* for
the first graph it generates. If it opens the graphic device, then it
draws the xygrid, clears the device, then draws the sunflowerplot.
All subsequent output operations work fine, as does rerunning the code
with the graphic device open.
What's going on? How can I fix this? I tried looking through the
family of dev.* to no success. I can use trellis.device to open the
device, but that causes the same problem.
-- Chris...
2003 Jan 03
4
number plot symbol in scatterplot?
If I make a scatterplot and several (e.g. 5) points lie on top of each other
at a given x,y location I would like the plot symbol to be the number of
superimposed points (e.g. "5"). Could someone please tell me how to do this
in R? Thanks!
Bill Simpson
2006 Feb 17
4
showing the integrated number by point size
Is there any function to show the points like this example of SPSS?
http://biostatistic.de/temp/reg.jpg
The point size should represent the number of data at this point.
with regards
Knut Krueger
2007 Aug 24
4
perception of graphical data
...heights on a bar graph? (What about areas in bar
graphs with non-uniform widths?)
Scatter plots of microarray data often attempt to represent thousands or
tens of thousands of points, but all I read from them are density and
distribution --- the gene names cannot be shown. At what point, would a
sunflowerplot-like display or a smooth gradient be better? When two
data points drawn as 50% gray disks are small and tangent, are they
perceptually equivalent to a single, 100% black disk? Or a 50% gray
disk with twice the area? What problems are known about plotting with
disks --- do viewers use the area or...
2005 Jul 21
2
bubble.plot() - standardize size of unit circle
Hello,
I wrote a wrapper for symbols() that produces a
bivariate bubble plot, for use when plot(x,y) hides
multiple occurrences of the same x,y combination (e.g.
if x,y are integers).
Circle area ~ counts per bin, and circle size is
controlled by 'scale'.
Question: how can I automatically make the smallest
circle the same size as a standard plot character,
rather than having to
2007 Dec 18
9
Scatterplot Showing All Points
Hello all,
I'm trying to graph a scatterplot of a large (5,000 x,y coordinates) of data
with the caveat that many of the data points overlap with each other (share the
same x AND y coordinates). In using the usual "plot" command,
> plot(education, xlab="etc", ylab="etc")
it seems that the overlap of points is not shown in the graph. Namely, there
are
2011 Oct 21
1
lattice::xyplot/ggplot2: plotting weighted data frames with lmline and smooth
...ot;, ...)
panel.smooth(x, y, col="red", ...)
}
)
The following, using base graphics, illustrates the difference between
the weighted and unweighted lines,
for the total data frame:
with(PearsonLee,
{
lim <- c(55,80)
xv <- seq(55,80, .5)
sunflowerplot(parent,child, number=frequency, xlim=lim, ylim=lim,
seg.col="gray", size=.1)
# unweighted
abline(lm(child ~ parent), col="green", lwd=2)
lines(xv, predict(loess(child ~ parent), data.frame(parent=xv)),
col="green", lwd=2)
# weighted
abline(lm...
2007 Nov 23
4
PCA with NA
Dear all,
(Mac OS X 10.4.11, R 2.6.0)
I have a quantitative dataset with a lot of Na?s in it. So many, that
it is not possible to delete all rows with NA?s and also not
possible, to delete all variables with NA?s.
Is there a function for a principal component analysis, that can deal
with so many NA?s.
Thanks in advance
Birgit
Birgit Lemcke
Institut f?r Systematische Botanik
2004 Dec 19
0
Plotting and Decluttering Text
...le below. A plotdensity value of 150 or so
will give a better visualization of the issue.
Thanks.
# EXAMPLE VIEW
plotdensity<-150
x1<-rnorm(plotdensity)
y1<-rnorm(plotdensity)
plot(x1,y1)
textLabels <- as.character(1:plotdensity)
text(x1,y1,textLabels,pos=1)
==
I have also reviewed sunflowerplot.
2005 Jul 13
3
plot the number of replicates at the same point
Dear R-helper,
I want to plot the following-like data:
x y
1 1
1 1
1 2
1 3
1 3
1 4
......
In the plot that produced, I don't want to show the
usual circles or points. Instead, I want to show the
number of replicates at that point. e.g. at the
position of (1,1), there are 2 obsevations, so a
number '2' will be displayed in the plot.
Is my narrative clear? Is there a way to make the
2008 Aug 21
1
HELP: how to add weight to a [x,y] coordinate
Anyone who can help me with the following question?
How can I add weight to [x,y] coordinates on a graph/scatterplot?
Background:
Monte Carlo simulation generated 730,000 [x,y] coordinates with a weight attached (from 0-0.5).
Both x and y are rounded and fit on a raster with x-axis 0-170 months (smalles unit = 1 month) and y-axis 0-6 (smallest unit=0.1).
I would like every [x,y] to add its