search for: listofxv

Displaying 2 results from an estimated 2 matches for "listofxv".

Did you mean: listof
2005 Oct 13
1
Removing and restoring factor levels (TYPO CORRECTED)
Sorry, a typo in my previous message (parens in the wrong place in the conversion). Here it is corrected: I'm doing a big slow computation, and profiling shows that it is spending a lot of time in match(), apparently because I have code like x %in% listofxvals Both x and listofxvals are factors with the same levels, so I could probably speed this up by stripping off the levels and just treating them as integer vectors, then restoring the levels at the end. What is the safest way to do this? I am worried that at some point x and listofxvals will *no...
2005 Oct 13
0
Removing and restoring factor levels
I'm doing a big slow computation, and profiling shows that it is spending a lot of time in match(), apparently because I have code like x %in% listofxvals Both x and listofxvals are factors with the same levels, so I could probably speed this up by stripping off the levels and just treating them as integer vectors, then restoring the levels at the end. What is the safest way to do this? I am worried that at some point x and listofxvals will...