I am using 2.6.0 version in usual Windows-XP platform
Duncan Murdoch <[EMAIL PROTECTED]> wrote: On 17/02/2008 8:15 AM, stat stat
wrote:
> Hi,
>
> I am getting following error message while attaching 'rgl' package :
>
>> library(rgl)
> Error in get(Info[i,
Hi,
I am getting following error message while attaching 'rgl' package :
> library(rgl)
Error in get(Info[i, 1], envir = env) : internal error in R_decompress1
Can anyone tell me what should I do here?
Regards,
-
5, 50, 500, 5000 - Store N number of mai
EMAIL PROTECTED]> wrote: On 21/10/2007, stat stat wrote:
> I have created a if loop as follows:
>
> name = "e"
> if (name == "v")
> {
>u = 0
> }
> else u = 1
>
> however i am getting error : Error: unexpected 'else' in "else
I have created a if loop as follows:
name = "e"
if (name == "v")
{
u = 0
}
else u = 1
however i am getting error : Error: unexpected 'else' in "else"
definitely I can write in : ifelse() form, however I want to write in this
way. Can anyone tell me where is my error?
thanks in advance
I want to fit a cubic spline of x on y. where :
x
[1] 467 468 460 460 450 432 419 420 423 423
y
[1] 1 2 3 4 5 6 7 8 9 10
using the syntax
spline(y, x)
I got following output :
$x
[1] 1.00 1.310345 1.620690 1.931034 2.241379 2.551724 2.862069
[8]
I want to get a sample of some arbitrary size from a population having only two
values 0 and 1 with replacement, but with different probability for selection.
For example 0 will be selected with probability 0.4 and 1 with 0.6. I could use
sample function i.e. sample(c(0,1), 30, T) to get this, h
I am wondering if there is any procedure to write a particular value in
Percentage format, still maintaining it's numeric character. for example I want
to write '.33' as '33%'
regards,
thanks in advance
-
[[alternative HTML version
I have following syntax for putting a legend :
legend("bottom", fill=c("red","blue"), legend=expression(p==0.30, p==0.50),
bty="n")
However what I want is that : the value "0.30" should be a value of a variable
instead of a constant, so that I can put the name of this variable and in
legend it
8 matches
Mail list logo