Displaying 4 results from an estimated 4 matches for "yourfunc".
2006 Feb 08
2
NAMESPACE Q: does import as exist?
Is there a way to rename a function when importing it? I want to say,
"import yourFunc from Foo as myFunc" in the NAMESPACE file.
Does this exist and I've missed it? If it doesn't exist, would others
think it useful (and possible)?
Best,
+ seth
2011 Sep 28
1
Handling missing values
Hi everyone,
I've got a question concerning missing values in R.
I'm looking for an R code which removes all NA values in my data.frame. I
found many answers about how to remove rows or columns which contain NA's.
My problem however is a bit different. I have a list of vectors. Each vector
contains some NA Values that I want to remove. So, at the end all vectors
will have
2006 Nov 17
2
Data table in C
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 :
$<NA>
$<NA>[[1]]
[1] "BID"
$<NA>[[2]]
[1] 0.6718
$<NA>[[3]]
[1] 3e+06
$<NA>
$<NA>[[1]]
[1] "BID"
$<NA>[[2]]
[1] 0.6717
$<NA>[[3]]
[1] 5e+06
$<NA>
$<NA>[[1]]
[1] "BID"
2011 Sep 15
2
Problem looping a function to create/add to new dataframe
Dear List Members,
I have created a function to run a simulation based on a given set of
values within a vector, such that I run the function like this:
new.data<-sapply(vector, function)
In which I run 'function' on every value within a vector that I created.
The result is a matrix of 1000 rows, and as many columns as the length
of the vector.
I modified the function to utilize