Displaying 20 results from an estimated 38 matches for "sunflowerplots".
Did you mean:
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
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
| .''`.
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)
sunflowerplot(fa, fz)
# okay, but:
r <- xyTable(fa, fz)
length(r$x)==length(r$y)
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
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 that this would be
relatively
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
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( galton), and then ungrouped (galton2):
galton <-
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 source
2006 Apr 04
1
Grid graphics issues
Hi all --
So I'm trying to use lattice 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
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
Hello,
I apologize that this is off-topic. I am seeking information on
perception of graphical data, in an effort to improve the plots I
produce. Would anyone point me to literature reviews in this area? (Or
keywords to try on google?) Is this located somewhere near cognitive
science, psychology, human factors research?
For example, some specific questions I have are:
I recall as a child
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
In the HistData package, I have a data frame, PearsonLee, containing
observations on heights of parent and child, in weighted form:
library(HistData)
> str(PearsonLee)
'data.frame': 746 obs. of 6 variables:
$ child : num 59.5 59.5 59.5 60.5 60.5 61.5 61.5 61.5 61.5 61.5 ...
$ parent : num 62.5 63.5 64.5 62.5 66.5 59.5 60.5 62.5 63.5 64.5 ...
$ frequency: num 0.5 0.5
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
Goal: adjust overlapping 'text' items in plot so they are legible
I have located 'space' as one possible technique for decluttering
text positions on a plot. I would rather not jitter the plot point, just
the text nearby.
Are there other techniques or functions available that declutters a plot
using 'text'?
Perhaps an arrow or a line to the plot mark could be used to
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