Posts by Magliari • 189 points
9 posts
-
1
votes2
answers51
viewsQ: How to manipulate two data sets at the same time?
I would like to learn how to manipulate two variables at the same time. An example, I have a training base and a test base for Machine Learning. How could I apply the function Factor both at the…
-
2
votes2
answers123
viewsQ: How to increase the number of iterations in R?
I’m working with a statistical model that adjusts a curve to the data of a particular disease. But when running the code I get that the number of iterations exceeded the maximum of 50. Below is the…
-
2
votes1
answer77
viewsQ: How to create one vector from another, but its elements must be greater than x?
I would like that v2 only those values which are greater than x. It even comes close, but creates a vector with logical elements. I wish they were the elements of v1. v1 <-c (1500, 1600, 1700,…
-
4
votes2
answers59
viewsQ: How to gradually transform n number generation in normal distribution in R
I have developed a code to solve the image issue, which is to try to approximate the percentage of 68.2% numbers generated in the normal distribution that are between -1 and 1. Follow the code: x…
-
1
votes2
answers80
viewsQ: Form Equation in R-Multiple Regression
I need to solve a question in the R and I have no idea how to make the R give me equation that adjusts the data,: I have data from the following tables: Idade X1 = (38,46,39,43,32) Anos de Faculdade…
-
3
votes2
answers233
viewsQ: How do I chart the production function of Cobb-Douglas in the R?
I would like to draw up the graph for the Cobb-Douglas production function in the R,: P(L, K) = 1,01L 0,75 k 0,25 Where L and K vary between 0 and 300.
-
-2
votes2
answers82
viewsQ: What books do you recommend to study on data analysis in R?
I would like to study more on data analysis in the R and would like to book tips,.
-
1
votes2
answers53
viewsQ: How to know in which position an unknown is located in a vector?
Example: a=c(10,9,8,7) b<-max(a) a[b] I need to know in which position b is located in vector a, R must return 1 (which is the answer)
-
1
votes1
answer2698
viewsQ: Multiplication algorithm by sum for any integer
I have to develop a sum multiplication algorithm for any integer in the most optimized way possible. I thought the following: x*y=z;x,y belongs to the whole, so z=x+x y times. I know practically…