Hi,
I was wondering how I would recode a variable as being NA (or missing).
Thanks
Neil
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Sat, 30 Oct 2004, Unung Istopo Hartanto wrote:
Can R import data or process data from firebird relational database
(firebird.sourceforge.net). Cause i still using it on linux and i'll
process my data using R.
If it has a suitable interface. A quick look suggests it has a Linux ODBC
On Sat, 30 Oct 2004, Neil Leonard wrote:
I was wondering how I would recode a variable as being NA (or missing).
It is the values, not the variable that are NA. For example
x - 1:20
ind - x%%4==0
ind
x[ind] - NA # or is.na(x[ind]) - TRUE
That works for logical, integer, numeric, complex and
Dear all
using the orthogonal polymial on a set of data, I get an approximate
density which basically is in the form: exp(-polynomial),
as you know, the
parameters are the converged coeeficients.
obviously, It is hard, if not impossible, to use the inverse CDF method to
get a
sample and then
Hi, there.
Does anybody know how to plot a smooth density plot for some data
simulated from certain distribution? Thanks.
Yulei
$$$
Yulei He
1586 Murfin Ave. Apt 37
Ann Arbor, MI 48105-3135
[EMAIL PROTECTED]
734-647-0305(H)
734-763-0421(O)
734-763-0427(O)
?density
On Sat, 30 Oct 2004 13:03:11 -0400 (EDT), Yulei He [EMAIL PROTECTED] wrote:
Hi, there.
Does anybody know how to plot a smooth density plot for some data
simulated from certain distribution? Thanks.
Yulei
$$$
Yulei He
1586 Murfin Ave. Apt
Hi,
How to add values to an array at any position.
Asking because of the following:
e.g.
y-c(0.1,NaN,0.2,NaN) #or data frame
x-na.omit(y)
take some columns from x and
do some computation with functions which do not allow NaN 's.
After the computing add NaN's at positions stored in
Witold Eryk Wolski wolski at molgen.mpg.de writes:
:
: Hi,
:
: How to add values to an array at any position.
: Asking because of the following:
: e.g.
:
: y-c(0.1,NaN,0.2,NaN) #or data frame
:
: x-na.omit(y)
:
: take some columns from x and
: do some computation with functions which do not
Witold Eryk Wolski [EMAIL PROTECTED] writes:
Hi,
How to add values to an array at any position.
Asking because of the following:
e.g.
y-c(0.1,NaN,0.2,NaN) #or data frame
x-na.omit(y)
take some columns from x and
do some computation with functions which do not allow NaN 's.
Hi,
In the first place I was wondering if there are no function
_insert.vector_ in base.
Thanks Peter and Gabor even for the bad news.
E.
Peter Dalgaard wrote:
Witold Eryk Wolski [EMAIL PROTECTED] writes:
Hi,
How to add values to an array at any position.
Asking because of the following:
I am not sure that I understand very well what you want to do but you might
want to try
density(). There are some good examples for this function under
example(density). The result is an object with class density that you can
plot directly using plot()
Francisco
PS: I reccomend you to read
Witold Eryk Wolski wolski at molgen.mpg.de writes:
In the first place I was wondering if there are no function
_insert.vector_ in base.
There is append. e.g. insert 100:101 after position
3 of 11:15
R append(11:15, 100:101, 3)
[1] 11 12 13 100 101 14 15
12 matches
Mail list logo