Re: [R] Structuring Inventory in R

2019-08-28 Thread Alex Naverniak
You are right. On Wed, Aug 28, 2019 at 10:34 AM Jeff Newmiller wrote: > Why do you need to do this? It sounds like homework. Using multiple > columns as lookup keys is the normal way this is handled. > > On August 28, 2019 7:10:34 AM PDT, Alex Naverniak > wrote: > >Thank y

Re: [R] Structuring Inventory in R

2019-08-28 Thread Alex Naverniak
> >Hi Alex, > >At a guess you may want something like this: > > > >data.frame(item="SKU",price=10,qty=2,ID="1") > > > >This produces a data frame with one row. You will probably want many > >more rows. > > > >Jim > > &g

[R] Structuring Inventory in R

2019-08-27 Thread Alex Naverniak
Hi, I am trying to create Inventory structure with item SKU and 3 subitems like "Price"; "Qty"; "ID". I tried list(SKU,list("Item1","Item2","Item3")). It seem not to work. Please help with ideas. Thanks. Alex [[alternative HTML version deleted]] ___