On Thu, 19 Jun 2014 01:42:30 PM message wrote:
> Readers,
>
> For data set:
>
> a, 90, 10
> b, 60, 40
> c, ,
> d, , 50
>
> A plot was attempted:
>
> dataset<-as.matrix(read.csv("datafile.csv",header=FALSE))
> barplot<-(dataset,horiz=TRUE)
>
> A warning message is returned, about NAs introduced
> dataset<-as.matrix(read.csv("datafile.csv",header=FALSE))
You should always inspect the dataset immediately after reading it in, before
doing other manipulations on it. Converting data from one format to
another is always going to be error-prone. Plotting it, say with
pairs() or just plot(), i
On 19 Jun 2014, at 15:42, message wrote:
> Readers,
>
> For data set:
>
> a, 90, 10
> b, 60, 40
> c, ,
> d, , 50
>
> A plot was attempted:
Wonder who attempted this. :-)
>
> dataset<-as.matrix(read.csv("datafile.csv",header=FALSE))
Look at your dataset; I’d say it is clearly not what you w
Readers,
For data set:
a, 90, 10
b, 60, 40
c, ,
d, , 50
A plot was attempted:
dataset<-as.matrix(read.csv("datafile.csv",header=FALSE))
barplot<-(dataset,horiz=TRUE)
A warning message is returned, about NAs introduced by coercion and an
undesirable graph. The desired output is something simi
4 matches
Mail list logo