Displaying 5 results from an estimated 5 matches for "mailsrv03".
Did you mean:
mailsrv01
2008 May 06
2
single plot statement, multiple plots
Hi R,
par(mfrow=c(2,2))
x1=(1:5)^1; x2=(1:5)^2; x3=(1:5)^3; x4=(1:5)^4
I need to write a single plot statement, which creates 4 plots (for x1,
x2, x3 and x4) in the graphics window, without using 'for' loop. Is this
possible? Does 'do.call' help in this context? Or do I have any option
in the 'plot' statement itself to do this?
Thanks in advance,
Shubha
This
2008 May 06
2
To preserve the class "Matrix"
Hi,
Suppose
a=matrix(1:9,3,3)
> a
[,1] [,2] [,3]
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
Now,
> class(a[1:2,])
[1] "matrix"
> class(a[1:3,])
[1] "matrix"
> class(a[,1:2])
[1] "matrix"
> class(a[,1:3])
[1] "matrix"
But,
> class(a[1,])
[1] "integer"
> class(a[,1])
[1]
2008 Mar 20
3
Break up a data frame
Hi R users,
I have a dataframe in the below format
xyz 01/03/2007 15.25 USD
xyz 01/04/2007 15.32 USD
xyz 01/02/2008 23.22 USD
abc 01/03/2007 45.2 EUR
abc 01/04/2007 45.00 EUR
2008 Mar 25
5
reading Excel file
Hi R,
I have an excel file in which the third column is "date" and others are
"character" and "numeric".
Number of columns are 12
If I use this to read the file in R: x = read.xls("D:\\file.xls")
The problem is that my date column is read in julian dates.
So I am using: x = read.xls("D:\\file.xls",
2007 Aug 21
2
Partial comparison in string vector
...------------------------------
Message: 34
Date: Mon, 20 Aug 2007 12:43:49 +0530
From: "Shubha Vishwanath Karanth" <shubhak at ambaresearch.com>
Subject: [R] Differentiation
To: <r-help at stat.math.ethz.ch>
Message-ID:
<A36876D3F8A5734FA84A4338135E7CC30252EE01 at BAN-MAILSRV03.Amba.com>
Content-Type: text/plain
Hi,
Could anyone tell me what is the command used in R to do
1. Differentiation
2. Newton Raphson method (Numerical Analysis in general...)
Are there any packages separately for this?
[[replacing trailing spam]]
BR, Shubha
[[alternative HT...