Hello
Yes, thank you for the reply - my apologies for the poorly phrased post, as I say I am new to the R community.
As you say functions within R packages can be executed over input data however when I try to run a function on a dataset I have imported and attached I get 'Error: object can not be found'.
factors <- read.delim("C://FX/factors.txt")
View(factors)
attach(factors)
rm(list = ls())
library(xrfactor);
library(ggplot2);
library(gridExtra);
library(future.apply);
data("factors");
Warning message:
In data("factors") : data set ‘factors’ not found
datdf = factors;
Error: object 'factors' not found
Thanks in advance
Alan