dataset operation

  1. S

    object cannot be coerced to type 'double' inside ggplot

    I am trying to use ggplot inside switch statement. providing user to select options through switch. The user enters a variable and I search my dataset based on the user input and does some operations and I will plot the resulting subset of data. But after altering my data based on user input and...
  2. S

    on the probability density function

    Good morning to all. I have a question: I have a data set X={x_1, x_2, ... , x_N} with probability density function P(x) (suppose continuous); if I operate on data with any mathematical function f(x) (square, power, exponential, trigonometric...), how is the new probability density function...