Displaying 3 results from an estimated 3 matches for "mivector".
Did you mean:
mi_vector
2002 Feb 18
3
i think i asked the wrong ?
me again, new to R, haven't programmed in a long time at all
sorry to ask what is probably basic
a while ago i asked how to remove an element from a list
apparently what i am using is not a list but a vector, didn't realize there
was a list data type
could also use a matrix for what i am doing, is there a way to remove
single elements from either of those?
thanks for any help, if i was
2002 Feb 26
3
Matrix of Elements of Different Types (was Interfacing pre-existing C++ library from R)
--- Prof Brian D Ripley <ripley@stats.ox.ac.uk> wrote:
>A matrix list? R lists are just vectors with elements of different types,
>and R matrices are just vectors with a dimension attribute.
When I saw the above I tried to create a matrix from a list but
could not get it to work:
my.lm <- lm( rnorm(10) ~ I(1:10) )
my.list <- list(1, 2, 3, 4, 5, 6, my.lm, my.lm, my.lm)
2002 Jan 24
5
aggregate, by tapply
Dear R users
I searched some sources but i did not find an answer.Please give
me some hint to following problem.
I would like to compute a summary statistic for some vector for
different factor levels. I know I can use tapply or aggregate but I
do not know if there is a way how to use function with several
(two) variable input (like weighted.mean).
I wrote a simple a function for factor