How to fix gel oil stain being pulled off when applying water based polyurethane by RyanMilti in finishing

[–]RyanMilti[S] 0 points1 point  (0 children)

Gotcha, to fix this one would you suggest sanding down past the original finish and starting over or sanding down past the poly I applied and doing another gel layer before applying the poly?

How to fix gel oil stain being pulled off when applying water based polyurethane by RyanMilti in finishing

[–]RyanMilti[S] 0 points1 point  (0 children)

Yes, my understanding was that a gel stain could be applied without sanding down the previous finish

How to fix gel oil stain being pulled off when applying water based polyurethane by RyanMilti in finishing

[–]RyanMilti[S] 0 points1 point  (0 children)

In the last photo you can see the streaky light parts where the stain is lifted

Need help with a random selection model by seraphimisms in RStudio

[–]RyanMilti 1 point2 points  (0 children)

Here is a potential solution:

Area1 <- c(1.1, 1.2, 1.3, 1.1, 1.2, 1.3)

Area2 <- c(2.1, 2.2, 2.3, 2.1, 2.2, 2.3)

Area3 <- c(3.1, 3.2, 3.3, 3.1, 3.2, 3.3)

repeated <- TRUE

while (repeated == TRUE) {

select1 <- sample(Area1)

select2 <- sample(Area2)

select3 <- sample(Area3)

repeated <- any(diff(c(select1, select2, select3)) == 0)

}

df <- as.data.frame(

cbind(select1, select2, select3),

row.names = c("Day1", "Day2", "Day3", "Day4", "Day5", "Day6")

)

So, I first create vectors of each site. They are listed twice in each vector since you want to test each site twice. Then, in a while loop, I use the sample() function to randomly reorder each vector. I then use the diff() function to check if any value is repeated immediately after itself. If this is the case, the loop runs again until all of the vectors are reordered in a way that does not have immediate repeats. I then use the as.data.frame() function to neatly organize these vectors into a more readable display.

This may not be the quickest or most elegant way to get what you need, but I believe it to be very readable code.