How to know the type of an object?

0 votes
I have an object say x, how do I know the type of the object?
Sep 19, 2018 in Data Analytics by Anmol
• 1,700 points
59 views

1 answer to this question.

0 votes

To find the type of an object say x, simply run the command 

typeof(x)

Further more to get the description of the object you can call summarize(x)

answered Sep 19, 2018 by Abhi
• 3,680 points

Related Questions In Data Analytics

0 votes
1 answer

How to change the datatype of any field in an external dataset in R?

Hi Anand, Try as below - class(dataset/dataframe$col_name) <- ...READ MORE

answered Jun 27, 2019 in Data Analytics by anonymous
• 32,460 points
62 views
0 votes
1 answer

With the help of tidyverse: how to rename a column to a variable name

With the help of Dplyr: rename function ...READ MORE

answered Apr 3, 2018 in Data Analytics by DeepCoder786
• 1,720 points

edited Apr 3, 2018 by DeepCoder786 89 views
0 votes
2 answers

How to count the number of elements with the values in a vector?

Use dplyr function group_by(). > n = as.data.frame(num) > ...READ MORE

answered Aug 21, 2019 in Data Analytics by anonymous
• 32,460 points
249 views
0 votes
1 answer

How can I control the size of points in an R scatterplot?

plot(variable, type='o' , pch=5, cex=.3) The pch argument ...READ MORE

answered May 3, 2018 in Data Analytics by shams
• 3,600 points
127 views
+9 votes
3 answers

Which is a better initiative to learn data science: Python or R?

Well it truly depends on your requirement, If ...READ MORE

answered Aug 8, 2018 in Data Analytics by Abhi
• 3,680 points
165 views
0 votes
2 answers

How to sort a data frame by columns in R?

You can use dplyr function arrange() like ...READ MORE

answered Aug 21, 2019 in Data Analytics by anonymous
• 32,460 points
336 views
0 votes
1 answer

Python equivalent to replace function in R

There is actually a replace function in ...READ MORE

answered May 30, 2018 in Data Analytics by Bharani
• 4,560 points
217 views
0 votes
2 answers
0 votes
1 answer

How will you define the number of clusters in a clustering algorithm?

Though the Clustering Algorithm is not specified, ...READ MORE

answered Aug 21, 2018 in Data Analytics by Abhi
• 3,680 points
173 views