Hi all,
I've been slowly trying to learn J, with mixed results. I currently do
most of my work in R, and I used q/kdb+ for about a year, both of which
have shaped my expectations.
My basic goal is to read a CSV file into some kind of named associative
structure, then do analysis on the columns of that data.
Imagining that I have a csv file with time, price, and volume columns,
in R, I can do:
data <- read.csv("file.csv") # no assumptions on cols
c(mean(data$price), sd(data$price))
In q, I this would be
data:("TFF";1#",")0:`:file.csv / must specify col formats
{(avg x;dev x)} data`price
What would be the equivalent in J?
Hopefully this is the right forum to ask this; if not, please point me
in the right direction.
Regards,
Johann
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm