[R] test of independence

2018-12-19 Thread km
Dear All,

How do I do a test of independence with 16x16 table of counts.
Please suggest.

Regards,
KM

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] boxplot with frequencies(counts)

2013-03-05 Thread km
Dear All,

I have a table as following
position type count
1   2 100
1   3  51
1   5  64
1   8  81
1   6  32
2   2  41
2   3  85
and so on


Normally if  would have a vector of 2,3,4,5... by position position and
plot them by position.
But now i have counts of these types.
Is there a way to compute boxplot of such kind of data ?

Regards,
KM

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] long vectors in R 3.0.x

2014-01-20 Thread km
Dear All,

I understand that  we could use long vectors like this beyond 2^31-1 limit.
x<- c('0')
length(x)<- 2^35

But how do I do introduce this notion in matrices ? specifically if i want
rows > 2^31-1 limit ?

Regards,
Krishna Mohan

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] '=' vs '<-'

2010-11-03 Thread km
Hi all,

can we use '=' instead of '<-' operator for assignment in R programs?

regards,
KM

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] sum in vector

2010-11-14 Thread km
 Hi all,
>>
>> On Sun, Nov 14, 2010 at 10:06 PM, Henrique Dallazuanna  
>> wrote:
>>> Try this:
>>>
>>>  rowsum(price, market)
  does it work  with multiple factors/groups ?
  using multiple factors such as c(factor1,factor2,factor3,...) as
second arg with  rowsum() doesnt seem to work!
  am i missing something ?
  regards
  KM

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] book about "support vector machines"

2010-12-03 Thread km
a bit of caution.
the latest version of libsvm is not yet available in the  e1071 R-package.

regards,
KM

On Fri, Dec 3, 2010 at 9:52 PM, Georg Ruß  wrote:

> On 03/12/10 16:23:33, manuel.martin wrote:
> > I am currently looking for a book about support vector machines for
> > regression and classification and am a bit lost since they are plenty of
> > books dealing with this subject. I am not totally new to the field and
> > would like to get more information on that subject for later use with
> > the e1071 <http://cran.r-project.org/web/packages/e1071/index.html>
> > package for instance.
>
> Hi Manuel,
>
> there's also the references mentioned in ?svm once you've loaded the e1071
> library. Nevertheless, that's rather detailed on the implementation side,
> not on the general picture that I assume you'd like for a book.
>
> library("e1071")
> ?svm
>
> There's also the downloadable "A guide for beginners: C.-W. Hsu, C.-C.
> Chang, C.-J.  Lin. A practical guide to support vector classification"
> mentioned in the "additional information" section of
> http://www.csie.ntu.edu.tw/~cjlin/libsvm/<http://www.csie.ntu.edu.tw/%7Ecjlin/libsvm/>(which,
>  in turn, is from ?svm)
>
> Regards,
> Georg.
> --
> Research Assistant
> Otto-von-Guericke-Universität Magdeburg
> resea...@georgruss.de
> http://research.georgruss.de
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] saving plots

2011-02-13 Thread km
Hi all,

Is there a way to save the currently displayed plot to  an image format just
after we view it?
I think this would be more intuitive as a user if I wish to save it just
after I visualize the plot.

I am aware that we need to do some thing like this
jpeg('somefilename.jpg')
... plot... commands...
dev.off()



KM

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] saving plots

2011-02-13 Thread km
Thanks!
thats just what I was looking for!
regards,
KM

On Mon, Feb 14, 2011 at 1:16 PM, Joel  wrote:

>
> look at
>
> ?savePlot
>
> It will save the current plot you are viewing.
> --
> View this message in context:
> http://r.789695.n4.nabble.com/saving-plots-tp3304540p3304548.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.