36346/r-programming-sapply-function
There are 2 ways to do it, try this:
replicate(20, rtriangle(100)) sapply(rep(100, 20), rtriangle)
Hope this helps.
Yes, Just like @Maverik said, It happens ...READ MORE
In your case, you've stored the output ...READ MORE
Do you read 2? sapply. Either a ...READ MORE
The function match works on vectors : x <- sample(1:10) x # ...READ MORE
Well it truly depends on your requirement, If ...READ MORE
You can do this in R using ...READ MORE
Use gsub to match the substring that we want ...READ MORE
You can use svunit for this purpose. ...READ MORE
To include the R variables called start.date and end.date, you can use paste to ...READ MORE
Since you mentioned you have factorized variables, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.