Displaying 20 results from an estimated 2000 matches similar to: "Help to Draw Plot"
2008 May 19
2
Draw Polygon with a Circular Side
Hello Friends!!!
I would want draw a circular histogram, and I would like draw a polygon with
a circular side. This is easy if I use the functions polygon and arc, but I
want that the polygon with a circular side have background colour. The
polygon created with function polygon can have background colour, but the
surface created with function arc can?t have background colour.
How I could create a
2008 May 19
2
i want to export a data.frame to file.xls
in order to export a data.frame to sheet.xls i try:
write(df,file="file_name.xls")
but when i open it a message appears:
"impossible to oppen this file. her format is unvalid"
knowen that i work with excel_2007
what is the solution ?
--
View this message in context: http://www.nabble.com/i-want-to-export-a-data.frame-to-file.xls-tp17326119p17326119.html
Sent from the R
2008 Jun 08
3
how to important a date file into R
Hi:
I have a data file in the following format. The first three digits stand for the ID of a respondent such as 402, 403. Different respondents may have the same ID. Followed the ID are 298 single digit number ranging from 1 to 5. My question is how to read this data file into R. I tried "scan" and "read" but they do not work because the numbers in the file are not
2009 Jan 23
2
R startup and shutdown question
Hi R-Community:
Here is what I want to do:
Every time I start R I want R to:
1. remove(list=ls()), and
2. "source" another file automatically.
Then, when I shutdown R, I want R to:
1. remove(list=ls())
How do I do this?
I recall vaguely that S could do this, but I don't remember exactly how
it worked.
Thanks for your help!
Phil Smith
2008 May 28
1
Unnecssary warnings in plot function (PR#11530)
Full_Name: Joseph Amuah
Version: 2.7.0 (2008-04-22)
OS: Windows
Submission from: (NULL) (205.207.78.4)
I used the plot function to create some graphs but wanted to add soem
restrictions. A set of warning were produced even though the plot worked fine.
Can these warnings be cleaned up? Here is an example:
***************************************
> plot(xx$month, xx$log10RR, xlab="",
2008 Sep 04
1
Interpolation Function f(y)
Hello friends!!!
I have a list of values called y.
The list is y=c(221.0, 212.0, 206.0, 202.7, 198.4, 195.1, 192.2, 189.7,
187.6, 185.8);
y is f(x) and x=c(10,20,30,40,50,60,70,80,90,100).
I only have x and y. I don?t know f(x). I would like interpolate f(x) to
obtain other values as f(15), f(25), f(35) and if it was possible obtain
f(110), f(120).
is there any function that allow me obtain
2003 Oct 28
1
'levelplot' with an option 'at'
Hi all,
I encountered a difference between versions 1.6.1 and 1.7.0 when using
levelplot with an option 'at'. Here are the specs of the two platforms
used:
> R.version
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 6.1
year 2002
month 11
day 01
language R
> R.version
_
platform
2008 Mar 19
1
Radio Buttons or similars
Hello companions!!!
I have a function that creates a Radio Buttons, and I need that this
function return the selected value in the Radio Buttons. I would like that,
if somebody know as I could return the value, you say me as do it.
Next, I show the function
function1<-function(){
require(tcltk)
tt <- tktoplevel()
rb1 <- tkradiobutton(tt)
rb2 <- tkradiobutton(tt)
rbValue <-
2008 Apr 19
7
Re ad From EXCEL
Hello!!!
I have been read a much about as read data from Excel File, but I haven?t
found the necesary information to read the data.
Now, I can create a channel : channel <- odbcConnectExcel("file.xls") but I
don?t know as read the data??
I hope that you could help me. Thank you very much.
--
View this message in context:
2008 Sep 25
5
Dot plot - equivalent of MINITAB
hi folks,
Bit of a newbie, but I've spent a fair bit of time looking for an answer on
this, with no joy. Can anyone help me?
Dataset: A single column of values in a csv file (eg. 52, 53, 54, 85, etc)
Goal: In Minitab, you have what they call a dot plot. It's a histogram,
where a single dot represents a set of identical values (eg. 57, 57, 57
would be one dot). Multiple dots are
2012 Nov 28
2
output data by date?
Dear Helpers,
I have a dataset X, with no missing values, everything is in order, R reads
it correctly, and I have already done some statistical analyses on the
dataset. The data are in order by date (six sampling dates in one year,
earliest to latest) and I now want to generate boxplots for each parameter
for each date.
However, R outputs the boxplots in some order that I do not understand (eg.
2009 Sep 21
9
Handling missing data
I have to remove missing data both in character and numeric datatype.I tried
using NA condition but it is not working ,please help me to solve this.
--
View this message in context: http://www.nabble.com/Handling-missing-data-tp25530192p25530192.html
Sent from the R help mailing list archive at Nabble.com.
2008 Mar 06
2
CREATE INTERFACE TO SELECT DIFERENT OPTIONS
Hello, I?m spanish student, and I?m making the finish project of computer
science. I?m working in R and I need create a Interface which allow me
select diferents execution options (similar to a menu). Is posible to create
this menu,or interface, with R? or I have create this interface with other
language.
Thank you very much, and I hope that you understand my english.
--
View this message in
2008 Mar 10
2
SORT MATRIX
I have a matrix with 2 columns and n row. I need sort the matrix by the first
column but the second row must be sort in the same order that the first
column. Somebody know how I can sort this matrix.
Thanks very much
--
View this message in context: http://www.nabble.com/SORT-MATRIX-tp15955823p15955823.html
Sent from the R help mailing list archive at Nabble.com.
2004 Sep 01
2
allocating memory in C, not in R
Dear R helpers,
I need to retrieve several vectors of various types from a call
to .C(), but I don't know their length in advance.
Is there a way to do this without allocating an excessive amount
of memory?
If so, an example would be very helpful.
S. Blay
Department of Statistics and Actuarial Science
Simon Fraser University, Vancouver, British Columbia
2006 Mar 16
1
handling warning messages
Is there any way to store the value of warnings but avoid printing them?
A simplified example:
> out <- c(0.2,0.3,0.4)
> var <- c(2,3,4)
> outcome <- glm(out ~ var, family=binomial())
Warning message:
non-integer #successes in a binomial glm! in: eval(expr, envir, enclos)
I don't like the warning printed,
but I would like to be able to check it's value after the
2009 Jun 02
1
C++ to R : 64bit to 32bit problem.
Hi,
I'm new to calling C++/C programs from R and am having some trouble getting
started. Following Sigal Blay (Simon Fraser University)'s instructions, I
have a .c file called "useC1.c":
/* useC1.c */
void useC(int *i) {
i[0] = 11;
}
This produces a .o file : "useC1.o" in a specified directory. I then open
R, set the proper directory and:
2010 May 01
3
Resize Graphics Window
Need way to resize an existing graphics window.
This should be applicable across platforms (as part of a package).
Context: function1() draws main plot (I'm using grid), function2() adds smaller plot
above main plot, but this one can sometimes overflow the original graphics window
area.
Thanks,
Sigal
2004 Sep 07
1
C function name garbled
I wrote an R wrapper function (phylpro) around a C function
(Rphylpro).
The first time I'm running my function, it runs with no errors.
The second time I'm trying to run it, I get an error message
with the first argument to .Call garbled.
Set up:
> dyn.load("Phylpro.so")
> source("phylpro.R")
> WinHalfWidth<-30
> permReps<-10
> breaks<-c(548,
2009 Mar 17
2
Japanese characters
Dear all
Some programs in windows need GLOBAL IME japanese (jamondo, msjaime or imejpn). These programs don't work under WINE because it seems it has not this IME included.
Is it posible to see Japanese character in WINE?
Many thanks.