5,465 results
About this page

~ in r Page 217

The tilde (~) in R is the little workhorse that builds formulas: y ~ x + z tells models and functions how variables relate.

It powers stats functions (lm, glm), graphics (lattice), and tools like aggregate and reshape, where the left side is the outcome and the right side holds predictors or grouping.

In the tidyverse, ~ also moonlights as a shorthand for anonymous functions with purrr: map(x, ~ .x + 1) — neat, quick, and mildly addictive.

So: ~ makes formulas, guides modelling, and doubles as a tiny function factory; not bad for a squiggle.

Nothing matching right now, but new listings go up all the time.

Check back soon, or revise your filters.

Tradingpost

Got something to sell?

Listing your ad only takes a few minutes, and most categories are free.

Post an ad
Tradingpost

The week's best bargains, in your inbox

A weekly hand-picked round-up of the best bargains, free stuff, and trending listings. No spam, unsubscribe anytime.

Tradingpost

Tell your mates

Know someone looking to buy or sell something? Send them to Tradingpost, Australia's original marketplace.

Tradingpost

Safe trading

Know the warning signs of a dodgy deal before you buy or sell online.

Read the guideRead guide
Browse

Explore

Browse