[R] Mathematical symbol

Peter Ehlers ehlers at ucalgary.ca
Tue Apr 27 07:13:08 CEST 2010


Type

  ?"||"

and read the help page.

If it helps, the statement is equivalent to

  if( (a < 10) || (j > 100) )

  -Peter Ehlers

On 2010-04-26 23:00, assaedi76 assaedi76 wrote:
> R users
>
> Thanks in advance
>
> Could someone tell me what this condition means:
>
> if ( a<   10  | |    j>  100)
>
> Thanks
>
>
>
>
> 	[[alternative HTML version deleted]]
>
>
>
>
> ______________________________________________
> R-help at 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.

-- 
Peter Ehlers
University of Calgary



More information about the R-help mailing list