Posts by Clodoaldo • 183 points
8 posts
-
3
votes1
answer36
viewsQ: How to create a command to choose linearization alternatives
I have the following command to obtain coefficients for linearization of the Michaelis Menten function. # "Estimativas para "CHUTE" # 1 para (Eadie-Hofstee y = -B(y/x) + A)(Especialmente para RMSEA…
-
2
votes1
answer47
viewsQ: How to create a list of values with restriction on a stipulated number of data
I have the following code n <- 130 pl <- trunc(n/20) p0 <- 20 pp <- 20 + (0:(pl-1))*p0 With the result of pp, being: [1] 20 40 60 80 100 120. In addition, I also use the same process for…
-
4
votes1
answer65
viewsQ: Error while executing nls in R - 'Arg' must be NULL or a Character vector
When I use the command n0 <- nls(Y~expo.der(x, A, B, C), data=dados_Indice, start=start, na.omit(NA), trace = TRUE) expo.der is the name of the created function that defines the formula used in…
-
2
votes1
answer653
viewsQ: How to check if all values are equal in a vector in r
I have as response of a function the vectors RMSEA, GFI, NFI and CFI that can contain all equal values. In sequence I use the algorithm below to test normality through the Shapiro-Wilk test. When…
-
1
votes1
answer230
viewsQ: How to ignore and not iterate over a for in R
I am using this command to calculate 4 values extracted from a function summary without (sem_smry). 100 attempts are made where, if you report a mistake, the attempt is counted but not computed. I…
-
1
votes1
answer47
views -
2
votes1
answer99
viewsQ: How to run a looping in R and store the results of a summary in a vector
I asked a previous question in this forum (Random choice of lines in an array in R) where it needed to randomly choose p lines (p < m), without replacement, of this matrix. Thus creating a matrix…
-
3
votes1
answer337
viewsQ: Random choice of lines in an array in R
I have a problem that produces a numerical matrix mxn being m the number of observations (row) and n the number of variables (column). I need to randomly choose p lines (p < m), without…