We are happy to present you our new project!Today our online auction bidding
company SmartBill has finally begun successful cooperation with American
financial oganizations.Our online auction bidding system is secured with
many ameican major banks and this is why we, as the official af
We are happy to present you our new project!Today our online auction bidding
company SmartBill has finally begun successful cooperation with American
financial oganizations.Our online auction bidding system is secured with
many ameican major banks and this is why we, as the official af
Hi,
I have been studying the R manual on lists but cannot seem to create a
simple R list in C - I keep on getting "'dimnames' applied to non-array"
whenever I attempt to assign names to the list elements:
Wanted output a list structure something like
[ type="Bid", price=2.0, volume=10
On Fri, 17 Nov 2006, Tom McCallum wrote:
> Hi,
>
> I have been studying the R manual on lists but cannot seem to create a
> simple R list in C - I keep on getting "'dimnames' applied to non-array"
> whenever I attempt to assign names to the list elements:
Maybe:
setAttrib( priceList, R_N
Thank you so much!! - that works now.
Tom
On Fri, 17 Nov 2006 14:40:38 -, Roger Bivand <[EMAIL PROTECTED]>
wrote:
> On Fri, 17 Nov 2006, Tom McCallum wrote:
>
>> Hi,
>>
>> I have been studying the R manual on lists but cannot seem to create a
>> simple R list in C - I keep on getting "'dim
After getting one list done, I am now struggling to form a data frame in C.
I tried to do a list of lists which gives me :
$
$[[1]]
[1] "BID"
$[[2]]
[1] 0.6718
$[[3]]
[1] 3e+06
$
$[[1]]
[1] "BID"
$[[2]]
[1] 0.6717
$[[3]]
[1] 5e+06
$
$[[1]]
[1] "BID"
$[[2]]
[1] 0.6717
$[[3]]
[1] 1720
Dear R-devel,
If we have two classes that have the same representation but with slightly
different constraints, say something like:
setClass("foo", representation=c(a="numeric", b="data.frame"))
setClass("bar", contains="foo",
validity=function(object) if (length([EMAIL PROTECTED]) < 2)
"Tom McCallum" <[EMAIL PROTECTED]> writes:
> After getting one list done, I am now struggling to form a data frame in C.
>
> I tried to do a list of lists which gives me :
>
> $
> $[[1]]
> [1] "BID"
>
> $[[2]]
> [1] 0.6718
[snip]
>
> and then as.data.frame them in R but this gives me
One approach
Someones you need to set up a plot before the
data is ready to plot. You know the desired
axis limits (xlim and ylim), but don't have
the data all in one vector. You would like to
set up the coordinate system, perhaps draw the
axes and titles, but draw no points. You can do that with
plot(x=x
Data frames are column, not row oriented so you actually want your
list-o-lists to be
$type
[1] "BID" "BID" "BID"
$price
[1] 0.6178 0.6717 0.6717
$volume
[1] 3e+06 3e+06 1720
so you'd create a VECSXP of length 3 and then three data vectors (also
of length 3 in this case). One STRSXP and two
10 matches
Mail list logo