Dear List,
I am trying to make a histogram with following data:
dput(a)
c(1, 0, 1.5, 1, 0, 0, 0, 1, 1.5, 0, 0, 1, 0, 0, 0, 1, 1, 2, 1,
0, 0, 0, 1, 1, 1, 0, 1, 0.5, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0,
0, 0, 0, 0, 1, 1, 1, 0, 0, 1.5, 0, 0, 0, 0, 1, 0, 0, 0.5, 0,
0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1,
Hi Dorcas Nduati,
Better place to discuss and ask for help about home work is discussion
forum of that site.
It is one of recommendations is that: you should not post your
homework on Rhelp or stackOverflow.
On Wed, Jan 15, 2014 at 12:56 PM, arun wrote:
> Hi,May be this helps:
> set.seed(26)
problems.
Thanks again!
On Mon, Jan 6, 2014 at 8:27 PM, arun wrote:
> Hi,
> Try:
>
>
> test[test=="" & !is.na(test)] <- NA
> A.K.
>
>
>
>
> On Monday, January 6, 2014 7:51 AM, vikram ranga wrote:
> Dear All,
>
> I am bit stuck to a pro
Dear All,
I am bit stuck to a problem of replacing "" to NA.
I have big data set but here is the toy example:-
test<-data.frame(
test1=c("","Hi","Hello"),
test2=c("Hi","","Bye"),
test3=c("Hello","",""))
If the data as in above, I could change all "" to NA by this code:-
for(i in 1:3){
for(j in
Hi,
You would like to have a look at library(maptools) & library(rgeos)
they have amazingly lot of function for such analysis.
You can also read GPS data directly in R using maptools.
This question is more suitable for r-sig-geo list.
On Tue, Nov 12, 2013 at 11:20 PM, Greg Snow <538...@gmail.co
Hi,
Check out this function:-
pairwise.wilcox.test {package=stats}.
example(pairwise.wilcox.test)
On Fri, Oct 25, 2013 at 2:15 AM, Rui Barradas wrote:
> Hello,
>
> There's a bug in your function, it should be 'dat', not 'dat1'. In the line
> marked, below.
>
> fun1 <- function(dat){
> m
-- Forwarded message --
From: vikram ranga
Date: Thu, Sep 12, 2013 at 1:02 PM
Subject: Re: [R] how to retain dimnames while exporting from excel into r
To: Charles Thuo
On Thu, Sep 12, 2013 at 12:45 PM, Charles Thuo wrote:
> v<- read.csv(file="sales.csv",h
7 matches
Mail list logo