What will be the output of log (-5.8) when executed on r console?
Answer / Mohammad Asif
In R, taking the natural logarithm of a negative number results in NaN (Not a Number). So, the output of log(-5.8) is NaN.
| Is This Answer Correct ? | 0 Yes | 0 No |
Given a vector of values, how would you convert it into a time series object?
What is procedural programming in r?
How r handles missing values?
What are packages in r?
How would you find out the mean of one column with respect to another?
What is the function used for adding datasets in R?
What is the purpose of using Next statement in R language?
What do copy-on-change issues in r?
Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?
How many types of functions are there in R string manipulation?
How would you create a factor in r?
What is r vector?