Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What will be the output of log (-5.8) when executed on r console?



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

Post New Answer

More R Programming Interview Questions

How many types of vectors are present in r?

1 Answers  


In R how you can import Data?

1 Answers  


How would you create a box-plot using “plotly”?

1 Answers  


What is factor variable in r language?

1 Answers  


What is meant by hierarchical Clustering in R?

1 Answers  


Give some examples of the functions in stringr.

1 Answers  


Write a function in R language to replace the missing value in a vector with the mean of that vector?

1 Answers  


Why Reshape R Package?

1 Answers  


How many types of data types are provided by R?

1 Answers  


How will you list all the datasets available in all R packages?

1 Answers  


What is SAS and SPSS in R?

1 Answers  


What is function in r?

1 Answers  


Categories