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

Given a vector of values, how would you convert it into a time series object?

1 Answers  


What is procedural programming in r?

1 Answers  


How r handles missing values?

1 Answers  


What are packages in r?

1 Answers  


How would you find out the mean of one column with respect to another?

1 Answers  


What is the function used for adding datasets in R?

1 Answers  


What is the purpose of using Next statement in R language?

1 Answers  


What do copy-on-change issues in r?

1 Answers  


Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?

1 Answers  


How many types of functions are there in R string manipulation?

1 Answers  


How would you create a factor in r?

1 Answers  


What is r vector?

1 Answers  


Categories