aiorazabala / qmethod

R package to analyse Q methodology data
GNU General Public License v2.0
34 stars 18 forks source link

give qmethod() "quietly = TRUE" option #237

Closed maxheld83 closed 9 years ago

maxheld83 commented 9 years ago

in case qmethod() is not used interactively, maybe, a quiet option where nothing is cat or printed would be nice.

Might make testing etc. easier.

(I've given all my plot functions this option, defaulting to quietly = FALSE).

I'm talking about this stuff here:

Q-method analysis.
Finished on:             Fri Aug 21 19:32:14 2015
Original data:           33 statements, 9 Q-sorts
Forced distribution:     TRUE
Number of factors:       3
Rotation:                varimax
Flagging:                automatic
Correlation coefficient: pearson

What do you think @aiorazabala ?

maxheld83 commented 9 years ago

hehe, I just found out that you must have been thinking something similiar @aiorazabala:

# Will this cat() fill the screen when applying bootstrap?

:)

Are you also thinking about bootstrapping in Q?

Might be interesting for factor retention #230 , but also other stuff.

maxheld83 commented 9 years ago

with automatic testing as per #89 enabled, this is now a priority, and I shall quickly add that option.

(other options to suppress output are clumsy, and invisible() only supresses print, not cat.)

maxheld83 commented 9 years ago

done. Also, here is an example how a new feature (even as small as this), should always carry it's own tests for #89