[R] Inference Syntax

Rolf Turner r.turner at auckland.ac.nz
Thu Apr 30 23:46:22 CEST 2015


On 30/04/15 23:22, Shivi82 wrote:
> Hi All,
>
> This is my first post in the community.
> I am currently working on finding some inferences from my sample data and
> the code I have used is:
> inference(y = nc$weight, x = nc$habit, est = "mean", type = "ht", null = 0,
> method = "theoretical"). While researching more on the code as I have just
> started using R, online I found alternative also as a keyword for the syntax
> which has option as either less, greater or two sided. I am unsure what it
> is referring to.
> If someone would please explain the alterative keyword. Thank you.

The word "alternative" refers to the alternative hypothesis in the test 
that you are carrying out.

Where does the function inference() come from?  I can find no trace of 
it in a standard R installation, and the term is too broad to search for 
effectively.  Please do not expect the R-help list to be telepathic.

cheers,

Rolf Turner

-- 
Rolf Turner
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276
Home phone: +64-9-480-4619



More information about the R-help mailing list