Unpredictably; "the weather has been freakishly variable".
In a capricious manner; "there were Turk's head lilies and patches of iris, islands of brilliant blue set capriciously in the green sea".