--
> Error in if (0 < P[id]) print("ss") else print("ss") :
> argument is of length zero
Arrays/vectors/matrices in R are indexed from 1, not 0.
Regards,
Nicky Chorley
__
R-help@r-project.org mailing lis
e on the
> Internet...
The obvious way would be to save it as a PNG/JPEG/BMP/TIFF and then
just import it.
Regards,
Nicky Chorley
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
:
R < foo.R,
where foo.R is the name of the script. The man page for R suggests
this usage (admittedly, though, it's perhaps not obvious) and there
are options listed in it that you may want to use.
For what it's worth, it makes no difference which edit
8/08 00:00:12) 50.20
>
> 4104 312 37367 (08/28/08 00:00:17) 50.20
>
> I want to retrieve 50.20 records
>
> How can I get ?
>
A quick subset appears to do what you want:
subset(Tdf, sn.rnc == 50.20)
For more info: ? subset and you may want to look
2008/8/28 Yuan Jian <[EMAIL PROTECTED]>:
> Hi,
>
> I try to add items to a vector, but when the it has existed, the item should
> be skipped.
> does anyone know how to do it a simple way?
You might be able to use unique().
Re
2008/8/27 Nicky Chorley <[EMAIL PROTECTED]>:
> 2008/8/27 rr400 <[EMAIL PROTECTED]>:
>>
>> Thank you so much, at least i got that part right. But what is the meaning of
>> the e-11 at the end??
>
> Exponential notation. It means 10^-11.
>
Sorry, I realis
2008/8/27 rr400 <[EMAIL PROTECTED]>:
>
> Thank you so much, at least i got that part right. But what is the meaning of
> the e-11 at the end??
Exponential notation. It means 10^-11.
Regards,
Nicky Chorley
__
R-help@r-project.org mai
2008/8/27 Nicky Chorley <[EMAIL PROTECTED]>:
> 2008/8/27 rr400 <[EMAIL PROTECTED]>:
>>
>> Hi, i have never really used R before and i need to produce a density curve
>> for use in an assignment. Following the instructions in the manual provided
>> with my c
type, ...) : invalid plot type '1'"
>
> The commands i have entered are:
>>x=seq(0, 1800, 10)
>>x
>>f=dnorm(x, 1454.190, 162.6301)
>>f
>>plot(x,f,type='1')
It's probably a lowercase L, not a 1 (to plot lines rather than points).
To all:
Thank you for your suggestions for help with this. I've not yet had a
chance to investigate these things yet, but will do so soon!
Again, thanks for the suggestions.
Nicky Chorley
__
R-help@r-project.org mailing list
https://stat.et
2008/8/20 Uwe Ligges <[EMAIL PROTECTED]>:
> Increase the margins as well, default is:
> par("mar"=c(5,4,4,1)+.1)
>
> Uwe Ligges
>
Thanks very much. One further question: is it possible to change the
position of only one axis title (since using mgp changes both)
less space in the window, so I can hopefully change mgp
and sort the problem. Is changing mgp the only way to position axis
titles/labels?
Regards,
Nicky Chorley
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
12 matches
Mail list logo