?log1p
On January 10, 2021 12:53:14 AM PST, Shaami wrote:
>Dear FriendsI am facing the problem of log values in R. The
>log(1-0.9) is giving -Inf while log(1e-18) gives finite
>answer. Any suggestion to deal with this problem? Thank you
>
> [[alternative HTML
Dear FriendsI am facing the problem of log values in R. The
log(1-0.9) is giving -Inf while log(1e-18) gives finite
answer. Any suggestion to deal with this problem? Thank you
[[alternative HTML version deleted]]
__
On 10/01/2021 2:17 p.m., varin sacha via R-help wrote:
Dear R-experts,
I dont get any error message but I can't get the green curve/line on the plot.
What is going on ? How to solve my problem ?
Look at the values of robustfit.new. They are far smaller than any of
the other values, and
Hi, I am using caret package and using nested resampling method (i.e. 5
fold for outer fold). I am getting the RMSE and MAE values, which are
default to the caret library.
My question is how can we implement the Mean Magnitude of Relative Error
(MRE and MMRE) with caret. My code is the following:
Dear R-experts,
I dont get any error message but I can't get the green curve/line on the plot.
What is going on ? How to solve my problem ?
Here is the R code :
Duncan,
Great, many thanks, it works.
Best,
Le samedi 9 janvier 2021 à 21:13:30 UTC+1, Duncan Murdoch
a écrit :
Your x values aren't in increasing order. When you plot lines(x, yfit),
it joins the points in the order you give them, which jumps back and
forth. To fix, try
o <-
Hello,
You are almost there.
With scale_x_continuous use argument limits.
ggplot(dat = tibDat,
aes(x = x, y = y)) +
geom_point() +
scale_x_continuous(breaks = 1:6, labels = 1:6,
limits = c(1, 6))
And with xlim it's not a vector c(1, 6), it's each element on
Hola,
Prueba también la opción de tras pegar tu código ir al menú de RStudio:
- click en "Code"
- Y en el desplegable que aparece en la parte inferior (teniendo el
código que acabas de pegar seleccionado) hacer click en "Reformat Code".
- En Windows la combinación de teclas es
Hola,
Lo más rápido:
1. CTRL+A (seleccionar todo)
2. CTRL+I (Indentar)
Emilio
> El 10 ene 2021, a las 17:00, Jose Betancourt Bethencourt
> escribió:
>
> Estimados
>
> Cuando preparo un script en block de notas o en word, al pegarlo en R
> Studio me quedan con un gran margen a la izquierda
Estimados
Cuando preparo un script en block de notas o en word, al pegarlo en R
Studio me quedan con un gran margen a la izquierda ?Como se evita eso?
saludos
--
Dr. Jose A. Betancourt Bethencourt
Universidad de Ciencias Medicas Carlos j. Finlay
___
[I must try to remember that swapping between Rstudio and my Emailer is a
recipe for hitting ctrl-enter and posting prematurely: sorry!]
I am sure I am doing something stupid but I can't see what. I am plotting data
and want the x axis labels to reflect the theoretical range of the x variable
I am sure I am doing something stupid but I can't see what. I am plotting data
and want the x axis labels to reflect the theoretical range of the x variable
which happens to be 1:6 but the observed values have range 2.6 to 5.9.
I thought xlim(c(1,6)) should have got me that quite simply but it
12 matches
Mail list logo