Displaying 20 results from an estimated 700 matches similar to: "Sunflower plot error; how to deal with NA"
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
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]]
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
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
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
2007 Feb 05
3
RSNPper SNPinfo and making it handle a vector
If I run an analysis which generates statistical tests on many SNPs I would
naturally want to get more details on the most significant SNPs. Directly
from within R one can get the information by loading RSNPer (from
Bioconductor) and simply issuing a command SNPinfo(2073285). Unfortunately,
the command cannot handle a vector and therefore only wants to do one at a
time.
I tried the lapply and
2009 Jul 19
4
space in column name
I read a table from Microsoft Access using RODBC. Some of the variables had
a name with a space in it.
R has no problem with it but I do.
I cannot find out how to specify the space
names(alltime)
[1] "ID" "LVL7" "Ref Pv No" "Ref Pv Name" "DOS"
"Pt Last Name" "Pt First Name" "MRN"
2006 Jan 17
2
Installing a package yet it will not work.
I want R to read my Microsoft Access database or maybe even a Sybase
database. I installed RODBC or at least thought I did. Then I issued the
following command:
library(RODBC)
And got
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
ReadItem: unknown type 241
In addition: Warning message:
package 'RODBC' was built under R version 2.3.0
Error: package/namespace
2008 Dec 10
2
converting multiple columns from POSIX* to Date
converting a POSIX class variable to a date class is easy.
dates<-as.Date(x) #where X is of class POSIX
How does one do that to all columns in a data frame that are of POSIX
class and leave all the other columns (integers, factors) as is.
Feel free to reply with just one or two buzzwords that I could then
search for to find how to do it.
Farrel Buchinsky
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
| .''`.
2007 Dec 14
6
Analyzing Publications from Pubmed via XML
I would like to track in which journals articles about a particular disease
are being published. Creating a pubmed search is trivial. The search
provides data but obviously not as an R dataframe. I can get the search to
export the data as an xml feed and the xml package seems to be able to read
it.
xmlTreeParse("
2006 Nov 29
2
reshape command is (stats) dropping instances
I would really appreciate it if anyone could determine what is going
on with the following command. It is only half-working and is losing
lots of data. For the life of me I cannot even see the pattern of what
it is losing and what it is not.
I am attaching the R data set which you can use with the Load
Workspace menu function.
2008 Dec 15
3
Reading from Google Docs
I saw a thread from September 24 in which Duncan Temple Lang told us:
- The package currently has no Rd files, but there is a brief "user's
guide". The package is available from
http://www.omegahat.org/RGoogleDocs
I could not find it by using Tinn-R or RGui's package install tool.
Then when I went to the website I saw that package is only available
as
2009 Dec 10
3
Have you used RGoogleDocs and RGoogleData?
Both of these applications fulfill a great need of mine: to read data
directly from google spreadsheets that are private to myself and one or two
collaborators. Thanks to the authors. I had been using RGoogleDocs for the
about 6 months (maybe more) but have had to stop using it in the past month
since for some reason that I do not understand it no longer reads google
spreadsheets. I loved it. Its
2007 Jan 09
3
dimensions of a all objects
Why will the following command not work
sapply(objects(),dim)
What does it say about the objects list? What does it say about the dim
command?
Likewise, the following also does not work
all<-ls()
for (f in all) print(dim(f))
--
Farrel Buchinsky
[[alternative HTML version deleted]]
2007 Oct 02
2
Calculating proportions from a data frame rather than a table
When one has raw data it is easy to create a table of one variable against
another and then calculate proportions
For example
a.nice.table<-table(a,b)
prop.table(a.nice.table,1)
However, I looked at several papers and created a data frame of the
aggregate data. That means I acually created a table except it is a data
frame. The first column lists the name of the first author and the year.
I
2006 May 03
5
Listing Variables
How does one create a vector whose contents is the list of variables in a
dataframe pertaining to a particular pattern?
This is so simple but I cannot find a straightforward answer.
I want to be able to pass the contents of that list to a "for" loop.
So let us assume that one has a dataframe whose name is Data. And let us
assume one had the height of a group of people measured at
2008 Apr 25
2
Differentiate alphanumeric vs numeric strings
I have a bunch of tables in a Microsoft Access database. An updated database
is sent to me every week containing a new table. I know that is inefficient
and weird but welcome to my life. I want to read the tables whose names are
something such as "040207" but not the ones that have alphanumeric names
such as "everyone". Using RODBC I am easily able to create a character
vector
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
2009 Jan 23
2
forward slash vs double backslash R and Tinn-R
I installed the newest version of R and once again ran into problem
with Tinn-R failing when trying to use the R explorer. I had this
problem once before and solved it when I added the following
.trPaths = c(
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/',
'C:/Documents and Settings/fbuchins/Application Data/Tinn-R/tmp/search.txt',
'C:/Documents and