Posts by MARCOS SANTOS • 115 points
3 posts
-
5
votes1
answer582
viewsQ: How to combine two vectors and get all the results of a given account with them
I’m trying to make a calculation, and I need your help. First I make a sequence with normal distribution with 420 numbers, then I make a sequence of numbers I call mci with 42 numbers, then the next…
-
3
votes1
answer1756
viewsQ: Error: The condition has length > 1 and only the first element will be used
I am writing a code in the R but it informs the following error: In if ((Bwgmax * (1 - Exp(-K * (Mcisimulate - Xm)))) > WG) { : the condition has length > 1 and only the first element will be…
-
1
votes0
answers436
viewsQ: subtraction in Diff R software
my level in R is beginner in case you can help me with a problem I will be grateful. I have a mathematical function that generates me a vector, and I have to subtract between the value of the second…