Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Exercice 6
- # data.frame(nom_colonne=c(valeurs), ...)
- df <- data.frame(id=c(1,2,3), module=c("maths", "informatique", "réseaux"), durée=c(30,60,15))
- print(df)
- # Error in sqrt(coef) : non-numeric argument to mathematical function
- #transform(df, durée=60*durée, coef=sqrt(coef))
- X=c(TRUE, FALSE)
- print(X)
- print(expand.grid(X,X))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement