how can i digit the simbol approximtion when i call the linear model regression with : lm.fit <- (y ? x, data= dataset)

Description of issue -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:
  • sessionInfo():

Referred here from support.rstudio.com

Can you clarify what help you require? it seems like you might be asking about syntax with lm ?
the tilde symbol ~ is used.
i.e.


myframe <- data.frame(myx = 1:10,
                      myy = (1:10)*2+3)

(lm.fit <- lm(myy ~ myx,data=myframe))
summary(lm.fit)

How can i type the tilde simbol?
where is it located on the keyboard?

on US/UK QWERTY keyboards, it is usually located above the Tab key, below the Esc key, and to the left of the 1 key.

1 Like

What Keyboard (Language) do you use? nirgrahamuk says where it is on a QWERTY keyboard. I think it is Alt GR + * on a French AZERTY keyboard. Alt GR is the right Control key.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.