in Technology by

Suppose that I want to convert factor to number. I write the following code:

1 Answer

0 votes
by
fac <- factor(c(2.3, 1.5, 3, 4.9)) as.numeric(fac)

Related questions

0 votes
    Suppose, without using a line/bar chart, I want to design a view to show the region-wise profit and sales. How should I go about doing it? Explain...
asked Oct 30, 2020 in Technology by JackTerrance
0 votes
    Suppose you have designed a Big Data batch using the MapReduce framework. Now you want to execute it on a cluster ... Run view? Name Node Data Node Resource Manager Job Tracker...
asked Mar 23, 2021 in Technology by JackTerrance
0 votes
    Suppose we throw a die once. (i) What is the probability of getting a number greater than 4? (ii) What is the ... than or equal to 4? Select the correct answer from above options...
asked Nov 18, 2021 in Education by JackTerrance
0 votes
    write the statement to convert a number stored in a string variable ‘num’ to a double data type. Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    Wt is octal number system write steps. To convert the octal convertion Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Write a program to convert a decimal number into binary number using function Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    When I convert a factor to a numeric or integer, I get the underlying level codes, not the values as numbers. f...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if ... in the list. Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    Suppose, my license expires today. Can my users be able to view the dashboards or workbooks that I published in the server earlier?...
asked Oct 30, 2020 in Technology by JackTerrance
0 votes
    If I want to save a plot to a PDF file, which of the following is a correct way of doing that? (a) ... Data Analysis of R Programming Select the correct answer from above options...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    suppose you are swami.write about your feelings when your father saw through your tricks and you were forced to go to school Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Suppose the user finds the usage of room number and phone number in a relational schema there is confusion ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    I start to write a client - server application using .net (C#) for both client and server side. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 24, 2022 in Education by JackTerrance
...