@@ -165,7 +165,7 @@ GeomLogticks <- ggproto("GeomLogticks", Geom,
165165
166166 names(xticks )[names(xticks ) == " value" ] <- x_name # Rename to 'x' for coordinates$transform
167167 xticks <- coord $ transform(xticks , panel_params )
168- xticks = xticks [xticks $ x < = 1 & xticks $ x > = 0 ,]
168+ xticks <- xticks [xticks $ x < = 1 & xticks $ x > = 0 ,]
169169
170170 if (outside )
171171 xticks $ end = - xticks $ end
@@ -203,7 +203,7 @@ GeomLogticks <- ggproto("GeomLogticks", Geom,
203203
204204 names(yticks )[names(yticks ) == " value" ] <- y_name # Rename to 'y' for coordinates$transform
205205 yticks <- coord $ transform(yticks , panel_params )
206- yticks = yticks [yticks $ y < = 1 & yticks $ y > = 0 ,]
206+ yticks <- yticks [yticks $ y < = 1 & yticks $ y > = 0 ,]
207207
208208 if (outside )
209209 yticks $ end = - yticks $ end
@@ -238,7 +238,7 @@ GeomLogticks <- ggproto("GeomLogticks", Geom,
238238# - start: on the other axis, start position of the line (usually 0)
239239# - end: on the other axis, end position of the line (for example, .1, .2, or .3)
240240calc_logticks <- function (base = 10 , ticks_per_base = base - 1 ,
241- minpow = 0 , maxpow = minpow + 1 , start = 0 , shortend = .1 , midend = .2 , longend = .3 ) {
241+ minpow = 0 , maxpow = minpow + 1 , start = 0 , shortend = 0 .1 , midend = 0 .2 , longend = 0 .3 ) {
242242
243243 # Number of blocks of tick marks
244244 reps <- maxpow - minpow
0 commit comments