his problem with this function or another algorithm?
(Note: I have normally 450 columns)
Sincerely
Engin YILMAZ
apply(g1, 2, function(c) sum(c==0))
Rice Coke
0 NA
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.e
Thanks SEZEN and BERGER
Now it is working.
My mistake <- I have written this statement (na.rm=TRUE) to the wrong
location (after the sum expression)
Thanks for your kindly responses
Sincerely
Engin YILMAZ
2017-10-27 10:57 GMT+03:00 Ismail SEZEN :
>
> > On 27 Oct 2017, at
(data)], function(c) sum(length(which(is.na
(c)
## [Zero] - Find zero values
data.z=apply(data[,3:ncol(data)], 2, function(c) sum(c==0))
## [Non-Zero] - Find non-zero values
data.nz=nrow(data[,3:ncol(data)])- (data.na+data.z)
Sincerely
Engin YILMAZ
<https://www.avast.com/sig-em
ry to count non-zero values which are not NA values for every *column*
*Sincerely*
*Engin YILMAZ*
2017-10-29 15:01 GMT+03:00 Ek Esawi :
> Since i could not see your data, the easiest thing comes to mind is court
> values excluding NAs, is something like this
> sum(!is.na(x))
>
&
Thanks Esawi,Barradas and Berger
Sincerely
Engin YILMAZ
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_c
Dear
I try to realize one scatter matrix which draws *one single variable to all
variables* with *regression line* . You can see my eviews version in the
annex .
How can I draw this graph with R studio?
Sincerely
Engin YILMAZ
__
R-help@r-project.org
0.3311
>>
>> plot(pua~lor,col="red",main="Proportion of useful answers by request
>> quality")
>> points(pua~dsp,col="blue",pch=2)
>> abline(0.1692,0.6132,col="red")
>> abline(0.1692,0.3311,col="blue")
>>
>> So,
> [1] http://stackoverflow.com/questions/5963269/how-to-make-
> a-great-r-reproducible-example
>
> [2] http://adv-r.had.co.nz/Reproducibility.html
>
> [3] https://cran.r-project.org/web/packages/reprex/index.html (read the
> vignette)
> --
> Sent from my phone. Pl
ebmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
2017-11-27 23:18 GMT+03:00 Ismail SEZEN :
>
> > On 27 Nov 2017, at 11:56, Engin YILMAZ wrote:
> >
> > Dear
> >
> > I try to realize one scatter matrix which draws *one single variable to
> all
> >
9 matches
Mail list logo