On 01/02/2011 04:18 PM, Joshua Wiley wrote:
...
This makes me wonder if you could somehow have it return any or all layers?
One of the first things I did was look for a function that would return
all the information I needed to know. I thought that "ogrInfo" might do
the trick, but it doesn't.
I would like to give a probability distribution function of a function of
(x,y) on the half-plane y>0, and a constant 0https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducib
thank you for the answers, problem solved
Regards,
ADias.
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-make-this-script-ask-again-tp3170243p3170611.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-pr
On 01/02/2011 12:54 PM, Joshua Wiley wrote:
Dear Gaja,
If "sp" and "maptools" are not already installed, you'll need to do
that. It is often recommended that you update your existing packages
before installing new ones. Once that is done (or if you have
already), then you just need to load the
markdx gmail.com> writes:
>
>
> Example from page 29, Chapter 2.3 from "Applied Spatial Analysis with R"
>
> I am new to R...just trying to replicate the example from the book.
>
> > m <- matrix(c(0,0,1,1), ncol = 2, dimnames = list(NULL, + c ("min",
> > "max")))
> Error in +c("min", "max") :
Dear Gaja,
If "sp" and "maptools" are not already installed, you'll need to do
that. It is often recommended that you update your existing packages
before installing new ones. Once that is done (or if you have
already), then you just need to load the packages, and then R will be
able to find the
Hi
The short version of my questions is this:
How can I run a chi-square test over a matrix (table) to get the distanaces
between rows and then run a SingleLinkage (or other fusion algorithm over
the resulting table?
The long-version of my question:
My data consists of different d
Hi, I'm hoping somebody can help me with this I'm a little stuck, I've
followed the method as closely to the Linux way to get org mode exporting to
pdf through latex my work with R.
I have emacs extracted and installed to Program Files, and ran "addpm", I
have Rterm in my path, and I extracted ES
This was already solved in another post:
[1]Plot symbols: How to plot (and save) a graphic with symbols originating
from a table
Sorry about that, the first post was too big as I was making more than 1
question, so I decided to break it down
Example from page 29, Chapter 2.3 from "Applied Spatial Analysis with R"
I am new to R...just trying to replicate the example from the book.
> m <- matrix(c(0,0,1,1), ncol = 2, dimnames = list(NULL, + c ("min",
> "max")))
Error in +c("min", "max") : invalid argument to unary operator
Thoughts?
Hello.
I'm new on that forum, so I would use some help... I'm programing with R
program, have some exercise to do.
So here it goes.
1. I have to upload two libraryes "sp" and "maptools"
2. This command is troubling me : towns <- readShapeSpatial("OB/OB.shp")
3. When I'm pressing f5, there is a
Victor F Seabra uol.com.br> writes:
>please, when i use the command postscript, the symbol "<="(less than or
>equal to) is replaced by "..." (ellipsis)
>how can I fix that?
>postscript("plot1.ps", width = 22, height =
>11.5,pointsize=24,paper="special",bg="transparent")
>p
please, when i use the command postscript, the symbol "<="(less than or
equal to) is replaced by "..." (ellipsis)
how can I fix that?
postscript("plot1.ps", width = 22, height =
11.5,pointsize=24,paper="special",bg="transparent")
plot(NULL,xlim=c(1,10),ylim=c(1,10))
text(5,5,"
On Sat, Jan 1, 2011 at 3:00 PM, Victor F Seabra wrote:
>
> Dear all,
> Please, I have a doubt regarding symbols plotting
> when the data originates from a table
> (i.e. is not manually fed into the "text" function)
> Please, see below:
> I have a tab delimited file called table1.txt wi
Dear all,
Please, when I use the command:
table1<-read.table("table1.txt", header=TRUE, sep="\t")
cells that contain \ u 2264 (corresponding to <= sign) get imported as \ \
u2264.
which causes the need to manually edit each cell using the fix command.
Is there a way to fix tha
I am ashamed to admit that I missed the nondingbat option. I too tried the
alternative character approach and it seemed to work fine. I am using a rather
straightforward set of colors and, as far as I could tell anyway, the colors
appeared to be reproduced correctly.
Thanks again for taking to
Hello Hadley:
Thanks for the reply. My apologies for overlooking an easy fix. The symbols on
the exported document look fine.
Adam
From: Hadley Wickham
Cc: r-help@r-project.org
Sent: Thu, December 30, 2010 7:51:09 PM
Subject: Re: [R] pdf() Export Proble
On 01/01/2011 3:42 PM, Brian Kidd wrote:
Hello,
Is there any way to stop an R execution in a terminal where the previous
command appears to have caused the code to hang? I basically need to get back
to the prompt.
Note that control-c doesn't restore the prompt and running top -o cpu from anot
Hello,
Is there any way to stop an R execution in a terminal where the previous
command appears to have caused the code to hang? I basically need to get back
to the prompt.
Note that control-c doesn't restore the prompt and running top -o cpu from
another terminal shows R at >99% CPU usage. W
Please, you need to read.table to R as my problems start there
If you want you can download the txt file at the link below
https://docs.google.com/leaf?id=0BweZgDxYn9BkNmY1NThmMDEtOWUxZS00MzE0LTk0NTQ
tYzdlODMxODgxYzJh&hl=en
thanks, Victor
Thanks for your quick response,
I'm using Vista and everything in my system is in English
It's not just the way I view it, it's really \ \ u2264
since I can delete one of the \ and then it becomes \ u 2264, which is
further replaced by
the fix(table1) statement, was just to manually go fro
See aes_string(), perhaps.
baptiste
On 1 January 2011 18:56, Mark Sharp wrote:
> I am wanting to change arguments to a function dynamically. For example, in
> making a call to qplot, I want to dynamically define all of the arguments so
> that I can create the plot dependent on user input. I ha
On Jan 1, 2011, at 2:15 PM, Victor F Seabra wrote:
Dear all,
Please, I have a doubt regarding symbol plotting
with data originating from a table.
I would say it has very little to do with the data structure and
everything to do with the encodings, font conventions of console
output, and
On 01.01.2011 18:56, Mark Sharp wrote:
I am wanting to change arguments to a function dynamically. For example, in
making a call to qplot, I want to dynamically define all of the arguments so
that I can create the plot dependent on user input. I have played with eval() a
bit, but have had no
I am wanting to change arguments to a function dynamically. For example, in
making a call to qplot, I want to dynamically define all of the arguments so
that I can create the plot dependent on user input. I have played with eval() a
bit, but have had no success.
Mark Sharp
_
Dear all,
Please, I have a doubt regarding symbols plotting
when the data originates from a table
(i.e. is not manually fed into the "text" function)
Please, see below:
I have a tab delimited file called table1.txt with 4 columns.
(I wasn't sure on how to attach the table to t
Is the (non-clustered) sandwich estimator really robust to autocorrelation?
Thanks
Frank
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/robust-standard-error-of-an-estimator-tp3170257p3170363.html
Sent from t
sorry, I guess the table was a little confusing,
I've quoted each cell to facilitate reading and attached a copy of the
database file.
ypos animal var1 var2
"5" "cat" "gina <= lady" "gina \u2264 lady"
"7" "dog" "bill >= tony" "bill \u2265 tony"
"9" "fish" "dude <= bro" "dude \
your example works fine for me:
> repeat {
+ cat("Please, enter a number (Zero ends)")
+ n<-scan(n=1)
+ if(n==0)break
+ i<-("The number is odd")
+ p<-("The number is even")
+ if (n%%2==0)
+ p else i
+ }
Please, enter a number (Zero ends)1: 1
Read 1 item
Please, enter a number (Zero ends)1: 2
Read
On Jan 1, 2011, at 12:11 PM, ADias wrote:
Hi,
as an example I have made this script to give the user the answer if a
number is odd or even:
{
cat("Please, enter a number (Zero ends)")
n<-scan(n=1)
if(n==0)break
i<-("The number is odd")
p<-("The number is even")
if (n%%2==0)
p else i
}
If yo
Dear all,
Please, I have a doubt regarding symbol plotting
with data originating from a table.
Please, see below:
I have a tab delimited file called table1.txt with 4 columns:
yposanimal var1var2
5 cat gina <= lady gina \u2264 lady
7 dog bill >= tonybill \u
Thanks to one and all. I now have a better understanding of the situation.
Original message
>Date: Sat, 1 Jan 2011 11:03:59 -0500
>From: David Winsemius
>Subject: Re: [R] Retrieving Factors with Levels Ordered
>To: h...@udel.edu
>Cc: r-help@r-project.org
>
>
>On Jan 1, 2011, at 12:
It depends on what you mean by "robust." Robust to what?
I recommend looking at the sandwich package which gives
heteroskedasticity and autocorrelation robust variance/covariance
matrices. For instance, you could do the following to get your OLS
estimates with heteroskedasticity consistent
On Fri, Dec 31, 2010 at 04:07:07PM -0800, Martin Morgan wrote:
[...]
> Better to use an environment (and live with reference semantics)
>
> e <- new.env(parent=emptyenv()); t0 <- Sys.time()
> for (i in seq_len(1e6)) {
> key <- as.character(i)
> e[[key]] <- i
> if (0 == i %% 1)
>
Hi,
I have ove the robust standard error of an estimator but I don't know how to
do this.
The code for my regression is the following:
reg<-lm(fsn~lctot)
But then what do I need to do?
--
Charlène Lisa Cosandier
[[alternative HTML version deleted]]
_
Hi,
as an example I have made this script to give the user the answer if a
number is odd or even:
{
cat("Please, enter a number (Zero ends)")
n<-scan(n=1)
if(n==0)break
i<-("The number is odd")
p<-("The number is even")
if (n%%2==0)
p else i
}
If you run this script it will only work once, I
AFAIK, these packages often extend a part of the Sweave driver, which
consists of several components, e.g. only modify the
'RweaveLatexRuncode' part in
> RweaveLatex
function ()
{
list(setup = RweaveLatexSetup, runcode = RweaveLatexRuncode,
writedoc = RweaveLatexWritedoc, finish = Rwea
I thought Hadley's response was more definitive, but I did go on to
test my alternate character strategy in ggplot and it did succeed.
Whether you could get coloring or sixing that was appropriate I cannot
say, since I figured the non-dingbatting option was more general.
--
David
On Jan 1,
On Jan 1, 2011, at 12:41 AM, H. T. Reynolds wrote:
Hello (and Happy New Year),
When I create a factor with labels in the order I want, write the
data as a text file,
Why? What is the reason for this process.
and then retrieve them, the factor levels are no longer in the
proper order.
Please subscribe to the rcom mailing list at
rcom.univie.ac.at
RExcel questions are handled on that list.
On 12/20/2010 9:24 PM, jryan.dani...@gmail.com wrote:
> Hey everyone
>
> When I try to 'get active dataframe' from the context menu in excel using
> Rcmdr menus in excel, only the header and
Berwin A Turlach maths.uwa.edu.au> writes:
>
> G'day H.T.
>
> On Sat, 1 Jan 2011 00:41:10 -0500 (EST)
> "H. T. Reynolds" udel.edu> wrote:
>
> > When I create a factor with labels in the order I want, write the
> > data as a text file, and then retrieve them, the factor levels are no
> > long
Neglected to reply to all. Sorry.
- Forwarded Message
From: Adam Carr
To: David Winsemius
Sent: Sat, January 1, 2011 8:58:26 AM
Subject: Re: [R] pdf() Export Problem: Circles Interpreted as Fonts from
ggplot2
Graphics
Hello David:
Thanks for the reply and for the suggestion on an
Please watch for 2.20.5 and let me know if it helps. Not really sure what is
going on here, but someone else has reported the same issue.
Thanks,
Michael
On Wed, Dec 29, 2010 at 6:44 AM, Shige Song wrote:
> Dear All,
>
> I am trying to compile&install the package "RGtk2" on my Ubuntu 10.04
> bo
(slightly off-topic)
Hello
On Sat, Jan 1, 2011 at 12:20 AM, Yihui Xie wrote:
> I still recommend the pgfSweave package (as usual) -- you can cache
> both data objects (using cacheSweave) and graphics (using pgf).
>
Do these packages re-implement Sweave, or just use it as a dependency?
For exampl
vars:::predict.vec2var
vars:::predict.varest
On 12/29/2010 9:31 PM, CALEF ALEJANDRO RODRIGUEZ CUEVAS wrote:
> Hi, I'm using package "vars" and I'm trying to extract the algorithm that
> function "predict" contained in that package in order to understand how does
> it work.
>
> When I type functio
45 matches
Mail list logo