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
    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
    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
    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
    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
    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 hold a Teams meeting and invite “guests,” what happens if I select that only specific domains ... still able to join the Teams meeting from via a link?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    Which of the following factor of the network gets hugely impacted when the number of users exceeds the network's limit? Reliability Performance Security Longevity...
asked Mar 6, 2021 in Technology 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. ... a factor to numeric? Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
0 votes
    Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula ... INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
...